From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MqBGg-0000vO-5Z for mharc-grub-devel@gnu.org; Tue, 22 Sep 2009 15:43:18 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MqBGe-0000tg-B2 for grub-devel@gnu.org; Tue, 22 Sep 2009 15:43:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MqBGZ-0000oG-A9 for grub-devel@gnu.org; Tue, 22 Sep 2009 15:43:15 -0400 Received: from [199.232.76.173] (port=36354 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqBGY-0000nz-VW for grub-devel@gnu.org; Tue, 22 Sep 2009 15:43:11 -0400 Received: from mail-ew0-f208.google.com ([209.85.219.208]:58883) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MqBGY-0004la-LE for grub-devel@gnu.org; Tue, 22 Sep 2009 15:43:10 -0400 Received: by ewy4 with SMTP id 4so59491ewy.31 for ; Tue, 22 Sep 2009 12:43:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=Wgvsn9U4Wk8nhHPxzJ3mNSyoA+5KCfGWnJSaDI5ZVlQ=; b=T5833LQXlQkjwGG3FvG6RuVnjGVe66NpYbuvA8+WSVVMRpCeMudDs0827nvPkxETzA +b3HgXJUSG0Jjs2FhFwSVhuKlGvE8FhtnagpH6Z35EWpZDaBpP9TdqQuhWdw+E9JnopI HqukAh5SHM1UXBgBCap1dKN9MEW/CCNxhHNfM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=dGLqoIsjitW2QA+28ldAJAmiICYPjV37rqafmB1HVR2S1d+UEZ1JInX9Ptz7JyrfTE HJr7CcXVaYS3K9/Cqizg/ZTJ7c/juIN1wbdhKp8I+CVJIX8y6sp8vVDsNhMaDTHXfvmg H1h65VD/Dw66QmVUfeRFavszX3LDJ+SaXMbqk= Received: by 10.210.160.12 with SMTP id i12mr1447182ebe.9.1253648588463; Tue, 22 Sep 2009 12:43:08 -0700 (PDT) Received: from ?192.168.11.32? ([88.193.147.196]) by mx.google.com with ESMTPS id 5sm627470eyh.9.2009.09.22.12.43.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 22 Sep 2009 12:43:07 -0700 (PDT) Message-ID: <4AB928C9.3070907@gmail.com> Date: Tue, 22 Sep 2009 22:43:05 +0300 From: Lars Nooden User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: The development of GRUB 2 References: <4AB91FB8.7000107@gmail.com> In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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:43:16 -0000 James Courtier-Dutton wrote: > 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. dd plus as shell script fit nicely in busybox -Lars