User Tools

Site Tools


slackupdr

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
slackupdr [2024/05/18 20:24] – created wigumsslackupdr [2024/07/23 16:19] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====slackupdr====+====== slackupdr ======
  
 slackupdr automates the use of slackpkg, manages installation of multiple kernels & updates LILO & ELILO bootloaders. The script expects to be run as the root user. slackupdr is menu & config file driven. it is on  https://slackbuilds.org/repository/15.0/system/slackupdr/?search=slackupdr once installed you will need to create a mkinitrd.conf slackupdr automates the use of slackpkg, manages installation of multiple kernels & updates LILO & ELILO bootloaders. The script expects to be run as the root user. slackupdr is menu & config file driven. it is on  https://slackbuilds.org/repository/15.0/system/slackupdr/?search=slackupdr once installed you will need to create a mkinitrd.conf
Line 8: Line 8:
  
 <code>slackupdr</code> <code>slackupdr</code>
 +
 +
 +==== REQUIREMENTS ====
 +
 +<code>/etc/mkinitrd.conf</code>
 +
 +This file is normally optional in Slackware. slackupdr does not
 +allow the administrator to pass options on the command line to mkinitd.
 +A sample file /etc/mkinitrd.sample should be available to the
 +administrator. See mkinitrd.conf(5) for more information.
 +
 +<code>/etc/slackpkg/slackupdr.conf</code>
 +
 +This file is provided with slackupdr. All but 2 of the variables set
 +in this file can be left to default. The 2 exceptions are TEMPLATE_LILO
 +& TEMPLATE_ELILO. See slackupdr.conf(5) for more information.
 +
 +<code>TEMPLATE_LILO & TEMPLATE_ELILO</code>
 +
 +Depending on the bootloader in use, only 1 of these 2 variables requires modification. This applies the the "LILO Updater" & "EFI Updater" menu items. These templates are used to completely rebuild either lilo.conf or elilo.conf.
 +
 +The administrator can add or delete lines in the templates as needed with special attention to adding the required comments. There are 3 types of comments that the script uses to process the templates.
 +
 +The lines with the "#CLONE" comment are copied as-is with the "#CLONE" comment removed before the save to disk.
 +
 +There is a single line with the "#DEFAULT" comment that must be present. This line is used to point to the default kernel on boot. The "#DEFAULT" comment is removed before the save to disk.
 +
 +The final 2 comments are the "#GENERIC" & "#HUGE" comments that are required on the lines that make up the kernel image sections. Both comment types are removed before the save to disk.
slackupdr.1716063891.txt.gz · Last modified: 2024/07/23 16:19 (external edit)