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: Robert Millan
Subject: Re: [PATCH] Backup old boot sectors before installation
Date: Thu, 24 Dec 2009 22:21:19 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Fri, Dec 11, 2009 at 05:26:01PM +0800, Zhu Yi wrote:
> Add a feature to backup the old boot sectors before overwritting
> them with grub2 boot and core images. Users can later recover the
> previous boot sectors with grub-install --recover option.
> 
> P.S. I found this might be a useful feature after I overwrote my
> second PGP encrypted hard disk (Windows XP installed) boot sectors
> by grub2 by mistake.

I think making a backup is a fine idea, but I'd rather avoid the "option
creep".  It doesn't hurt to simply dump the files in /boot/grub/.  If user
later discovers that valuable data was overwritten, she can figure out
how to call dd just as she can figure out the right parameters for
grub-install.

-- 
Robert Millan

  "Be the change you want to see in the world" -- Gandhi




reply via email to

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