My next task was to manipulate the MBR so that LILO would give me a choice
between booting up Linux or Windows. Nervous? Darn right.
I knew I'd always be able to boot up Linux since I had that floppy.
But I wasn't so sure about Windoze.
Remember that the MBR was no longer the one that Linux had written.
Windows had written its own. I intend to re-write it again with
/sbin/lilo What if I screw up? Yes, I'll still be able
to boot up Linux, but I won't be able to boot up Windows.
So I gave myself some insurance and made a copy of the MBR.
dd if=/dev/hda of=insurance.mbr bs=512 count=1
If I somehow screw up the MBR and can't access Windows, I know that I
can boot up Linux with the floppy. Then, all I'd have to do is to reverse the
dd process:
dd of=/dev/hda if=insurance.mbr bs=512 count=1
I editted /etc/lilo.conf putting in another stanza.
other=/dev/hda1
label=Windoze
and wrote the MBR using /sbin/lilo
... and now things are well in the MBR