All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lars Nooden <lars.curator@gmail.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Save boot record before writing to the dest_drive
Date: Tue, 22 Sep 2009 22:43:05 +0300	[thread overview]
Message-ID: <4AB928C9.3070907@gmail.com> (raw)
In-Reply-To: <ad2655cb0909221222x4db1897fgfa6bb8dace6d74@mail.gmail.com>

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



  reply	other threads:[~2009-09-22 19:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-22 18:57 Save boot record before writing to the dest_drive James Courtier-Dutton
2009-09-22 19:04 ` Lars Nooden
2009-09-22 19:22   ` James Courtier-Dutton
2009-09-22 19:43     ` Lars Nooden [this message]
2009-09-23  2:08     ` kashyap garimella
2009-09-24 12:17       ` Robert Millan
2009-09-24 12:06 ` Robert Millan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AB928C9.3070907@gmail.com \
    --to=lars.curator@gmail.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.