Roger Oberholtzer composed on 2019-08-01 08:19 (UTC+0200):
The missing bits have been re-discovered. To copy a disk that boots with grub (e.g., openSUSE 12.3) using the disk/by-id of the disk:
1. dd the old to the new. Using the same size disk and copying the entire thing is what I did.
2. Edit three files, updating the old disk/by-id to the new disk's manufacturer id:
/etc/fstab /boot/grub device.map /boot grub menu.lst
In a world overcome by Grub2 and UEFI, these remain a quite simple adjustment to make for the few of us still using what ain't broke in our personal contexts. :-D
It was the last two files that I had forgotten...
As my cloning is more often partitions rather than whole disks, from one area on a disk to another on the same disk, there is for me usually a fourth task quite simply done in Grub but not so in Grub2: # grub
find /boot/grub/stage1 # verify target location ready root (hdX,Y) # grub setup phase one setup (hdX,y) # install it quit #
We are lucky openSUSE continues to offer this convenience rarely available elsewhere. :-) -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org