Share your knowledge at the LQ Wiki.
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 08-30-2003, 07:39 AM   #1
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel
Posts: 284

Rep: Reputation: 30
Grub loader problems with 2 distributions

I installed XP in hda1 and Slackware on hda4.
Hda2 is swap. When i installed Red Hat 9.0 on Hda3 it doesn't see Slackware installed, altough i added it installing RH.
I am using Grub.
What should i add in boot/grub/grub.conf?
I saw it treats Slackware as XP.
Thank you.
Franco (Italy)
Old 08-30-2003, 08:39 AM   #2
Registered: Nov 2002
Location: /texas/austin/home/desk
Distribution: Gentoo
Posts: 341

Rep: Reputation: 30
I'm guessing you let redhat install GRUB over your old Slackware bootloader? Do you have a /boot partition? What's currently in your grub.conf?
Maybe try something like this:

root (hd0,2)
kernel (hd0,2)/boot/bzImage-slack ro root=/dev/hda4
Old 08-30-2003, 01:06 PM   #3
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421

Rep: Reputation: 31
When you see the GRUB menu right after you boot up your computer, press "c" to enter the command line interface. Do the following:

grub > root (hd0,3)
grub > kernel /boot/<tab>

where <tab> is to press the tab key. You should be able to see some candidates to boot. Try bzImage if it is there. Then continue the command:

grub > kernel /boot/bzImage ro root=/dev/hda4
grub > boot

If this enable you to boot into Slackware, go to /boot/grub/ and open the file grub.conf or menu.lst. Copy the entry for Slackware, boot into Redhat and add the entry into /boot/grub/grub.conf there.

Hope this helps.
Old 08-30-2003, 03:34 PM   #4
LQ Newbie
Registered: Aug 2003
Location: Stockholm/Sweden
Distribution: Slackware
Posts: 6

Rep: Reputation: 0
Can grub solve my problem?

I have a problem with my lilo configuration. (But it might be a XP, or hardware problem so I won't blame lilo for the moment)

I want to be able to boot both slackware and xp.
hda - slackware 9
hde - xp

My hde (ata-100) disk will appear as the first disk if I choose to boot from it in the bios.

So if I install lilo in the MBR on my firs disk (hde, it's an ata100 device) I get the error message: 99 99 99 ... (invalid second stage index sector)

If I install lilo in the MBR on my hda disk (and tell bios to boot from hda) I manage to boot slackware, but not XP. Just a black screen when I choose xp. I think xp only works on the first disk...

What to do? - Help me please!

I have searched booth google and the forums at least 100 times.

I have the A7V133 MB, latest bios, kernel 2.4.20

My lilo.conf (with hde as the first disk):

boot = /dev/hde
map = /boot/map
timeout = 50
vga = 773
# vga = normal

image = /boot/vmlinuz
label = linux
root = /dev/hda1

other = /dev/hde1
label = xp

My lilo.conf (with hda as the first disk):

boot = /dev/hda
map = /boot/map
timeout = 50
vga = 773
# vga = normal

image = /boot/vmlinuz
label = linux
root = /dev/hda1

other = /dev/hde1
label = xp


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
grub(SuSE)/Lilo(Slackware) chain loader problems The Chain Linux - Newbie 32 10-12-2006 06:24 PM
GRUB boot loader and installing multiple distributions on one computer juyce Linux - General 3 06-27-2005 07:13 PM
Grub loader 1.5 problems davehiya1 Linux - Newbie 1 05-04-2004 04:40 PM
boot loader start more distributions grendel-IT Linux - Software 7 03-15-2004 10:32 AM
Help! Grub Loader! djsktbrd Linux - Newbie 5 12-27-2002 02:34 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:22 PM.

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
Open Source Consulting | Domain Registration