ian / New Slackware Install

Last active 1 month ago

Like 0

Do not run as script, extension is for syntax highlighting only

Revision 61d0ebdb34b90dfbbf6f1e90ec352b3c18ac1f6b

new-slackware-install Raw
1FRESH SLACKWARE INSTALL / UPDATE RUNBOOK
2
31. Install Slackware normally.
4 - UEFI
5 - ELILO
6 - Full package install
7 - Do NOT add random removable devices to fstab.
8
92. Boot the stock installation FIRST.
10 Verify:
11 uname -r
12 startx
13
14 Create normal user and verify KDE works BEFORE upgrading.
15
163. Configure slackpkg mirror.
17
184. Upgrade:
19 su -
20 slackpkg update gpg
21 slackpkg update
22 slackpkg install-new
23 slackpkg upgrade-all
24
25 On a fresh install:
26 config files -> OVERWRITE
27
28 DO NOT REBOOT.
29
305. Determine the NEW kernel version:
31
32 ls /lib/modules
33
34 Confirm the new version exists, e.g.:
35 /lib/modules/5.15.209
36
376. BUILD A NEW INITRD FOR THAT EXACT KERNEL.
38
39 /usr/share/mkinitrd/mkinitrd_command_generator.sh -k 5.15.209
40
41 Run the mkinitrd command it prints.
42
43 Then VERIFY:
44 ls -lh /boot/initrd.gz
45 ls /lib/modules/5.15.209
46
477. Update ELILO:
48
49 eliloconfig
50
51 This should copy BOTH the kernel and the newly generated
52 initrd into the EFI System Partition.
53
548. VERIFY THE ACTUAL EFI FILES BEFORE REBOOTING:
55
56 file /boot/efi/EFI/Slackware/vmlinuz
57 ls -lh /boot/efi/EFI/Slackware/initrd.gz
58 cat /boot/efi/EFI/Slackware/elilo.conf
59
60 `file .../vmlinuz` MUST report the new kernel version.
61
629. ONLY NOW REBOOT.
63
6410. After boot:
65
66 uname -r
67
68 It MUST match the version used with mkinitrd.
69
70 Then test:
71 startx