LILOCONFIG(8)
π NAME π
liloconfig β create a new lilo.conf file (with diskid and uuid, bestie, we're doing this the fancy way) β¨
π¦ SYNOPSIS π¦
liloconfig [-h] [-v] [-f] [-u] [lilo.conf]
πΈ DESCRIPTION πΈ
okay so liloconfig is a simple lil program whose whole job is creating a new lilo.conf file. that's it. that's the vibe. π
but bestie listen β after you make that new config file, you must run /sbin/lilo yourself. the config existing does not mean anything is installed. no cap. π
liloconfig uses the lilo.example.conf file as a template, so the final lilo.conf you get comes stuffed with lots of genuinely useful comments you can tweak for your own custom changes. thoughtful of it honestly π«Ά
please please please pay attention to the error messages if liloconfig can't find any images (/boot/vmlinuz*) oder image symlinks (/vmlinuz, /vmlinu.old). if that happens, you're gonna have to go search for those images yourself and make some changes in the /etc/lilo.conf file. because otherwise? no bootloader can be installed with /sbin/lilo. and a machine that won't boot is not the main character energy we're going for ππ
β¨ OPTIONS β¨
-hβ print a brief help. short, sweet, informative π«-vβ print verbose messages. it will yap (affectionately) about what it's doing π-fβ force overriding an existinglilo.conf. it's giving "move, i'm committing" π-uβ force overriding/update of the boot line inlilo.conf. that boot line is getting renovated whether it likes it or not π
π EXAMPLES π
Lines in the configuration file /etc/lilo.conf:
### LILO global section ###
#large-memory
lba32
#boot = /dev/sda
boot = /dev/disk/by-id/ata-SAMSUNG_SV1604N_S01FJ10X999999
#root = /dev/sda1
root = "UUID=18843936-00f9-4df0-a373-000d05a5dd44"
map = /boot/map
install = menu
menu-scheme = Wb:Yr:Wb:Wb
prompt
timeout = 100
vga = normal
#password =
#default = Linux
### LILO per-image section ###
image = /boot/vmlinuz-3.17-trunk-686
label = "Linux"
#root = /dev/sda1
#root = "UUID=18843936-00f9-4df0-a373-000d05a5dd44"
read-only
# restricted
# alias = 1
# optional
initrd = /boot/initrd.img-3.17-trunk-686
image = /boot/vmlinuz-3.14-trunk-686
label = "Linux Old"
#root = /dev/sda1
#root = "UUID=18843936-00f9-4df0-a373-000d05a5dd44"
read-only
# restricted
# alias = 2
# optional
initrd = /boot/initrd.img-3.14-trunk-686
look at those UUIDs and disk-ids, she's stable, she's deterministic, she's not gonna reshuffle your boot config when the kernel feels like renaming sda to sdb. we love a consistent queen πβ¨
π COPYRIGHT and LICENSE π
Copyright (C) 2011-2015 Joachim Wiedorn
This script is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
fr fr, it's free, go wild, just respect the GPL terms π
π§ AUTHOR π§
liloconfig was written by Joachim Wiedorn.
This manual page was written by Joachim Wiedorn <joodevel at joonet.de>.
π₯ SEE ALSO π₯
lilo(8), update-lilo(8), lilo-uuid-diskid(8)
and that's the whole page, bestie π«Ά this is version 24.2, dated 2015-11-22, straight from the liloconfig docs β now go run /sbin/lilo before i catch you slacking π
β¨
π¦ where this page comes from
- nixos 26.05: lilo 24.2
- nixpkgs unstable: lilo 24.2
- ubuntu jammy: lilo 1:24.2-5.1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms