On Fri, 2004-10-15 at 16:13, Josef Lowder wrote:
> Still can't get GRUB to boot Xandros.
> Mepis boots fine from GRUB.
> Xandros boots fine from the boot floppy.
...
> === First below is the my current /boot/grub/menu.lst ===
> ( with several of the variations I've tried below it)
...
> 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
...
> === below is the lilo config from the Xandros boot floppy ===
>
> boot=/dev/hda5
> install=/boot/cboot.b
> message=/boot/splash.lilo
> timeout=300
> map=/boot/map
> prompt
> fix-table
> lba32
> read-only
> image=/vmlinuz
> label=[]s_Desktop_2.0
> vga=0xf04
> root=/dev/hda5
> initrd=/boot/initrd-2.4.24-x1.gz
> append="rw acpi=on "
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.
Granted, this is not the most elegant solution but it should get the job
done.
Place this in /etc/lilo.conf while booted into Xandros.
=== begin lilo.conf ===
boot=/dev/hda5
install=/dev/hda5
timeout=0
map=/boot/map
prompt
fix-table
lba32
read-only
image=/vmlinuz
label=[]s_Desktop_2.0
vga=0xf04
root=/dev/hda5
initrd=/boot/initrd-2.4.24-x1.gz
append="rw acpi=on "
=== end lilo.conf ===
Then run `lilo` as root. This will install lilo in the boot sector of
/dev/hda5.
Next, you'll want to edit your grub config.
Add this to menu.lst
=== begin menu.lst ===
title Xandros (via lilo)
rootnoverify (hd0,4)
makeactive
chainloader +1
boot
=== end menu.lst ===
It would be a good idea to have a working grub-bootdisk that can boot
Mepis before you try this. The article below can help you build the
bootdisk.
A good article about grub can be found at:
http://www.linux-mag.com/cgi-bin/printer.pl?issue=2003-11&article=guru
and part two at:
http://www.linux-mag.com/2003-12/guru_01.html
Sorry I can't provide more help that this.
Bart
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss