You are not logged in.

#1 2008-10-02 02:12:57

chancho
Member
From: Hong Kong
Registered: 2006-07-14
Posts: 114

moving to new hard disk

i want to move (clone) my system to a new and bigger hard disk. there are two questions i want to ask.
1) which program is the best for this job ?
2) how can i update the entry in menu.lst for the new hard disk (by-uuid) ?

Offline

#2 2008-10-02 05:02:20

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: moving to new hard disk

There's several way to do this... A couple being:
Using dd
1. Boot to LiveCD
2. dd if=/dev/old_hdd of=/dev/new_hdd
3. Manually update menu.lst to new entries

Use Clonezilla
1. Download and boot Clonezilla Live http://www.clonezilla.org/download/sourceforge/
2. Boot the Clonezilla CD and follow the prompts.
3. Manually edit menu.lst to ne entries

I would suggest the Clonezilla route. I used it successfully to migrate from my old laptop (which I had to hand back to my employer when I resigned) to my new laptop with very minimal issue. Sometimes I forget that it's a different laptop!

Offline

#3 2008-10-02 14:41:56

Jack B
Member
Registered: 2006-06-27
Posts: 107
Website

Re: moving to new hard disk

er.... Don't use dd!!!!
If you use dd to copy a whole drive to another, with different geometry, it will almost certainly break your partition table.

The simplest, and IMO best way is to just copy all the files across using cp -a on a live disk.  Boot a live disk, mount both drives and cp -a /mount/old/drive /mount/new/drive.

HTH
Jack

Offline

#4 2008-10-02 15:11:50

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: moving to new hard disk

I agree. cp -a is a more versatile way to achieve what you are trying to do, especially if you are using 2 different hard drives. dd will work just fine on hard drives of identical specs, though.

Offline

Board footer

Powered by FluxBB