User Tools

Site Tools


lilo

This is an old revision of the document!


lilo bootloader

LILO (Linux Loader) is a boot loader for Linux and the default bootloader for non EFI slackware installs.

we need multiple kernels to boot. whether you run stable or -current you want to always have a known working kernel to fall back on. first we will install the kernels of your choice using slackupdr

slackupdr

once your kernels are installed edit lilo.conf

nano /etc/lilo/conf

find the kernel stanza and we will expand it to include the new kernels. we are also going to add boot entries for huge versus generic kernels. find this stanza

# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sda2
  label = huge
  read-only

we will add stanzas for the kernels we've installed

prompt
timeout=50
boot=ADD_YOUR_BOOT_DEVICE_HERE
root=ADD_YOUR_ROOT_DEVICE_HERE
lba32
compact
append="ADD_YOUR_KERNEL_APPEND_ENTRIES_HERE"
vga=normal
default=Gen6.9.1
image=/boot/vmlinuz-generic-6.6.30
  label=Gen6.6.30
  initrd=/boot/initrd-6.6.30.gz
  read-only
image=/boot/vmlinuz-generic-6.9.1
  label=Gen6.9.1
  initrd=/boot/initrd-6.9.1.gz
  read-only
image=/boot/vmlinuz-huge-6.6.30
  label=Hug6.6.30
  initrd=/boot/initrd-6.6.30.gz
  read-only
image=/boot/vmlinuz-huge-6.9.1
  label=Hug6.9.1
  initrd=/boot/initrd-6.9.1.gz
  read-only
lilo.1716416130.txt.gz · Last modified: 2024/07/23 16:19 (external edit)