Greetings!
I want to create an identical backup-system from an opensuse-42.1.
The system is installed on a 500GB disk /dev/sda.
/dev/sda1 is mounted as /boot
/dev/sda2 is swap
/dev/sda3 is /
The backup medium is a 1TB-USB drive mounted on /mnt.
To backup the MBR I type
dd if=/dev/sda of=/mnt/mbr.img bs=512 count=1
To backup the system I type:
dd if=/dev/sda1 of=/mnt/sda1.img
dd if=/dev/sda3 of=/mnt/sda3.img
The target system also has a 500GB disk installed.
I boot ‘gparted’ from a life usb-stick, and the 1TB-USB drive is mounted on /mnt.
lsblk [FONT=arial]shows /dev/sda[/FONT]
To resotore MBR:
dd if =/mnt/mbr.img of=/dev/sda bs=512 count=1
After this and a refresch of gparted it shows the partitions:
/dev/sda1
/dev/sda2
/dev/sda3
Now I restore the system:
dd if=/mnt/sda1.img of=/dev/sda1
dd if=/mnt/sda3.img of=/dev/sda3
I also set the UUID of all 3 target partitions to the same value as on the source partitions.
Now I reboot the system and I see
GRUB
in the upper left corner of the screen and thats it.
The system does not boot.
Any hints what I’m missing?
Thanks for reading
Wolf