liloconfig8
Create new lilo.conf file (with diskid and uuid)
Usage
liloconfig [-h]
[-v]
[-f]
[-u]
[lilo.conf]
Overview
liloconfig is an simple program for creating a new lilo.conf file. After creating the new configuration file you must execute '/sbin/lilo'.
liloconfig use the lilo.example.conf file as template. In the final lilo.conf file you find many useful comments for custom changes.
Please pay attention about error messages if liloconfig cannot find any images (/boot/vmlinuz*) oder image symlinks (/vmlinuz, /vmlinu.old). Then you need to search for images by ourself and make some changes in the '/etc/lilo.conf' file. Otherwise no bootloader can be installed with '/sbin/lilo'.
Options
-
-h -
Print a brief help.
-
-v -
Print verbose messages.
-
-f -
Force overriding existing lilo.conf.
-
-u -
Force overriding/update of boot line in lilo.conf.
Examples
Lines in the configuration file /etc/lilo.conf:
### LILO global section ####large-memorylba32#boot = /dev/sdaboot = /dev/disk/by-id/ata-SAMSUNG_SV1604N_S01FJ10X999999#root = /dev/sda1root = "UUID=18843936-00f9-4df0-a373-000d05a5dd44"map = /boot/mapinstall = menumenu-scheme = Wb:Yr:Wb:Wbprompttimeout = 100vga = normal#password =#default = Linux### LILO per-image section ###image = /boot/vmlinuz-3.17-trunk-686label = "Linux"#root = /dev/sda1#root = "UUID=18843936-00f9-4df0-a373-000d05a5dd44"read-only# restricted# alias = 1# optionalinitrd = /boot/initrd.img-3.17-trunk-686image = /boot/vmlinuz-3.14-trunk-686label = "Linux Old"#root = /dev/sda1#root = "UUID=18843936-00f9-4df0-a373-000d05a5dd44"read-only# restricted# alias = 2# optionalinitrd = /boot/initrd.img-3.14-trunk-686
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.
Releases
10 releases since Debian 2.2 (Potato); the text changed 4 times.
-f since Debian 7 (Wheezy);
-h since Debian 7 (Wheezy);
-u since Debian 8 (Jessie);
-v since Debian 7 (Wheezy).