replace disk on which ubuntu 8.04 resides.

Asked by tombo

Hello, I have ubuntu 8.04 installed and all is fine with the software, my sda however is on the verge of failure. It makes a horrible noise for about the first 5 minutes or so. My question is how do I make copies of the software installed and user settings so when I replace the drive I can just reinstall everything in one evening instead of over the next 3 months. Ive got a couple books dealing with ubuntu but the only thing I found that really applies to this situation is clone an installation. I copied the command exactly but it gave complaints about awk. anyway the book doesn't get into detail it just gives one example. ( $ sudo dpkg --get-selections | grep '[[:space:]]install$' | \ awk '{print $1}' > package_list ), that is the command from the book Ubuntu Hacks excluding the parenthesis. Thanks! tombo.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
nhasian
Solved:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

I used to not reinstall nothing when i change a disk with an installed Ubuntu on it and i think you don't need to reinstall nothing...;-)

Simply add the new disk make a copy of the old disk to new disk using the dd utility booting your pc from live cd.

Hope this helps

Revision history for this message
Best nhasian (nhasian) said :
#2
Revision history for this message
tombo (tombo465) said :
#3

Thanks nhasian, that solved my question.

Revision history for this message
tombo (tombo465) said :
#4

Hey thanks marcobra and nhasian. I went to the web address that nhasian recommended and bookmarked it immediately , it's exactly what I was looking for. thank you both Much!