Things which must be accounted for: Is the drive in the same interface? If you are still in the SATA box trying to boot to USB the initrd will probably not have the drivers needed. Is the drive as large or larger than the old drive (you can clone the whole old drive to a larger one, you end up losing the remaining space unless you add a partition. Cloning first 512 bytes copies boot sector and partition table. Often I delete and recreate the last partition afterwards to fill the remaining storage space, then copy the contents using "cp -a /{olddiskmountpoint}/* /{newdiskmountpoint}/" in rescue mode. Have you corrected the disk ID in /boot/grub/device.map, /etc/fstab, and /boot/grub/menu.lst, if any are specified using /dev/disk/by-id/ instead of devices like /dev/sda1 etc? -----Original Message----- From: Per Jessen [mailto:per@opensuse.org] Sent: Thursday, December 30, 2010 10:11 AM To: opensuse@opensuse.org Subject: Re: [opensuse] booting from a duplicated hard disk Sampsa Riikonen wrote:
Dear List,
I have duplicated my hard disk using "dd", including the boot partition to another hard disk (a sata drive in a usb box). Now I am trying to boot from this duplicated disk, but nothing happens.. grub does not start at all.
Hi Sampsa using dd for copying a harddisk assumes source and target are the same, which I am guessing yours are not. You might fare better by copying across the contents of the filesystem(s), e.g. using rsync, and (re-)preparing the target drive for booting. -- Per Jessen, Zürich (0.0°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org