Re: How to get GRUB to work for a multiple Linux boot. - Sol…

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

At last, after trying more than a dozen possible configurations that
various people suggested (just a few of which I've reproduced below),
I finally figured out the magic formula for the /boot/grub/menu.lst entry
to get Xandros to boot as a second multiple-boot option via the GRUB
boot loader that Mepis Linux set up as the first Linux distro that I
installed on the new system I just finished building. Here it is:

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

-------------------------------------------------------------------
Thanks to all who offered suggestions, especially Bart Garst
who last wrote the following:
> I noticed the lilo.config uses /vmlinuz as the kernel image and the
> menu.lst uses /boot/vmlinuz-2.4.24-xl. I realize this may sound like a
> stupid suggestion, but is /vmlinuz a link to /boot/vmlinuz-2.4.24-xl?
> If it is, I have a last ditch suggestion. Install lilo on the boot
> sector of /dev/hda5, and have grub transfer the boot process to lilo.


Yes, the /vmlinuz is a link to boot/vmlinuz-2.4.24-xl, and that,
apparently, was the root of the problem.
-------------------------------------------------------------------

All of the following (and many, many more) did _not_ work:
#1:
title Xandros
root (hd0,4)
kernel /boot/vmlinuz-2.4.24-xl root=/dev/hda5
initrd /boot/initrd-2.4.24-x1.gz
boot
# with and without 'boot' at the end

#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
kernel (hd0,4)/boot/vmlinuz-2.4.24-xl root=/dev/hda5
initrd /boot/initrd-2.4.24-x1
# with initrd gunzipped in hda5 /boot/grub

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

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

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