LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Dual ( triple) Boot Ubuntu ( Mythbuntu ) using lilo instead of grub (https://www.linuxquestions.org/questions/slackware-14/dual-triple-boot-ubuntu-mythbuntu-using-lilo-instead-of-grub-937568/)

aaazen 04-01-2012 01:23 PM

Dual ( triple) Boot Ubuntu ( Mythbuntu ) using lilo instead of grub
 
I hate grub and much prefer lilo.

One of my machines now will boot one of 3 operating systems using lilo and not grub:
Slackware , Mythbuntu or NetBSD

Here are the relevant /etc/lilo.conf entries:
Code:

# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sda2
  label =  slackware
  read-only  # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /ubuntu/vmlinuz
  initrd = /ubuntu/initrd.img
  root="UUID=a64394d8-1e6e-47b1-9831-142c2f08e5f5"
  label = mythbuntu
  read-only  # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
# NetBSD bootable partition config begins
other = /dev/sda3
  label = netbsd
  table = /dev/sda
# NetBSD bootable partition config ends

On Slackware I mount the Mythbuntu partition under the /ubuntu directory.

The entry finds the Mythbuntu kernel and the initrd image by using
symbolic links in the root directory:
Code:

/ubuntu/vmlinuz    -> /ubuntu/boot/vmlinuz-3.0.0-12-generic
/ubuntu/initrd.img -> /ubuntu/boot/initrd.img-3.0.0-12-generic

I had trouble with the Mythbuntu entry until I changed the root= entry from root=/dev/sda1 to root="UUID..."

The symptom was that the /scripts/init-bottom script could not find the root directory.

dumdadum 07-24-2013 03:36 PM

is that all?
 
Simply not forgetting to declare /dev/sda1 will most likely help, or so I think...

Cheers,
Dumdadum


All times are GMT -5. The time now is 08:37 AM.