cannot get elilo to boot kernel from alternate partition (Slack 14.2)-Syntax problem?
by RJHJR from LinuxQuestions.org on (#5DDTK)
I have no problem booting kernels on sda5. I'm trying to add an entry to boot another kernel that resides on sda6. According to the instructions, the entry to boot the alt kernel should take the form of [dev_name:]/path/file. I've tried every permutation of this command I can think of and nothing seems to work. Below is a copy of the latest elilo.conf I've tried:
chooser=simple
default=generic
delay=5
timeout=1
#
image=vmlinuz-huge-4.4.240
label=huge
read-only
append="root=/dev/sda5 vga=normal ro"
image=vmlinuz-generic-4.4.240
initrd=initrd.gz
label=generic
read-only
append="root=/dev/sda5 vga=normal ro"
image=/sda6:/sda6/boot/vmlinuz
label=absolute
read-only
append="root=/dev/sda6 vga=normal ro"
where "/sda6:" is the dev_name (?: with a ':'?); "/dev/sda6/boot" is the path and "vmlinuz" is the filename.
The alt kernel is at /dev/sda6/boot/vmlinuz. There is no initrd in the directory, just the following entries:
21:54:50 /sda6/boot:> ls -l
total 17528
drwxr-xr-x 3 root 4096 Jan 24 15:38 .
drwxr-xr-x 22 root 4096 Jan 24 15:37 ..
drwxr-xr-x 2 root 4096 Jul 5 2019 grub
lrwxrwxrwx 1 root 38 Jan 24 15:25 README.initrd -> /usr/doc/mkinitrd-1.4.11/README.initrd
lrwxrwxrwx 1 root 22 Jan 24 15:38 System.map -> System.map-huge-5.10.1
-rw-r--r-- 1 root 6559759 Dec 19 17:25 System.map-huge-5.10.1
-rw-r--r-- 1 root 136 Jan 24 15:38 boot_message.txt
-rw-r--r-- 1 root 426 Apr 13 2018 coffee.dat
lrwxrwxrwx 1 root 18 Jan 24 15:38 config -> config-huge-5.10.1
-rw-r--r-- 1 root 230231 Dec 19 15:59 config-huge-5.10.1.x64
-rwxr-xr-x 1 root 216219 Jun 12 2018 elilo-ia32.efi
-rwxr-xr-x 1 root 238531 Jun 12 2018 elilo-x86_64.efi
-rw-r--r-- 1 root 22578 Apr 13 2018 inside.bmp
-rw-r--r-- 1 root 432 Apr 13 2018 inside.dat
-rw-r--r-- 1 root 6878 Apr 13 2018 onlyblue.bmp
-rw-r--r-- 1 root 424 Apr 13 2018 onlyblue.dat
-rw-r--r-- 1 root 15634 Mar 27 2011 slack.bmp
-rw-r--r-- 1 root 33192 Apr 13 2018 tuxlogo.bmp
-rw-r--r-- 1 root 423 Apr 13 2018 tuxlogo.dat
lrwxrwxrwx 1 root 19 Jan 24 15:38 vmlinuz -> vmlinuz-huge-5.10.1
lrwxrwxrwx 1 root 19 Jan 24 15:25 vmlinuz-huge -> vmlinuz-huge-5.10.1
-rw-r--r-- 1 root 10574080 Dec 19 17:25 vmlinuz-huge-5.10.1
What am I missing? Any words of advice would be humbly accepted and appreciated!


chooser=simple
default=generic
delay=5
timeout=1
#
image=vmlinuz-huge-4.4.240
label=huge
read-only
append="root=/dev/sda5 vga=normal ro"
image=vmlinuz-generic-4.4.240
initrd=initrd.gz
label=generic
read-only
append="root=/dev/sda5 vga=normal ro"
image=/sda6:/sda6/boot/vmlinuz
label=absolute
read-only
append="root=/dev/sda6 vga=normal ro"
where "/sda6:" is the dev_name (?: with a ':'?); "/dev/sda6/boot" is the path and "vmlinuz" is the filename.
The alt kernel is at /dev/sda6/boot/vmlinuz. There is no initrd in the directory, just the following entries:
21:54:50 /sda6/boot:> ls -l
total 17528
drwxr-xr-x 3 root 4096 Jan 24 15:38 .
drwxr-xr-x 22 root 4096 Jan 24 15:37 ..
drwxr-xr-x 2 root 4096 Jul 5 2019 grub
lrwxrwxrwx 1 root 38 Jan 24 15:25 README.initrd -> /usr/doc/mkinitrd-1.4.11/README.initrd
lrwxrwxrwx 1 root 22 Jan 24 15:38 System.map -> System.map-huge-5.10.1
-rw-r--r-- 1 root 6559759 Dec 19 17:25 System.map-huge-5.10.1
-rw-r--r-- 1 root 136 Jan 24 15:38 boot_message.txt
-rw-r--r-- 1 root 426 Apr 13 2018 coffee.dat
lrwxrwxrwx 1 root 18 Jan 24 15:38 config -> config-huge-5.10.1
-rw-r--r-- 1 root 230231 Dec 19 15:59 config-huge-5.10.1.x64
-rwxr-xr-x 1 root 216219 Jun 12 2018 elilo-ia32.efi
-rwxr-xr-x 1 root 238531 Jun 12 2018 elilo-x86_64.efi
-rw-r--r-- 1 root 22578 Apr 13 2018 inside.bmp
-rw-r--r-- 1 root 432 Apr 13 2018 inside.dat
-rw-r--r-- 1 root 6878 Apr 13 2018 onlyblue.bmp
-rw-r--r-- 1 root 424 Apr 13 2018 onlyblue.dat
-rw-r--r-- 1 root 15634 Mar 27 2011 slack.bmp
-rw-r--r-- 1 root 33192 Apr 13 2018 tuxlogo.bmp
-rw-r--r-- 1 root 423 Apr 13 2018 tuxlogo.dat
lrwxrwxrwx 1 root 19 Jan 24 15:38 vmlinuz -> vmlinuz-huge-5.10.1
lrwxrwxrwx 1 root 19 Jan 24 15:25 vmlinuz-huge -> vmlinuz-huge-5.10.1
-rw-r--r-- 1 root 10574080 Dec 19 17:25 vmlinuz-huge-5.10.1
What am I missing? Any words of advice would be humbly accepted and appreciated!