Ok command

'sudo dd if=/dev/sdb1 ibs=4096 conv=noerror | gzip -9 >
/img/filename.img.gz'

should copy the MBR as well, as I am not skipping (skip=x) any block
size.

All I have to test is use that image and restore it with command

'sudo dd if=/img/filename.img.gz | gunzip | sudo dd of=/dev/sda1'

It should then overwrite MBR on the cloned disk. I will test that and
see.


I am also contacting g4l developer to see if it does copy MBR when selecting 
the root partition from g4l menu.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/923070

Title:
  Cloning GRUB2/GRUB-legacy makes clone not bootable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/923070/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to