FRESH SLACKWARE INSTALL / UPDATE RUNBOOK

1. Install Slackware normally.
   - UEFI
   - ELILO
   - Full package install
   - Do NOT add random removable devices to fstab.

2. Boot the stock installation FIRST.
   Verify:
       uname -r
       startx

   Create normal user and verify KDE works BEFORE upgrading.

3. Configure slackpkg mirror.

4. Upgrade:
       su -
       slackpkg update gpg
       slackpkg update
       slackpkg install-new
       slackpkg upgrade-all

   On a fresh install:
       config files -> OVERWRITE

   DO NOT REBOOT.

5. Determine the NEW kernel version:

       ls /lib/modules

   Confirm the new version exists, e.g.:
       /lib/modules/5.15.209

6. BUILD A NEW INITRD FOR THAT EXACT KERNEL.

       /usr/share/mkinitrd/mkinitrd_command_generator.sh -k 5.15.209

   Run the mkinitrd command it prints.

   Then VERIFY:
       ls -lh /boot/initrd.gz
       ls /lib/modules/5.15.209

7. Update ELILO:

       eliloconfig

   This should copy BOTH the kernel and the newly generated
   initrd into the EFI System Partition.

8. VERIFY THE ACTUAL EFI FILES BEFORE REBOOTING:

       file /boot/efi/EFI/Slackware/vmlinuz
       ls -lh /boot/efi/EFI/Slackware/initrd.gz
       cat /boot/efi/EFI/Slackware/elilo.conf

   `file .../vmlinuz` MUST report the new kernel version.

9. ONLY NOW REBOOT.

10. After boot:

       uname -r

    It MUST match the version used with mkinitrd.

    Then test:
       startx