On Jul 20, 2007, at 10:08 AM, Menachem Shapiro wrote:
I remember reading somewhere that someone did this with Mondo Rescue (http://www.mondorescue.org/). I can't find it online now, but the guy did something similar. If I remember correctly, it was in a corporate environment, and he created a small partition at the end of the drive, where he stored the Windows image (created by Mondo Rescue). Then he had it setup where you booted into the partition and the restore ran, making it easy for the technically challenged to use.
Essentially, what you need to do is write two scripts: One that images the Windows partition and stores it on the "restore" partition, and one that writes the last saved image to the Windows partition. You'd then do the equivalent of making three grub boot menu entries:
* Boot Windows (default w/ timeout, I guess) * Back Up Windows * Restore Windows From BackupBoth the Back Up and Restore options would essentially be normal Grub kernel stanzas, but with:
init=/path/to/your/backup/script
or:
init=/path/to/your/restore/script
as an argument to the kernel. Your script will be the ONLY thing
running, at that point, but that's probably what you want anyway.
You cold also add a fourth grub boot menu option that starts up the
linux system "normally" if you wanted to poke around and debug stuff,
but that's up to you.
Personally, I'd put at least one "This is what's going to happen, are you really sure?" question in the "Restore Windows From Backup" option, just to prevent fat/fast fingers from blowing away a couple weeks of work without at least a little forebrain involvement.
If Mondo Rescue enables you to build this with minimal effort, I'd love to hear about it.
I should do this for my wife's Windows PC when I get around to replacing that noisy 30GB HD that's in it.
Gregory -- Gregory K. Ruiz-Ade <[EMAIL PROTECTED]> OpenPGP Key ID: EAF4844B keyserver: pgpkeys.mit.edu
PGP.sig
Description: This is a digitally signed message part
-- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
