Commit d0ae3c
2026-01-31 03:40:26 Anonymous: slackupdr 1| /dev/null .. slackupdr.md | |
| @@ 0,0 1,39 @@ | |
| + | # 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 |
| + | |
| + | <code>cp /etc/mkinitrd.conf.sample /etc/mkinitrd.conf</code> |
| + | |
| + | and then simply run slackupdr as root |
| + | |
| + | <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. |
