Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MqAwi-0007le-Cq for mharc-grub-devel@gnu.org; Tue, 22 Sep 2009 15:22:40 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MqAwg-0007kq-1p for grub-devel@gnu.org; Tue, 22 Sep 2009 15:22:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MqAwf-0007kR-Cd for grub-devel@gnu.org; Tue, 22 Sep 2009 15:22:37 -0400 Received: from [199.232.76.173] (port=57769 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqAwf-0007kM-6E for grub-devel@gnu.org; Tue, 22 Sep 2009 15:22:37 -0400 Received: from fg-out-1718.google.com ([72.14.220.152]:64584) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MqAwe-0001K4-TJ for grub-devel@gnu.org; Tue, 22 Sep 2009 15:22:37 -0400 Received: by fg-out-1718.google.com with SMTP id e21so1142949fga.12 for ; Tue, 22 Sep 2009 12:22:35 -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=I+39m9h+qRvGOyYlBTbu2X2aDaY6Nd3LAlIZQQcAwW4=; b=I9SnOjbOPQ5A78NdYQZqjQV89gB1d5vrLHSbh8wTKE2GTksxHriLB6pb+/tDb6m3NO lLipUMT3j6K/ll0PZ5sWx6ZhQgw3RBWOS2FzGdfr9L8GOOm0AExLqE729CTpXSIAvq+A IiKSglyvr6K1xfCcyy7rJp0bOP1VBbswSUMLk= 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=GipqU5Y6Hb76XcJ0NMFKqEMiAT4fM1D0uGBnP1vzhXjJYojeDSObmNVu1OGxjtAUVf TM0LiTPeaxnFL8F78jrdeCo5Tt+8xFEi+GvvtmtaPClZofIGnjE5KoGdXOlCRPetdvK8 +Srg+Bszku7Prh81sS+MN/fjKdsHxFyArEkzg= MIME-Version: 1.0 Received: by 10.86.222.15 with SMTP id u15mr1226147fgg.33.1253647355691; Tue, 22 Sep 2009 12:22:35 -0700 (PDT) In-Reply-To: <4AB91FB8.7000107@gmail.com> References: <4AB91FB8.7000107@gmail.com> Date: Tue, 22 Sep 2009 20:22:35 +0100 Message-ID: From: James Courtier-Dutton To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: 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: Tue, 22 Sep 2009 19:22:38 -0000 2009/9/22 Lars Nooden : > James Courtier-Dutton wrote: >> I think this would be a good feature, because if nothing else, I >> permits the user to "uninstall grub" if they so wish. > > I would disagree with the use case described, but agree that having the > ability to roll back to the previous boot record could possibly be of > value. > > -Lars > So, if one did a dd backup of the boot sector and the embedded area before the first partition, is there a tool that can replace those sectors but do it safely. E.g. Only replace the number of sectors that fit before the first partition, and preserve the current partition table, and not use the partition table from the dd backup.