grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Backup old boot sectors before installation


From: Isaac Dupree
Subject: Re: [PATCH] Backup old boot sectors before installation
Date: Sun, 13 Dec 2009 21:58:21 -0500
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]