grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: Can GRUB do the equivalent of 'dd'?
Date: Tue, 29 Nov 2011 09:43:54 +0100	[thread overview]
Message-ID: <4ED49B4A.7010904@gmail.com> (raw)
In-Reply-To: <CDEDD3F85588BD4DA6850F876161950B4C7C42122B@XCH-NW-08V.nw.nos.boeing.com>

On 29.11.2011 08:09, Loving, Kent wrote:
> I was wondering if GRUB can ‘install’ an image using dd before it is booted.
>
> The image will be in file, previously created by the dd command, and stored in a partition that is not the first partition. GRUB would have to execute an equivalent of ‘dd’ to dump the image from the file to the first partition and then boot it. To keep this from being too easy, the image is windows XP, and the image file is on an NTFS partition.
>
> The goal is to allow a ‘snapshot’ of a working OS to be saved and then allow a return to that snapshot later.
This is currently not implemented other than in my local experiments. In 
your case you're better off booting a small GNU/Linux to do the 
operations. GRUB is not designed to handle writing a whole partition. 
While it is able to do so (otherwise it would be a bug), it doesn't use 
some of available acceleration so GNU/Linux is faster on writing data. 
The overhead of booting GNU/Linux is small compared to the time needed 
to copy over the image.
Note: I haven't done any benchmarks so this isn't confirmed. but 
probably is the case
>
> Kent Loving
>
> Kent Loving, 425-315-3043
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko



      reply	other threads:[~2011-11-29  8:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-29  7:09 Can GRUB do the equivalent of 'dd'? Loving, Kent
2011-11-29  8:43 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]

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=4ED49B4A.7010904@gmail.com \
    --to=phcoder@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).