How to get GRUB to work for a multiple Linux boot.

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Josef Lowder
Date:  
To: PLUG
Subject: How to get GRUB to work for a multiple Linux boot.

I've built a new system on which I hope to install several different
Linux distros (and no M$), with the first two installed being Mepis
on hda1, swap on hda2, /home on hda3, and Xandros on hda5.

Mepis boots fine via Grub and Xandros boots fine from a boot floppy
via lilo. But I can't figure out how to get Xandros to boot from Grub.

I've tried several different ways of setting up Grub, including the
three examples below, without success. The vmlinuz and initrd
shown in the three examples below are exactly as they appear on
the Xandros partition. But everything I have tried so far ends up
with the error message: "Error 15: File not found."

Among the formats I have tried for the Xandros stanza in
/boot/grub/menu.lst are these three:

(#1)
title Xandros
kernel (hd0,4) /boot/vmlinuz-2.4.24-xl root=/dev/hda5

(#2)
title Xandros
kernel (hd0,4) /boot/vmlinuz-2.4.24-xl root=/dev/hda5
initrd /boot/initrd-2.4.24-x1.gz

(#3)
title Xandros
root (hd0,4)
kernel /boot/vmlinuz-2.4.24-xl root=/dev/hda5
initrd /boot/initrd-2.4.24-x1.gz
boot

Certainly would appreciate any suggestions anyone can
offer on how to get this to work.

Thanks again,

Joe

The following is exactly how the /boot/grub/menu.lst
appeared as Mepis originally provided it ... with only the
last five lines at the end being what I added.

default saved
timeout 15
color cyan/blue white/blue
foreground ffffff
background 2f5178
splashimage /boot/grub/mepis.xpm.gz

title MEPIS at hda1, kernel 2.4.26
kernel (hd0,0)/boot/vmlinuz-2.4.26 root=/dev/hda1 nomce vga=788 hdc=ide-scsi
hdd=ide-scsi
savedefault

title MEPIS at hda1, kernel 2.6.5
kernel (hd0,0)/boot/vmlinuz-2.6.5 root=/dev/hda1 nomce psmouse.proto=imps
vga=788
savedefault

title MEMTEST
kernel /boot/memtest86.bin

title Xandros
root (hd0,4)
kernel /boot/vmlinuz-2.4.24-xl root=/dev/hda5
initrd /boot/initrd-2.4.24-x1.gz
boot

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss