System is not after importing DD backup iso booting

Viewed 16

Am using OpenSuSe server and looking for system running remote backup.. (just files) for now am training on VM.

First i used fdisk -l | grep /dev/ to see the disk.. there is sda : 8G ..

/dev/sda1 8M BIOS boot

/dev/sda2 8G Linux filesystem

Then i used DD to copy my files remotely

ssh 192.168.98.16 dd if=/dev/sda | dd of=/backup/image.img status=progress

Then i made some changes to see if the backup is working :) then used:

dd if=/backup/image.img | ssh 192.168.98.16 dd of=/dev/sda

then reboot restored system. Then i got boot error.. (I end up in grub rescue..)

error: file ´/boot/grub2/i386-pc´ not found.

error: file ´/boot/grub2/i386-pc/normal.mod´ not found

I tried image of /dev/sda2 too but with same error. Is there some way to do it or i have to use something different.

0 Answers
Related