Check out the Linux+NT-Loader mini-HOWTO.

Basically run LILO to create a Linux boot sector. Here's an
example lilo.conf:

compact
boot=/dev/hdb6
image=/vmlinux
  root=/dev/hdb6
  read-only
    

This assumes that Linux is installed on the second logical
partition on disk 2. Change hdb6 as needed. Add kernel
options as needed.

After running LILO, copy the boosector to a file:

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

Copy the bootsect.lnx file to the partition where boot.ini and
the NT loader reside (perhaps via floppy if the partition is
not mounted).

Add the following line to the [operating systems] section of
the boot.ini file:

  c:\bootsect.lnx="Linux"

You'll want to replace your current LILO MBR with the
original one by booting into DOS and running "fdisk /mbr" or
using dd to restore the LILO backed up copy. Make sure the NT
partition is active.

After reboot, you should see "Linux" listed in the NT boot loader
menu.

Tony Richardson

 -----Original Message-----
From: Paul Miller [SMTP:[EMAIL PROTECTED]
Sent: Monday, June 29, 1998 3:00 PM
To: Debian User; Linux Admin
Subject: Linux/WinNT dual booting


How can I boot WinNT4 using LILO or boot Linux using WinNT?

I have a MS-DOS partiton that currently boots MS-DOS or WinNT (using
WinNT's boot menu), but I can't figure out how to specify a Linux
partition in the boot.ini file.

As an ugly work around, LILO boots Linux or MS-DOS.  Then if MS-DOS,
WinNT's boot menu boots MS-DOS or WinNT...

Thanks
 -Paul


 --
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact   
[EMAIL PROTECTED]


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to