LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   grub can not boot slackware? (https://www.linuxquestions.org/questions/linux-software-2/grub-can-not-boot-slackware-120773/)

shanenin 11-28-2003 02:04 PM

grub can not boot slackware?
 
I am trying to get grub to boot slackware, gentoo(new install, barely works) and windows xp. It is booting XP and gentoo fine. I can not seem to get it to boot slack. It gives me an error of not finding it.

I have done searches and found some info, and I have tries many different combinations. nothing is seeming to work

this is what I have in my grub.conf
--------------------------------------------------------
default 0
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
#my genkernel kernel info
title=Gentoo
root (hd0,2)
kernel (hd0,2)/boot/kernel-2.4.20-gentoo-r8 root=/dev/hda5
initrd (hd0,2)/boot/initrd-2.4.20-gentoo-r8
#my slack boot info
title=Slackware
root (hd0,5) #I have my / and boot on the same partition, /dev/hda6
kernel /boot/vmlinuz-ide-2.4.22 ro root=/dev/hda6
#windows xp info
title=Windows XP
rootnoverify (hd0,1)
chainloader +1.

SirSlappy 11-28-2003 02:12 PM

Grub vs LILO
 
Personally, I think GRUB is shit. I think Redhat makes it or something. Use LILO, man. It's abotu 10x easier. That's the real solution to your problem.

david_ross 11-28-2003 02:15 PM

Try this entry:
Code:

title Slackware
root (hd0,5)
kernel (hd0,5)/boot/vmlinuz-ide-2.4.22 root=/dev/hda6


shanenin 11-28-2003 02:40 PM

it gave me a new error, something like need a direct path to kernel. (hd0,5) must have got in the way a the direct path. Thanks alot, I do appreciate your time :-)

shanenin 11-28-2003 04:22 PM

I have found info about doing this involving copying my slack kernel onto by gentoo boot partition. Their must be another way. When I was dual booting slack with redhat, I just added a few lines to my grub.conf file that was being used by redhat. Grub was able to boot both kernels..

shanenin 11-28-2003 04:46 PM

Quote:

Originally posted by david_ross
Try this entry:
Code:

title Slackware
root (hd0,5)
kernel (hd0,5)/boot/vmlinuz-ide-2.4.22 root=/dev/hda6


sorry david that worked perfectly. I said up the post it did not. I think I must have used the wrong suntax or something:confused:

Thank You!


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