Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MnDjg-0002bm-Gm for mharc-grub-devel@gnu.org; Mon, 14 Sep 2009 11:45:00 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MnDjd-0002ax-IP for grub-devel@gnu.org; Mon, 14 Sep 2009 11:44:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MnDjY-0002aZ-Uu for grub-devel@gnu.org; Mon, 14 Sep 2009 11:44:57 -0400 Received: from [199.232.76.173] (port=51658 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MnDjY-0002aV-Ov for grub-devel@gnu.org; Mon, 14 Sep 2009 11:44:52 -0400 Received: from mail-pz0-f175.google.com ([209.85.222.175]:48379) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MnDjY-0006Wv-AX for grub-devel@gnu.org; Mon, 14 Sep 2009 11:44:52 -0400 Received: by pzk5 with SMTP id 5so2923329pzk.6 for ; Mon, 14 Sep 2009 08:44:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=RWVVNsa4Is7pZ+NlbtW/4aZsL4NW3J84dVcJ4SumnU4=; b=jiTTgE+cUEQrcTz21YsjhrOjVmQ/qFff1BFqBb58q1Tp6cAOonWrM+k2x7Td2D7pAO PJVKMEfyL1yYY7TXZFu654MrvCzRaYFzhQu3X6oaZQ7n1dy8BzUtrocHli74pnX0ejqF rm4Hs7WAbJTPu0xnYNfT7sCsnCb4v+bUekNZ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=vJxPIeH07JR7oqIXMvB2BKo6JjOU0XM3lBTOezJgr0iHzst9oB+RSsb1K+pz70wVLf TCOlyPhLpdm4Lb3hex4uK32/g82ro0cumJQy6yc/cUgz27/X4FohBVe2MLaj4Nws6Xd1 LuIyckxKQ1Jsc248wrRKv9GdaSvuWKlb+QIRw= MIME-Version: 1.0 Received: by 10.114.7.10 with SMTP id 10mr11637023wag.90.1252943089719; Mon, 14 Sep 2009 08:44:49 -0700 (PDT) In-Reply-To: <20090914153537.GB25403@thorin> References: <20090914153537.GB25403@thorin> Date: Mon, 14 Sep 2009 21:14:49 +0530 Message-ID: From: kashyap garimella To: The development of GRUB 2 Content-Type: multipart/alternative; boundary=0016e648afbac95a8b04738b8b25 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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: Mon, 14 Sep 2009 15:44:57 -0000 --0016e648afbac95a8b04738b8b25 Content-Type: text/plain; charset=ISO-8859-1 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. There is also a request for this feature http://savannah.gnu.org/bugs/?27058 Thank you, garimella kashyap -- > 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." > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > --0016e648afbac95a8b04738b8b25 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Mon, Sep 14, 2009 at 9:05 PM, Robert = Millan <rmh@aybabtu= .com> wrote:
On Sat, Sep 12, 2009 at 07:35:45PM +0530, kashyap garimel= la wrote:
> Greetings!
>
> I have added the following new features:
>
> 1) when grub-setup runs, it automatically stores the areas of (mbr + e= mbed)
> region, which are overwritten, into the file (in the following specifi= ed
> 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. =A0Use= rs would
still need dd(1) to restore those images, so if they know dd(1), why can= 9;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 leng= th of the core image.

There is also a request for this feature http://savannah.gnu.org/bugs/?27= 058

Thank you,
garimella kashyap

--
Robert Millan

=A0The DRM opt-in fallacy: "Your data belongs to us. We will decide w= hen (and
=A0how) you may access your data; but nobody's threatening your freedo= m: we
=A0still allow you to remove your data and not access it at all."


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

--0016e648afbac95a8b04738b8b25--