Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-18-2009, 12:57 AM   #1
Registered: Dec 2004
Distribution: Slackware
Posts: 114

Rep: Reputation: 16
lilo with multiple hard drives

Hello all, haven't been here in a while, hoping I can get some help with a lilo problem I've been having.

I've used the search tool to no avail so I'm hoping someone may have some tips. My problem is, I have multiple hard drives in my box, one of them runs Slackware 12.2 and the other Windows 2000. I configure lilo to what I think will work but am unable to boot into windows, it sits at a "Loading Windows" black screen. Here is my setup:

hda = cdrom
hdb1 = 500gig backup IDE

sda2 = linux /
sdb1 = Windows Partition

My lilo config looks like this:

# LILO configuration file
# generated by 'liloconfig'
# Start LILO global section
lba32 # Allow booting past 1024th cylinder with a recent BIOS
boot = /dev/sda
#compact # faster, but won't work on all systems.
# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used. We don't specify it here, as there's just one column.
bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
bmp-timer = 65,27,0,255
# Standard menu.
# Or, you can comment out the bitmap menu above and
# use a boot message with the standard menu:
#message = /boot/boot_message.txt

# Append any additional kernel parameters:
append=" vt.default_utf8=0"
timeout = 300
# 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
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda2
label = Linux
read-only # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/sdb1
label = Win2k
table = /dev/sdb
# Windows bootable partition config ends
I'm able to work around it by changing the boot devices in the BIOS but I'd love to just be able to use lilo to select. Any help is appreciated.

Just a bit more info: my motherboard is an Intel D919GAG which uses a Intel Corporation 82801FB/FW (ICH6/ICH6W) SATA Controller (rev 03)
Old 01-18-2009, 01:16 AM   #2
Senior Member
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,154
Blog Entries: 3

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
In lilo every thing goes through the Mbr drive there is other ways but this has worked for me for years. do it from my main OS so I do this from my hda1 edit the /etc/lilo.conf then run lilo type lilo in a terminal.this has to be done as root. for windows this would be yours.
other =/dev/sdb <-----this makes tells lilo to go here for windows loader.
label = win2000
If that does not work that means there is no windows boot loader on the mbr. and if you really want to boot windows go into bios and change it to boot sdb which is secondary master.. It is in good practice with lilo to keep windows first partion on the first drive. and to load the lilo boot loader on that first drive even though linux would be on the other.

root="/dev/hda1" <-------- I boot from this one
# Linux bootable partition config ends



append="acpi=on resume=/dev/hda3 splash=silent"




Last edited by Drakeo; 01-18-2009 at 01:50 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
2 hard drives, XP on my main sata drives, 10.2 on my IDE LILO doesnt show on boot up Dachy Slackware 14 01-03-2008 08:01 AM
multiple hard drives jasma12 Linux - General 6 02-06-2006 05:28 PM
Multiple Hard Drives TuxFreak Linux - General 3 12-22-2004 01:11 PM
Dual Booting with XP, multiple Hard Drives and LILO problems melliott Linux - General 15 01-21-2004 01:34 PM
lilo and 3 hard drives j-charles Linux - Newbie 1 02-25-2002 04:39 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:21 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration