LILOCONFIG(8)

πŸ“¦ version 24.2, in nixos 26.05, nixpkgs unstable, ubuntu jammy

πŸ’– 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 existing lilo.conf. it's giving "move, i'm committing" πŸš€
  • -u β€” force overriding/update of the boot line in lilo.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 (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