-   Linux - Newbie (
-   -   Slackware dual boot, lilo troubles... (

lt1derful 07-01-2003 08:48 PM

Slackware dual boot, lilo troubles...
Hey...I'm a :newbie: to the forums and to Linux. So far, I AM LOVING Slackware and asking myself what I didn't try it out sooner.

Here's my deal. I've got Slackware 9.0 installed on a machine with 2 hard drives. 40gig main drive and 100 slave. I just formatted the 40gig, partitioned it and installed Win2K Pro on it. I left around 20gigs for Slackware. I went thru all the set up and everything went great, except Lilo. I tried to didn't work.

Well...I can run Slackware by using the boot floppy I made (I'm using it now) and everything is cool and all. I'm not really missing Windows that bad. But, I'd like to get Lilo set up so that when I need to, I can boot my Win2K OS.

I've searched and searched, but cannot find any specific information on how to properly configure the /etc/lilo.conf file or the NT loader so that I can get it to work.

If I don't use the boot floppy, I get the message "Invalid partition table"

Any help or links will be greatly appreciated!!


contrasutra 07-01-2003 08:55 PM

Maybe you should search a little harder. There is lots of info on configuring LILO out there.

You have to put LILO on your MBR (master boot record), you do this by making LILO write to: /dev/hda , in your lilo.conf

Heres my lilo.conf, I boot Slackware, and WinXP. It should be very similar:

# LILO configuration file
# generated by 'liloconfig'
# Start LILO global section
boot = /dev/hda
message = /boot/boot_message.txt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda9
label = Slackware

other = /dev/hda5
label = Windows
# Linux bootable partition config ends

You will have to change /dev/hda9(5) to fit your partitions. And the "append" section to match your burner (if you have one).

slackerboy 07-01-2003 08:58 PM

Welcome! You will have plenty of fun in this forum and will learn a
lot too.

First off, I would recommend doing another search in gogle. I'll take
a look a see what I ca get for you. Just wanted to pass that idea. I think that you should be able to set up lilo so that you can boot
multiple operating systems. Don't give up!

All times are GMT -5. The time now is 07:33 PM.