To accomplish this, you need to provide the NT loader with a copy of the
Linux boot sector. Here's how you do that on a computer running
Windows NT with an NTFS filesystem (note that Windows NT should
be installed on your system already). See the NT OS Loader+Linux mini-HOWTO
for more information and other alternatives.
You should have a Linux boot
floppy available so that, if necessary, you can boot Linux before the
NT boot loader has been modified. You also should have
a DOS-formatted floppy to transfer the boot sector to the Windows NT
partition. If LILO is already installed, you may need to modify
/etc/lilo.conf as described later. Otherwise,
you'll either install
LILO as part of the Linux installation, or you can install it with
the QuickInst script that comes with LILO. Once LILO
is installed,
and you have a configuration file, you can set up the system for dual booting.
Note that the following instructions assume your Linux partition is on
/dev/hda2. If Linux is on another partition, be
sure to replace /dev/hda2 in the
following examples with the correct partition.
OS Loader V4.00
Please select the operating system to start:
Windows NT Workstation Version 4.00
Windows NT Workstation Version 4.00 [VGA mode]
Linux
Select Linux, and the NT loader reads the Linux boot sector and
transfers control to LILO, on the Linux partition.
If you later modify /etc/lilo.conf or rebuild the kernel, you need to
rerun the lilo command, create a new bootsect.lnx file, and
replace the version of bootsect.lnx on the Windows NT partition with
the new version. That is, you need to rerun steps 2-6.
NOTE
If you have any problems or you simply want to remove LILO later, you
can reverse the installation procedure: boot to Windows NT, change the
system and read-only attributes on boot.ini, reedit
boot.ini to remove the Linux entry, save the file, restore the system
and read-only attributes, and remove the Linux boot sector
from the NT partition.