LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-28-2003, 02:04 PM   #1
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
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.
 
Old 11-28-2003, 02:12 PM   #2
SirSlappy
Member
 
Registered: Jun 2003
Location: Glendale AZ
Distribution: Slackware 10
Posts: 153

Rep: Reputation: 30
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.
 
Old 11-28-2003, 02:15 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Try this entry:
Code:
title Slackware
root (hd0,5)
kernel (hd0,5)/boot/vmlinuz-ide-2.4.22 root=/dev/hda6

Last edited by david_ross; 11-28-2003 at 02:17 PM.
 
Old 11-28-2003, 02:40 PM   #4
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Original Poster
Rep: Reputation: 30
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 :-)
 
Old 11-28-2003, 04:22 PM   #5
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Original Poster
Rep: Reputation: 30
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..
 
Old 11-28-2003, 04:46 PM   #6
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Original Poster
Rep: Reputation: 30
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

Thank You!
 
  


Reply



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
gentoo : grub: The file /boot/boot/grub/stage1 not read correctly Boudewijn Linux - Software 3 05-21-2008 03:13 AM
need to access /boot/grub/menu.lst and /boot/grub/device.map neouto Linux - Newbie 8 09-04-2005 11:45 AM
use suse/grub to boot slackware ? muddywaters SUSE / openSUSE 2 08-18-2005 01:10 PM
How can I chain boot GRUB (Fedora) from LILO (Slackware)? DaneM Linux - Distributions 6 07-06-2005 04:25 AM
How to boot Slackware 9 (install) with Grub ? piraxter Slackware 1 03-24-2003 11:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:13 PM.

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