Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Mp7Ct-0005qm-85 for mharc-grub-devel@gnu.org; Sat, 19 Sep 2009 17:10:59 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mp7Cr-0005pl-1M for grub-devel@gnu.org; Sat, 19 Sep 2009 17:10:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mp7Cm-0005oJ-6C for grub-devel@gnu.org; Sat, 19 Sep 2009 17:10:56 -0400 Received: from [199.232.76.173] (port=41790 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mp7Cm-0005oE-17 for grub-devel@gnu.org; Sat, 19 Sep 2009 17:10:52 -0400 Received: from xvm-190-8.ghst.net ([217.70.190.8]:35952 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 1Mp7Cl-0007Rz-Jw for grub-devel@gnu.org; Sat, 19 Sep 2009 17:10:51 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1Mp7Ck-00038K-4z for grub-devel@gnu.org; Sat, 19 Sep 2009 23:10:50 +0200 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1Mp7Cj-0004EN-Dh for grub-devel@gnu.org; Sat, 19 Sep 2009 23:10:49 +0200 Date: Sat, 19 Sep 2009 23:10:49 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090919211049.GB16223@thorin> References: <20090914153537.GB25403@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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) Subject: Re: [PATCH]: Save boot record before writing to the dest_drive X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Sep 2009 21:10:57 -0000 On Mon, Sep 14, 2009 at 09:14:49PM +0530, kashyap garimella wrote: > On Mon, Sep 14, 2009 at 9:05 PM, Robert Millan wrote: > > > On Sat, Sep 12, 2009 at 07:35:45PM +0530, kashyap garimella wrote: > > > Greetings! > > > > > > I have added the following new features: > > > > > > 1) when grub-setup runs, it automatically stores the areas of (mbr + > > embed) > > > region, which are overwritten, into the file (in the following specified > > > format) in root directory. > > > > > > 2) grub-setup can restore the stored mbr in the following format back to > > > destination drive: > > > > Thanks for your interest, but I really think this is overkill. Users would > > still need dd(1) to restore those images, so if they know dd(1), why can't > > they just use that to back them up in first place? > > > Sir, > > I also added a restore option (grub-setup --restore dest_drive). A dd needs > to be done explicitly. But with this patch, it will (by default) store the > mbr and the areas in embed region ( which are written by grub ). And with > the backup file, you can restore > from a live cd also. The backup file contains the start sector and the > length of the core image. I'm sorry, but I really see very limited usefulness in this. It's only potentially useful to expert users, but those should know how to backup sectors in their disk already. But if others reading this think differently, please let it be known... -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."