Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

Changing hard drives

  Date: Jan 04    Category: Unix / Linux / Ubuntu    Views: 367
  

My setup now has 1 SATA drive with XP and 1 IDE drive with 2
partitions, Feisty Fawn on hdc1 & Dapper Drake on hdc2. I need the
IDE drive for an older computer. I have a new SATA drive to replace
the IDE drive. I have room & connections for all 3 drives in my box.
Is their away to copy both Ubuntu OS's to the new hard?

Share: 

 

3 Answers Found

 
Answer #1    Answered On: Jan 04    

Yes, boot with a LiveCD and use "dd" or "dd_rescue" to copy the IDE drive
image to the new SATA drive.

if old ide drive is /dev/hdc and new SATA is /dev/sdb then:

dd if=/dev/hdc of=/dev/sdb

Note: neither drive should be mounted.

"dd_rescue" will check for bad sectors and adj accordingly.

see: dd --help or rescue_dd --help

 
Answer #2    Answered On: Jan 04    

I believe I successfully copied the drive. I hit "e" when I rebooted
and changed hd1,0 to hd2,0 and booted just fine.

I'm going to remove the IDE drive. Will I need to edit the boot menu
or will hd2,0 become hd1,0 after disconnecting the old drive?

 
Answer #3    Answered On: Jan 04    

You could probably ghost them scross but I would partition and load each
bistro afresh.

 
Didn't find what you were looking for? Find more on Changing hard drives Or get search suggestion and latest updates.




Tagged: