Zhang Weiwu wrote:
[...]

For creating a compressed version of the partition, try passing it through gzip or such between dd and the output file; something like

# dd if=/dev/(win98) bs=512 | gzip -9 > win98.gz

would probably do the trick. To create an ISO image containing the file, you want mkisofs (included in cdrtools afaik):

# mkdir win98
# mv win98.gz win98/
# mkisofs -o win98.iso win98/

From there, it's standard cdrecord procedure. To restore the partition later, simply boot to Linux and:

# mount /mnt/cdrom
# zcat /mnt/cdrom/win98.gz | dd of=/dev/(win98)

If even gzip -9 can't get the partition small enough for you, I'm not sure what to do. Try using DBAN (dban.sourceforge.net) to cover the partition in zeroes before doing the Windows install; the repeated zeroes in the unused space will probably help reduce the compressed file size.

HTH.
--
[email protected] mailing list

Reply via email to