Here's a hypothetical situation that some may find themselves in, and that
I'm curious about.
I have a pure linux setup on my system. I have some free, unpartitioned,
space on the hard drive and want to install Windows for whatever reason (I
can't think of one at the moment). I know from past experience that any
Windows install will wipe out the current master boot record (MBR).
Obviously I'll want to be able dual-boot into both Windows and linux. Let us
say that I use dd to create a backup image of my current (lilo) MBR, like
so:
dd if=/dev/hda of=/mnt/floppy/backup.mbr bs=512 count=1
This will create a 512 byte MBR image on my floppy disk. I go ahead and
install Windows, thereby losing my lilo MBR. After getting Windows setup and
working, I use rawrite to write the MBR image on my floppy back to the hard
disk.
My question is this: Will this work?
Thanks in advance,
Colin G.