On 30/07/2019 08:57, Roger Oberholtzer wrote:
I have a user (openSUSE 12.3 - I know...) that wants to clone the root disk. In fact, long ago, they did this. But apparently both they and I have forgotten exactly what we did...
The disk copy went ok. dd the entire thing from one disk to another of the same type.
We always mount by_id since there may be multiple disks. So, after the dd, one needs to mount the new disk and edit /etc/fstab with the new disk's ID. This has been done. The boot seems to then be looking for the correct disk.
However, the boot does not happen. It just hangs. The kernel command line is the only thing printed.
I do not have the disk in my possession (it's on a different continent). So, before I tell them to send it to me, I just want to be sure that I have not missed another step. Could there be a need to remake the initial ram disk? Is the disk id in there as well?
If one has to do mkinitrd, how can one do that on a mounted disk (not the system's root disk)?
Or maybe it is something else?
Cloning a disk results in it having the same UUID, you need to use the file system's utility to generate a new UUID if you are using it on the same computer. Regards Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org