[plug] copy old hdd to new hdd (Successful)

Tim White weirdo at tigris.org
Tue Dec 16 23:06:46 WST 2003


Just a recap on how i did it for those who need it later.
I used a Knoppix boot cd with the 2 drives as masters on separate ide 
busses, DMA was turned off as the faulty drive had DMA probs.
I used sfdisk to get the current partition table and piped it to sfdisk on 
the new hdd.
i then dd each individual partition across and the first 512 bytes of the 
hdd (MBA)
dd if=/dev/hda of=/dev/hdc bs=512 count=1
dd if=/dev/hda1 of=/dev/hdc1
dd if=/dev/hda2 of=/dev/hdc2
... repeat for all partitions

So thats my story
Tim

weirdo AT tigris DOT org (MSN Enabled) | ICQ# 255176389 | Riverton, Perth, WA




More information about the plug mailing list