> Well, LILO is the answer. But there are two ways, one of them already
> that you have to install Linux after win95 or NT because they FUBAR the
> MBR (master boot record). He's right.
Only WinNT does that. WinNT 4.0 left my LILO boot sector.
Quote:> The other is to install Linux and put (or install) LILO to a floppy,
> _then_ install NT. When you boot the machine, put the LILO floppy in,
> and boot Linux. Edit '/etc/lilo.conf' so it looks something like this:
...
> You'll get a prompt: 'dos' to boot to win95/NT, 'linux' to boot...
> Yeah, you got it. Just change the 'label=' value to change.
> After making a change to 'lilo.conf', be sure to run 'lilo' again.
If you run WinNT and use LILO, make one of these true:
a. Run the very latest version of LILO.
b. Never run NT disk manager under any circumstances.
Better yet, keep LILO out of your master boot record.
The NT boot manager gives you a nice menu with NT, NT in
safe mode, DOS, and Linux. You must add Linux of course.
Here is config file #1, /etc/lilo.conf:
###########################################################
boot = /dos/bootsect.lin # LILO in DOS file for NT boot
delay = 30 # 3 seconds to select safe kernel
vga = normal # force sane state
image = /dos/linux/kernel/2-1-55.ker # anywhere LILO can reach
# append="aha152x=0x340,11,7,1" # adjust as needed
root = /dev/hda7
label = 2-1-47
read-only
image = /dos/linux/kernel/2-0-28.ker
# append="aha152x=0x340,11,7,1" # adjust as needed
root = /dev/hda7
label = safe
read-only
###########################################################
Config file #2 is C:\BOOT.INI for the NT bootloader.
Default to DOS in case some idiot plays with the power switch.
[boot loader]
timeout=20
default=C:\
[operating systems]
C:\="Plain old DOS"
C:\bootsect.lin="Linux"
multi(0)disk(0)rdisk(0)partition(2)\WINNT="WinNT Workstation 4"
multi(0)disk(0)rdisk(0)partition(2)\WINNT="WinNT Workstation 4 [VGA mode]" /basevideo /sos
multi(0)disk(0)rdisk(0)partition(1)\WINNT="WinNT Workstation 4 #2"
multi(0)disk(0)rdisk(0)partition(1)\WINNT="WinNT Workstation 4 #2 [VGA mode]" /basevideo /sos
Make a file /dos/bootsect.lin (C:\bootsect.lin) with the dd command,
then run /sbin/lilo to install LILO on it. Now you get this:
1. NT boot loader displays a nice menu.
2. You choose Linux.
3. LILO prompt for 3 seconds. (allows alternate kernel or init)
4. Linux kernel boots.
WARNING: If you already have LILO in your master boot record,
you will need the WinNT rescue disk to install a new MBR.
The default Microsoft one will work just fine.
--
--
Albert Cahalan <acahalan at cs.uml.edu> My address may be mangled to
avoid junk email. Please check it if you wish to respond to a news post.