LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-17-2009, 11:57 PM   #1
ddu_
Member
 
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:

Code:
# 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"
prompt
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, 12:16 AM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
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.




image="/boot/vmlinuz"
root="/dev/hda1" <-------- I boot from this one
label="Linux"
read-only
# Linux bootable partition config ends

image=/mnt/hda2/boot/vmlinuz24
label="slack12.1-24"
root=/dev/hda2
read-only

image=/mnt/hda2/boot/vmlinuz27
label="slack12.1-27"
root=/dev/hda2
read-only

image=/mnt/hdb1/boot/vmlinuz-2.6.18.8.tex5
label="pcl2007"
root=/dev/hdb1
read-only
initrd="/mnt/hdb1/boot/initrd-2.6.18.8.tex5.img"
append="acpi=on resume=/dev/hda3 splash=silent"

image=/mnt/hdc1/boot/vmlinuz-2.6.24-22-generic
label="gos3"
root=/dev/hdc1
read-only
initrd="/mnt/hdc1/boot/initrd.img-2.6.24-22-generic"

image="/pup412/vmlinuz"
label="pup412"
initrd="/pup412/initrd.gz"

image="/mnt/hda2/boot/vmlinuz"
label="slack12.1-28"
root="/dev/hda2"
read-only

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


Reply


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 07:01 AM
multiple hard drives jasma12 Linux - General 6 02-06-2006 04:28 PM
Multiple Hard Drives TuxFreak Linux - General 3 12-22-2004 12:11 PM
Dual Booting with XP, multiple Hard Drives and LILO problems melliott Linux - General 15 01-21-2004 12:34 PM
lilo and 3 hard drives j-charles Linux - Newbie 1 02-25-2002 03:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:54 AM.

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