tjm4fun
Unregistered
|
|
Posted: Jan. 12 2005,21:20 |
|
ok, I am assuming you already have lilo installed, it just isn't booting what you need. you need to creat a proper lilo.conf file. here is an example of a working multi linux config file:
prompt timeout=6000 default=Slackware10 vga=791 boot=/dev/hda
lba32
#bitmap = /boot/yoper_boot.bmp #bmp-colors = 1,,0,2,,0 #bmp-table = 120p,173p,1,15,17 #bmp-timer = 254p,432p,1,0,0
other=/dev/hda1 label=Windows2K image = /boot/slack root = /dev/hda7 label = Slackware10 read-only image=/mnt/dsl/boot/linux24 label=DSL root=/dev/hda8 read-only
image=/mnt/yoper/boot/yos label=YOS read-only root=/dev/hda9 append = "splash=silent " initrd=/mnt/yoper/boot/initrd-2.6.8.1-3.img
Now this file was edited and created in my slackware partition. note that the slackware entry does not reference any mounted devices. Now here is the gotcha with lilo: on the os you run it from, llilo must be able to see all the referenced os's. So I have mount points created and fstab setup to see all my os partitions. in your case, you would being doing lilo in dsl, so your lilo config would look something like this: NOTE! you must create a /mnt/ubu folder and mount ubuntu there, or this will not work. (mount /dev/hda8 /mnt/ubu -o t=auto ro,auto,users) should be ok. if you already have the ubuntu assigned to a mount point, then correct the line to match your mount point. Also you need to determine the kernel image file ubuntu uses and put that in the first stanza, where I put the commented note. When done, open a root console, and type lilo. you should see 3 "added" lines for the 3 os's and no errors. next boot should show you the 3 options with a 60 minute timeout.
prompt timeout=6000 default=DSL vga=791 boot=/dev/hda
lba32
#bitmap = #bmp-colors = 1,,0,2,,0 #bmp-table = 120p,173p,1,15,17 #bmp-timer = 254p,432p,1,0,0
other=/dev/hda1 label=Windows98 image=/boot/linux24 label=DSL root=/dev/hda10 read-only
image=/mnt/ubu/ubuntu # change this to the linux kernel it boots label=Ubuntu read-only root=/dev/hda8
|