[plug] Partimage boot disk or cd
Leon Brooks
leon at brooks.fdns.net
Tue Oct 14 07:28:17 WST 2003
On Mon, 13 Oct 2003 23:19, Chris Caston wrote:
> I have a created a partimage file of a fat32 partition. I wish to
> create a boot disk or CD that will allow me to restore this image to
> a clean harddrive.
> What is the best way to do this?
If you had been talking about a Linux distribution, I would say use
Mindi on whatever you're running. Mandrake 9.1 and later come with
their own live-CD making script.
> Getting partimage and the image (to restore) on the same bootable CD
> would rock if of course it is possible.
Trivial. Get a small Linux distro and write that into the "floppy" boot
area of a CD, put the ISO image onto the CD as raw data (not a file),
then have the boot script end with a "partimage -f 2 restore /dev/hda
/dev/hdX" (you might have to parse dmesg to find out what X the CDROM
is on if it isn't pre-determined, and you might want to do the same to
make sure the boot drive is on hda if that ain't necessarily so).
Cheers; Leon
_______________________________________________
plug mailing list
plug at plug.linux.org.au
http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug
More information about the plug
mailing list