LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-20-2004, 10:45 AM   #1
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Rep: Reputation: 62
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
(hd1,4)
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 initrd...so 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 head...so excuse me if this sounds jumbled up.

Any pointers...tips???
Thanks,
 
Old 07-21-2004, 12:40 PM   #2
jamuz
Member
 
Registered: Jun 2004
Location: MD USA
Distribution: Kubuntu 18.04.3, Mint 18.3 KDE
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
(hd1,5)
kernel /vmlinuz** ro root=/dev/hdb7 hdc=ide-scsi hdd=ide-scsi
initrd /initrd***.img

title slackware 10
(hd1,8)

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

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


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:25 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