You are not logged in.

#1 2004-04-05 17:29:28

rudi
Member
From: Netherlands
Registered: 2004-02-18
Posts: 39
Website

Grub multiboot

Hi,

I'm having 3 OS'es WinXP, Slackware and Arch. Arch has got the first HD with:
part1: 1GB swap
part2: 500 /boot
part3: 12 GB (ext2)
On the second HD i'm having WinXP and Slackware installed:
hdb1: 20GB WinXP
hdb2: extenden partition
hdb3: 1GB swap
hdb4: 15 GB Slackware
hdb5: 5GB vaf32 data storage

My grub configuration looks like the following:

# general configuration:
timeout   5
default   0
color light-blue/black light-cyan/blue


# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#-*

# (0) Arch Linux
title  Arch Linux  [/boot/vmlinuz26]
root   (hd0,2)
kernel (hd0,0)/vmlinuz26 root=/dev/discs/disc0/part3 ro

# (1) Windows XP
title  Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1

# (2) Slackware
title Slackware Linux
root  (hd1,3)
kernel /vmlinuz root=/dev/hdb4

However, don't seem to get Slackware to boot. It loads the kernel, but when the rc files start in i get a load of errors (sorry, no print screen of those).

[edit]
It seems like Slackware is booting with the kernel from hda2 (Arch'es 2.6 kernel). How can that be? I thought i set it up correctly in grub? I have had the same problem some weeks ago when using LILO, but i thought that Grub was more willing in using more then one Linux Distro......
[/edit]

So to make a long story short: How do I set Grub to boot Slackware correctly as my second Distro, next to Arch?

Greets Rudi


Brian: You don't need to follow me. You don't need to follow anybody! You've got to think for yourselves. You're all individuals!
Crowd: Yes, we're all individuals!

Offline

#2 2004-04-07 17:22:00

murkus
Member
From: Europe/Helsinki
Registered: 2004-03-19
Posts: 254

Re: Grub multiboot

rudi wrote:
# (2) Slackware
title Slackware Linux
root  (hd1,3)
kernel /vmlinuz root=/dev/hdb4

[edit]
It seems like Slackware is booting with the kernel from hda2 (Arch'es 2.6 kernel). How can that be? I thought i set it up correctly in grub? I have had the same problem some weeks ago when using LILO, but i thought that Grub was more willing in using more then one Linux Distro......
[/edit]

So to make a long story short: How do I set Grub to boot Slackware correctly as my second Distro, next to Arch?

Greets Rudi

try adding hd(1,0) to your slack kernel line

kernel hd(1,0)/vmlinuz root=/dev/hdb4

cheers,

.murkus

Offline

#3 2004-04-08 15:50:35

rudi
Member
From: Netherlands
Registered: 2004-02-18
Posts: 39
Website

Re: Grub multiboot

Thanx Murkus for your reaction. I feel stupid to have missed that. The correct command was:

kernel (hd1,3)/boot/vmlinuz root=/dev/hdb4 ro

Seemed that i've needed to address the partition directly (and used /boot before the kernel :oops:
Ow well, it's working now, so if i mess Arch up i've still got a working Linux next to it big_smile

Greets Rudi


Brian: You don't need to follow me. You don't need to follow anybody! You've got to think for yourselves. You're all individuals!
Crowd: Yes, we're all individuals!

Offline

#4 2004-04-08 20:47:04

skoal
Member
From: Frequent Flyer Underworld
Registered: 2004-03-23
Posts: 612
Website

Re: Grub multiboot

rudi wrote:

part1: 1GB swap
part2: 500 /boot
part3: 12 GB (ext2)
...
:

# (0) Arch Linux
title  Arch Linux  [/boot/vmlinuz26]
root   (hd0,2)
kernel (hd0,0)/vmlinuz26 root=/dev/discs/disc0/part3 ro

Quite frankly, I'm surprised that Arch will even boot.  You have hda2 as your `/boot' partition, but in your `menu.lst', I see that you are booting from your swap partition ("kernel (hd0,0)...").  It should be "kernel (hd0,1) ..." if hda2 is indeed your `/boot' partition.

Offline

#5 2004-04-09 07:12:11

rudi
Member
From: Netherlands
Registered: 2004-02-18
Posts: 39
Website

Re: Grub multiboot

I agree, but The Archinstaller has set it up that way, who am i to dissagree  wink
The only things i've changed is adding Windows and Slackware.

Rudi


Brian: You don't need to follow me. You don't need to follow anybody! You've got to think for yourselves. You're all individuals!
Crowd: Yes, we're all individuals!

Offline

#6 2004-04-13 13:30:19

skoal
Member
From: Frequent Flyer Underworld
Registered: 2004-03-23
Posts: 612
Website

Re: Grub multiboot

rudi wrote:

I agree, but The Archinstaller has set it up that way, who am i to dissagree...

Even though I created a separate `/boot' partition in my AL setup, I still had to manually configure the `menu.lst' file (during the initial AL install).  The bottom line is, don't trust what the AL installer does by default.  In fact, that's why the AL installer gives you the option to manually edit all your configuration files.

I'm glad to hear everything works great now.  I'm just stumped as to how it works with the information you provided.

Offline

Board footer

Powered by FluxBB