LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Grub loader problems with 2 distributions (https://www.linuxquestions.org/questions/linux-newbie-8/grub-loader-problems-with-2-distributions-87292/)

Harp00 08-30-2003 06:39 AM

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)

je_fro 08-30-2003 07:39 AM

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:

title=Slackware
root (hd0,2)
kernel (hd0,2)/boot/bzImage-slack ro root=/dev/hda4

koyi 08-30-2003 12:06 PM

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.

Nizze 08-30-2003 02:34 PM

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
#compact
prompt
timeout = 50
lba32
vga = 773
# vga = normal
default=linux

image = /boot/vmlinuz
label = linux
read-only
root = /dev/hda1

other = /dev/hde1
label = xp

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

boot = /dev/hda
map = /boot/map
#compact
prompt
timeout = 50
lba32
vga = 773
# vga = normal
default=linux

image = /boot/vmlinuz
label = linux
read-only
root = /dev/hda1

other = /dev/hde1
label = xp


All times are GMT -5. The time now is 02:09 PM.