sda hda clone nightmare!
Hi all,
We have a problem trying to boot a Linux RAM image (PING Release 3.00.04, with kernel 2.6.33.2.) from both IDE and SATA hard drives. The Linux image is on the 2nd partition of the drives and the PING program restores the 1st partition. We need this setup to be able to boot on IDE (hda2) and SATA (sda2) drives without changing any config files etc. Is this possible?? Many thanks |
Quote:
|
I don't know anything about Ping, but I run numerous distributions on a hybrid (EIDE/SATA) system with no problems. GRUB can do it all.
|
:PING can copy a partition or a drive.
If you make a partition then restore the original to sda2 then all you'd need is grub or another loader to load the OS. |
more info
1 Attachment(s)
OK, forget I mentioned PING ;), the problem is with booting the system after transferring it to a different hard drive (eg. IDE > SATA)
Is there a way to configure LILO to "sense" the correct boot device or is there an alternative that can do the job? For the record, altering files AFTER cloning is not an option for us. Cheers PS. I've attached a mock up of the system if that helps describing it! :) |
I think the problem is how the drives are being described for your loader. What loader are you using? Lilo?
|
LILO is a bit behind the times. You'd be better off using GRUB and using UUID numbers to boot the drives/partitions.
|
Quote:
It seems I've got this working now by cloning the drives sector-by-sector :banghead: which takes forever! I'll mark this thread solved. Cheers |
I can't remember command to get uuid, but there is 1.
Also I believe that grub2 detects and updates them upon installation, atleast in debian. |
To determine drive/partition UUIDs for all installed drives on your system:
Code:
ls -l /dev/disk/by-uuid |
Originally posted by; vtel57
Quote:
Quote:
|
Glad to be of help, Eddy.
Have a great weekend. :) ~Eric |
All times are GMT -5. The time now is 05:42 AM. |