Comment 7 for bug 923070

Revision history for this message
Francis Lamonde (frankebay99) wrote :

By root partition I mean the whole partition from sector 1, which includes MBR.

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

is supposed to copy MBR as well, unless I made a mistake in my command? That is possible, I will re-verify, Phil.
Listen, I will retry that above command and see what it does, unless you tell me right away it's wrong.

Hey wait... you know what? I think I did not use the above command yet in my tests, I did it on the same disk, backup and restore on the same disk, but I used g4l to restore to the OTHER disk, the cloned one.
And in g4l I am cloning sdb1 to sda1, not sdb to sda so it "probably" does not copy the MBR ( have to check that assumption).

Now you mention about this, it makes me think... since I do restores on the cleanly installed Kubuntu, grub2 is already there, therefore if I don't copy and restore the MBR, it doesn't change anything cuz the MBR already has grub2 in it. That would make sense. I think that might be the problem, I have to check a few things and do a couple more tests.

I'll be back, tnx for pointing this out.