Need automatic MBR backup before installation
Bug #633064 reported by
YannUbuntu
This bug affects 13 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub |
New
|
Undecided
|
Unassigned | ||
ubiquity (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ubiquity
By default, Ubuntu installs GRUB on the MBR without creating backup of the original MBR.
This can cause many kinds of boot problems, especially if the MBR was "watermarked" (consequence can be : the computer cannot start, or the OEM windows in dual-boot cannot start).
As the MBR is very small (only 512 byte), it would cost nothing to save it automatically before installing GRUB. Then people who care about it could save it on external device.
Target location of this backup should be determined (e.g. Lilo automatically saves it in /boot ).
To post a comment you must log in.
After discussion on the ubuntu-fr forum (http:// forum.ubuntu- fr.org/ viewtopic. php?pid= 3715670), it seems that the first 404 bytes of the original MBR are automatically saved in /usr/lib/ syslinux/ mbr.bin .
Can someone confirm ?
(If yes, the MBR can be restored (without the partition table) by the following command : $USER/mbr_ linux.bin bs=404 count=1
sudo dd if=/dev/sda of=/home/