Davno
11-18-2005, 12:02 PM
I am trying to edit lilo to boot multiple distro like i succesfully did before (up to 4 o.s.) but this time i can not figure this out.
I have Window, Mandriva and Ubuntu installed. all working nice. Window and Mandriva on the MBR and the last install Ubuntu is booting only from a floppy.
Trying to edit Lilo to boot Ubuntu work past Lilo with no problem, some module get loaded (i have the nice brown ubuntu booting interface for a few second) then it goes to the cli mode with these errors.
/init : 1 : cannot open /dev/root : no such device or address and followed by this error (cannot read /etc/fstab.
lilo does point to hdb9 and the proper image and initrd.img and since i have the ubuntu interface i know it found hdb9, i tried with and without read-only. I dont think my lilo.conf is wrong but i have doubt about the fstab of Ubuntu.
Here is the lilo.conf followed by the fstab (with a strange error at the hdb9 line)
LILO
# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file
default="Windows_xp"
boot=/dev/hda
map=/boot/map
keytable=/boot/us.klt
menu-scheme=wb:bw:wb:bw
prompt
nowarn
timeout=100
message=/boot/message
image=/boot/vmlinuz
label="Mandriva_2006"
root=/dev/hdb10
initrd=/boot/initrd.img
append=" resume=/dev/hdb11 splash=silent"
vga=788
image=/mnt/ubuntu/boot/vmlinuz-2.6.12-9-amd64-generic
label="Ubuntu_amd64"
root=/dev/hdb9
initrd=/mnt/ubuntu/boot/initrd.img-2.6.12-9-amd64-generic
append=" resume=/dev/hdb11 splash=silent"
read-only
other=/dev/hda1
label="Windows_xp"
table=/dev/hda
FSTAB
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hdb9 / ext3 defaults,errors=remount-ro 0 1
/dev/hda1 /media/hda1 vfat defaults 0 0
/dev/hda5 /media/hda5 vfat defaults 0 0
/dev/hda6 /media/hda6 vfat defaults 0 0
/dev/hdb1 /media/hdb1 vfat defaults 0 0
/dev/hdb10 /media/hdb10 ext3 defaults 0 2
/dev/hdb5 /media/hdb5 vfat defaults 0 0
/dev/hdb6 /media/hdb6 vfat defaults 0 0
/dev/hdb7 /media/hdb7 vfat defaults 0 0
/dev/hdb8 /media/hdb8 vfat defaults 0 0
/dev/hdb11 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdd /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
By the way this is not a real problem since i can boot Ubuntu with the floppy
but more of a challenge and trying to understand what is wrong. :)
I have Window, Mandriva and Ubuntu installed. all working nice. Window and Mandriva on the MBR and the last install Ubuntu is booting only from a floppy.
Trying to edit Lilo to boot Ubuntu work past Lilo with no problem, some module get loaded (i have the nice brown ubuntu booting interface for a few second) then it goes to the cli mode with these errors.
/init : 1 : cannot open /dev/root : no such device or address and followed by this error (cannot read /etc/fstab.
lilo does point to hdb9 and the proper image and initrd.img and since i have the ubuntu interface i know it found hdb9, i tried with and without read-only. I dont think my lilo.conf is wrong but i have doubt about the fstab of Ubuntu.
Here is the lilo.conf followed by the fstab (with a strange error at the hdb9 line)
LILO
# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file
default="Windows_xp"
boot=/dev/hda
map=/boot/map
keytable=/boot/us.klt
menu-scheme=wb:bw:wb:bw
prompt
nowarn
timeout=100
message=/boot/message
image=/boot/vmlinuz
label="Mandriva_2006"
root=/dev/hdb10
initrd=/boot/initrd.img
append=" resume=/dev/hdb11 splash=silent"
vga=788
image=/mnt/ubuntu/boot/vmlinuz-2.6.12-9-amd64-generic
label="Ubuntu_amd64"
root=/dev/hdb9
initrd=/mnt/ubuntu/boot/initrd.img-2.6.12-9-amd64-generic
append=" resume=/dev/hdb11 splash=silent"
read-only
other=/dev/hda1
label="Windows_xp"
table=/dev/hda
FSTAB
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hdb9 / ext3 defaults,errors=remount-ro 0 1
/dev/hda1 /media/hda1 vfat defaults 0 0
/dev/hda5 /media/hda5 vfat defaults 0 0
/dev/hda6 /media/hda6 vfat defaults 0 0
/dev/hdb1 /media/hdb1 vfat defaults 0 0
/dev/hdb10 /media/hdb10 ext3 defaults 0 2
/dev/hdb5 /media/hdb5 vfat defaults 0 0
/dev/hdb6 /media/hdb6 vfat defaults 0 0
/dev/hdb7 /media/hdb7 vfat defaults 0 0
/dev/hdb8 /media/hdb8 vfat defaults 0 0
/dev/hdb11 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdd /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
By the way this is not a real problem since i can boot Ubuntu with the floppy
but more of a challenge and trying to understand what is wrong. :)