On 2010/12/31 09:59 (GMT+0100) Per Jessen composed:
Sampsa Riikonen wrote:
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.
True - personally I don't use dd for copying drives unless I have a specific need for that. Copying filesystems with tar or rsync is easier and less hassle - I do it fairly frequently to clone systems (that almost never have the same drives).
Apparently your definition of "clone" doesn't match the true meaning of the word. Sampsa used dd, which makes a true clone of the whole device, Grub, device label, UUID & all. Copying filesystems with rsync or tar is never true cloning, as they are file-based copy programs, not bit/sector by bit/sector copiers. OTOH, a true clone from one device type (HD) to another (USB stick, or HD attached via USB) would only in a very unusual case be expected to actually boot without first accounting for device type differences and implementing required customizations/reinstallation in/of initrd, fstab &/or Grub, or removing the HD from its USB enclosure and attaching it natively. Only yesterday I was vexed for quite some time by an apparent partition to partition clone failure, until I realized I had only adapted UUID, label, menu.lst and fstab, while Grub on the clone was still pointing to the source partition. Two lines typed from a Grub prompt, and all was well with the former clone. To expect a true clone (e.g. via dd) of a HD to work without any modifications to the target, the usual case requires that the original be entirely deinstalled, and the clone installed in its place. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org