Re: LILO - NT and Linux

Andrew Vanderstock (ajv@greebo.svhm.org.au)
Sun, 30 Mar 1997 01:16:46 +1000


If you have a FAT C:\ (ie if you have 95 installed on C: like I do, or you
have an ARC compliant RISC box running NT) you can use NT's boot manager:

here's the boot.ini: (let NT do the multi(... stuff for you unless you know
what you're doing)

[boot loader]
timeout=10
default=multi(0)disk(0)rdisk(1)partition(1)\WINNT40
[operating systems]
multi(0)disk(0)rdisk(1)partition(1)\WINNT40="Windows NT Workstation Version
4.00"
multi(0)disk(0)rdisk(1)partition(1)\WINNT40="Windows NT Workstation Version
4.00 [VGA mode]" /basevideo /sos
c:\bootsect.lnx="Linux"
C:\ = "Microsoft Windows"

When I install lilo, I get it to install onto a floppy. It writes a single
sector, and I dd that sector onto a file like this:

dd if=/dev/hda of=/c/bootsect.lnx bs=512 count=1

Works for me. I still have lilo (second), and everything works just fine.
I've done this for NT 3.51, and NT 4.0, with Win95 and various Linux
distributions (RH 3.0.3, Slackware 96). I've never used DOS 6.22 on my home
machine, but I'd assume it would work.

The order of installation for for a fresh machine is:

Windows 95 (or not... the main thing is a small FAT first partition :-)
Windows NT (it automatically knows about 95 and puts the last line in)
Linux

You may need to repair Windows NT to fix the MBR if you install lilo to
anywhere but the floppy.

--
"Hate is not a family value" - bumper sticker
Andrew Vanderstock (ajv@greebo.svhm.org.au)