[PATCH V3] Backup old boot sectors before installation

2010-01-07 Thread Zhu Yi
Make grub-setup backup the old boot sectors into a file (bootsectors.bak) before overwriting it. The backup image starts from the MBR to the end of core.img position (including embed regions). This makes it possible for a user to later restore it. A new option -o|--restore (with optional argument)

[RESEND PATCH V3] Backup old boot sectors before installation

2010-02-24 Thread Zhu Yi
Make grub-setup backup the old boot sectors into a file (bootsectors.bak) before overwriting it. The backup image starts from the MBR to the end of core.img position (including embed regions). This makes it possible for a user to later restore it. A new option -o|--restore (with optional argument)