Zhu Yi wrote:
3. The backup policy.

Garimella's patch backups every time before grub-setup overwrote the
boot sectors. There might be a problem when someone run
grub-setup/grub-install twice. So the backup image ends up with the
grub2 boot sectors. This makes the recovery for the "real" boot sectors
impossible. My patch won't overwrite if a previous backup image already
existed. grub-install will remove the backup image after a successful
recovery.

maybe the boot sector is small enough that we could just keep separate additional backup files each time grub-setup/grub-install is used? e.g.
backup-1
backup-2
backup-3

or maybe using date/time instead of sequential numbering would be nicer.

-Isaac


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to