|
From: | Vladimir 'φ-coder/phcoder' Serbinenko |
Subject: | Re: Can GRUB do the equivalent of 'dd'? |
Date: | Tue, 29 Nov 2011 09:43:54 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 |
On 29.11.2011 08:09, Loving, Kent wrote:
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 caseI 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.
Kent Loving Kent Loving, 425-315-3043 _______________________________________________ Grub-devel mailing list address@hidden https://lists.gnu.org/mailman/listinfo/grub-devel
-- Regards Vladimir 'φ-coder/phcoder' Serbinenko
[Prev in Thread] | Current Thread | [Next in Thread] |