lilo dual boot two linux distros / hda and hdb
i've looked and i can't find an example of a lilo.conf file for booting two different linux distros on two separate drives. under my current lilo.conf, I hit tab during reboot and get only smoothwall on the list of options. Typing redhat only gets and error message and a reminder to hit tab for the list of options.
My relevant hardware is as follows: hda = smoothwall router with Lilo on MBR bdb = redhat 7.2 with *GRUB on root partition the original SmoothWall lilo.conf follows with my edits in bold: Quote:
http://www.linuxquestions.org/questi...t=lilo+hda+hdb *corrected |
you need to tell lilo what kernel to boot i dont knwo what redhat would normally use but you might make the entire entry to look something like this
image=/boot/bzImage-2.4.20 label=redhat root=/dev/hdb1 initrd=/boot/initrd.img append="quiet devfs=mount hdc=ide-scsi" vga=788 read-only i dont know if redhat uses initrd or not you can look in its /boot for both the kernel image and the initrd if its not there then omit the line |
Thanks. I did not get a chance to try your solution. running /sbin/lilo on SmoothWall allowed Grub on the bdb root partition to launch redhat.
After your posting, I found two errors in my posting and don't know if it would change your advice. 1. The first error is that Grub / not Lilo is on the hdb root partition. 2. The second error (suggested by another user) is that I forgot to run /sbin/lilo after changing the SmoothWall's lilo.conf file. Thanks again for you help. |
All times are GMT -5. The time now is 12:39 PM. |