From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NNv7k-0006fu-EX for mharc-grub-devel@gnu.org; Thu, 24 Dec 2009 16:21:32 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NNv7i-0006cw-KT for grub-devel@gnu.org; Thu, 24 Dec 2009 16:21:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NNv7d-0006TT-Sl for grub-devel@gnu.org; Thu, 24 Dec 2009 16:21:30 -0500 Received: from [199.232.76.173] (port=34257 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NNv7d-0006T0-GR for grub-devel@gnu.org; Thu, 24 Dec 2009 16:21:25 -0500 Received: from xvm-190-8.ghst.net ([217.70.190.8]:45726 helo=aybabtu.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NNv7d-0002MK-7W for grub-devel@gnu.org; Thu, 24 Dec 2009 16:21:25 -0500 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1NNv7Y-0008TU-7O; Thu, 24 Dec 2009 22:21:20 +0100 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1NNv7X-0003DF-Lf; Thu, 24 Dec 2009 22:21:19 +0100 Date: Thu, 24 Dec 2009 22:21:19 +0100 From: Robert Millan To: The development of GNU GRUB Message-ID: <20091224212119.GI12122@thorin> References: <1260523561-19086-1-git-send-email-yi.zhu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1260523561-19086-1-git-send-email-yi.zhu@intel.com> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: Zhu Yi Subject: Re: [PATCH] Backup old boot sectors before installation X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2009 21:21:31 -0000 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