LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-28-2004, 11:59 PM   #1
belorion
Member
 
Registered: Aug 2003
Distribution: Slackware 10.0
Posts: 124

Rep: Reputation: 16
Triple boot w/ GRUB


I am trying to run a triple boot with WinXP, Slackware, and Rubyx.

My partition scheme is as follows:
Device Boot Start End Blocks Id System
/dev/hda1 * 1 956 7679038+ 7 HPFS/NTFS
/dev/hda2 957 4864 31391010 f W95 Ext'd (LBA)
/dev/hda5 957 3422 19808113+ 7 HPFS/NTFS
/dev/hda6 3423 3946 4208998+ 83 Linux
/dev/hda7 3947 4471 4217031 83 Linux
/dev/hda8 4472 4733 2104483+ 83 Linux
/dev/hda9 4734 4864 1052226 82 Linux swap

WinXP on hda1, with a NTFS data drive at hda5.
Slackware / at hda6
Rubyx / at hda7
/home at hda8
swap at hda9

my menu.1st file for GRUB is:
default=0
timeout=10

title WindowsXP
rootnoverify (hd0,0)
chainloader +1

title Slackware
root (hd0,7)
kernel /boot/vmlinuz root=/dev/hda6

title Rubyx
root (hd0,8)
kernel /kernel/bzImage root=/dev/hda7


First off, I try to install the grub files on /home/boot/grub, because it is the most stable partition. At the grub prompt, I type root (hd0,9), I get "Error 22: No Such Partition". Well, this partition DOES exists, I even have files in it. So, I don't know WHY this happens, but I move my grub files from /home/boot/grub to /boot/grub. Run root (hd0,7), everything seems okay. Then I run setup (hd0), and install GRUB.

I reboot, get my three possible choices. WinXP boots okay. Slackware does not. I get a message saying it can't find the kernel at /boot/vmlinuz, but I KNOW that it exists there on hda6. Lastly, when Rubyx is selected, I get a message saying that the file system is not recognized (even though fdisk tells me it is ext3, and I can mount it and r/w it just fine... after all, Rubyx is installed on it).

Anyway, I can't figure out what to do next. Why can't I have grub install on (hd0,9)? Why can it not find /boot/vmlinuz for Slackware, even though it is there? Why does it not think the Rubyx parition is a valid fs type?
 
Old 06-29-2004, 02:12 AM   #2
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
try this..

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

title Rubyx
root (hd0,6)
kernel /kernel/bzImage root=/dev/hda7
 
Old 06-29-2004, 07:47 AM   #3
belorion
Member
 
Registered: Aug 2003
Distribution: Slackware 10.0
Posts: 124

Original Poster
Rep: Reputation: 16
ROFL, the person I was talking to said for GRUB the indices for the drives was off by one. I should have assumed off by one in the other direction. Thanks!
 
Old 06-29-2004, 01:58 PM   #4
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
That's correct, it starts at zero.
 
  


Reply


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Triple boot and GRUB puzzle tmarikle Fedora 7 12-30-2004 06:32 AM
Triple-Boot with GRUB? C0Y0TE Linux - Newbie 3 10-19-2004 01:28 PM
grub triple boot problem the rev Fedora 6 08-12-2004 03:15 AM
Help! Modify my grub file for triple boot? thegreatnorth Fedora 1 01-03-2004 01:09 PM
GRUB config - triple boot XP/RH9/Slack9.1 cb9fl Linux - General 2 11-01-2003 08:49 AM


All times are GMT -5. The time now is 01:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration