Re: 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-discuss
Subject: Re: How to get GRUB to work for a multiple Linux boot.

Still can't get GRUB to boot Xandros.
Mepis boots fine from GRUB.
Xandros boots fine from the boot floppy.

I have tried every configuration for /boot/grub/menu.lst
that has been suggested and none of them work.
Most say: "Error 15. File not found."
But the device is, exactly where menu.lst declares it to be.

I have read and studied both 'man grub' and 'info grub'
and everything I could find searching the 'net most of
today and I still can't find the magic formula.

I have also tried hitting 'c' at the GRUB menu and
tabbing to try what seems like an infinite number
of combinations, none of which have worked.

Listed below are several file listings that may provide clues:

Sure hope someone can help me solve this mystery.

Thanks to everyone who has offered suggestions to try.

Joe

=== First below is the my current /boot/grub/menu.lst ===
( with several of the variations I've tried below it)

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

# added the next (last) tree lines and several variations of them:
title Xandros
kernel (hd0,4)/boot/vmlinuz-2.4.24-xl root=/dev/hda5
initrd /boot/initrd-2.4.24-x1.gz

======= variations =======

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

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

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

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

# don't know what 'ro' does, but someone suggested it

=== 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 "
image=/vmlinuz
    label=Safe_Video_Mode
    vga=0xf04
    root=/dev/hda5
    initrd=/boot/initrd-2.4.24-x1.gz
    append="3 rw acpi=on "
image=/vmlinuz
    label={}ure_(Expert)
    vga=normal
    root=/dev/hda5
    initrd=/boot/initrd-2.4.24-x1.gz
    append="single rw acpi=on "


=== below is the Xandros hda5 /mnt contents:
drwxr-xr-x    2 root     root         4096 2003-06-05 19:21 amnt
drwxr-xr-x    2 root     root         4096 2004-10-10 15:38 fd0
drwxr-xr-x    2 root     root         4096 2004-10-10 15:38 cdrom1
drwxr-xr-x    2 root     root         4096 2004-10-10 15:38 cdrom0
drwxr-xr-x    2 root     root         4096 2004-10-10 15:39 XandrosMntDir


=== below is the Xandros hda5 /disks contents: 
( for some reason they have these in /disks instead of /mnt ) 
drwxrwxrwx   28 root     root         4096 1969-12-31 19:00 C
drwxr-xr-x    6 root     root         4096 1996-02-06 16:04 hdb7
drwxr-xr-x   20 root     root         4096 2001-04-03 01:43 linux
drwxr-xr-x    3 root     root         4096 2004-10-10 10:57 hda6
drwxr-xr-x    3 root     root         4096 2004-10-10 10:57 hda7
drwxr-xr-x    3 root     root         4096 2004-10-10 10:57 hda8
drwxr-xr-x    3 root     root         4096 2004-10-10 10:57 hda9
drwxr-xr-x    4 root     root         4096 2004-10-10 13:50 hda3
drwxr-xr-x   19 root     root         4096 2004-10-12 16:09 mepis
drwxr-xr-x    2 root     root         4096 2004-10-15 12:36 Removable


=== below is the result of 'df' when Xandros is booted === 
Filesystem                    1K-blocks     Used Available Use% Mounted on
/dev/ide/host0/bus0/target0/lun0/part5    10080488   1363804   8204616  15% /
/dev/ide/host0/bus0/target0/lun0/part3     4032124     36756   3790540   1% 
/disks/hda3
/dev/ide/host0/bus0/target0/lun0/part6    10080488     32828   9535592   1% 
/disks/hda6
/dev/ide/host0/bus0/target0/lun0/part7    10072456     32828   9527960   1% 
/disks/hda7
/dev/ide/host0/bus0/target0/lun0/part8    10080488     32828   9535592   1% 
/disks/hda8
/dev/ide/host0/bus0/target0/lun0/part9    23347672     32828  22128848   1% 
/disks/hda9
/dev/ide/host0/bus0/target0/lun0/part1    10080488   2080700   7487720  22% 
/disks/mepis
/dev/ide/host0/bus0/target1/lun0/part1     4120600   1294296   2826304  32% 
/disks/C
/dev/ide/host0/bus0/target1/lun0/part7     1510032       476   1432848   1% 
/disks/hdb7
/dev/ide/host0/bus0/target1/lun0/part5     2300656   1155848   1027940  53% 
/disks/linux


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