Latest LQ Deal: Linux Power User Bundle
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 07-20-2004, 11:45 AM   #1
Senior Member
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Rep: Reputation: 61
Question problem booting other Linux OS using GRUB

Hi all,
I've three linux OS on my deskop apart from winxp. I use grub to boot different OS. Right now, I have RH9, FC2 and Slackware 10. Few days back, something went wrong and i've to reinstall my OS's. I formatted my drive like this.
hda - 120 gb
hdb - 40 gb

/dev/hda - winxp ntfs

/dev/hdb1 - /boot -- for RH9 - 100 MB - primary
/dev/hdb2 - / -- for RH9 - 5 GB - primary
/dev/hdb3 - /home - 20 GB - primary

/dev/hdb4 - extended
/dev/hdb5 - swap - 1 GB
/dev/hdb6 - /boot -- for FC2 - 100 MB
/dev/hdb7 - / -- for FC2 - 5 GB

/dev/hdb8 - I created this partition for /boot for slackware but when i installed slackware it asked for only one partition (i.e for / ) so this partition is empty. Its 100 MB and ext2

/dev/hdb9 - / -- for slackware 10 - about 6 GB.

Now, If i want to boot FC2,
i've something like this in grub.conf

title FC2
(hd1,4) ---- should i use hd1,3 or hd1,4 ???
kernel /vmlinuz** ro root=/dev/hdb7 hdc=ide-scsi hdd=ide-scsi
initrd /initrd***.img

title slackware 10
kernel /vmlinuz** ro root=/dev/hdb9 hdc=ide-scsi hdd=ide-scsi
interestingly enough i started RH9 and mounted slackware partition and i could not find i'm confused what should be the initrd entry for slackware in grub...

Right now i can only boot RH9. Before something messed up my computer I had dual boot linux (RH9 & FC2) with winxp and it worked pretty well. I played with grub then and go it right. But right now, I dont seem to get a handle on it.

Sorry, I'm at work and writing this off my excuse me if this sounds jumbled up.

Old 07-21-2004, 01:40 PM   #2
Registered: Jun 2004
Location: MD USA
Distribution: SimplyMEPIS 6.0, openSuSE 10.2
Posts: 90

Rep: Reputation: 15
grub uses 0-up numbering for both drives and partitions, while linux uses a-up for drives and 1-up for partitions. Therefore grub's hd(1,4) corresponds to linux's hdb5, your swap partition.

I think you should have:

title FC2
kernel /vmlinuz** ro root=/dev/hdb7 hdc=ide-scsi hdd=ide-scsi
initrd /initrd***.img

title slackware 10

Good luck!
Old 07-21-2004, 02:08 PM   #3
Senior Member
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Original Poster
Rep: Reputation: 61
Thanks jamuz,
Figured out already!!!! I realized my mistake after posting...and since nobody answered...I didnt bother to close the case..

I am sorry for that...
case closed.


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
Problem With Booting XP using GRUB bowb4steve Linux - Newbie 2 10-28-2004 09:25 PM
booting problem using grub tacca *BSD 3 10-23-2004 04:58 PM
endless booting problem (grub) saposmak Linux - General 3 05-27-2004 10:05 PM
RH 9 Problem Booting with Grub scottym Linux - Distributions 1 08-03-2003 11:54 PM
Problem booting Slackware from GRUB Spooner Slackware 2 03-05-2003 05:47 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:12 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration