Still a continuation from my elilo woes. I think I'm nearly there. However I stumble on the finish line.
At reboot, the new kernel (5.15.145) couldn't find its modules. Right now, the system is up with the USB boot stick, so I can connect to it over the network.
I temporarily recommented the kernel entries in the blacklist and downloaded the kernel packages.
Code:
# cd /var/cache/packages/patches/packages/linux-5.15.145/
# installpkg kernel-headers-5.15.145-x86-1.txz
# cd ..
# upgradepkg kernel-firmware-20231222_a7dee43-noarch-1.txz
Yes I ran installpkg on all the kernel packages.
Code:
# cd /boot
# cp vmlinuz-generic-5.15.145 efi/EFI/Slackware/
# cp vmlinuz-huge-5.15.145 efi/EFI/Slackware/
Code:
# /usr/share/mkinitrd/mkinitrd_command_generator.sh -k 5.15.145
# mkinitrd -c -k 5.15.145 -f ext4 -r /dev/nvme0n1p3 -m xhci-pci:ohci-pci:ehci-pci:xhci-hcd:uhci-hcd:ehci-hcd:hid:usbhid:i2c-hid:hid_generic:hid-asus:hid-cherry:hid-logitech:hid-logitech-dj:hid-logitech-hidpp:hid-lenovo:hid-microsoft:hid_multitouch:jbd2:mbcache:crc32c_intel:crc32c_generic:ext4 -u -o /boot/initrd-5.15.145.gz
# cp initrd-5.15.145.gz efi/EFI/Slackware/
I added the version to the output file.
Code:
# ls /boot
README.initrd -> /usr/doc/mkinitrd-1.4.11/README.initrd
System.map -> System.map-generic-5.15.145
System.map-generic-5.15.145
System.map-generic-5.15.19
System.map-huge-5.15.145
System.map-huge-5.15.19
config -> config-generic-5.15.145.x64
config-generic-5.15.145.x64
config-generic-5.15.19.x64
config-huge-5.15.145.x64
config-huge-5.15.19.x64
efi/
elilo-ia32.efi*
elilo-x86_64.efi*
grub/
initrd-5.15.145.gz
initrd-tree/
initrd.gz
inside.bmp
inside.dat
onlyblue.bmp
onlyblue.dat
slack.bmp
tuxlogo.bmp
tuxlogo.dat
vmlinuz -> vmlinuz-generic-5.15.145
vmlinuz-generic -> vmlinuz-generic-5.15.145
vmlinuz-generic-5.15.145
vmlinuz-generic-5.15.19
vmlinuz-huge-5.15.145
vmlinuz-huge-5.15.145
vmlinuz-huge-5.15.19
Code:
# ls efi/EFI/Slackware/
elilo.conf*
elilo.efi*
initrd-5.15.145.gz*
initrd.gz*
vmlinuz*
vmlinuz-generic-5.15.145*
vmlinuz-huge-5.15.145*
I figured a pure copy of the first entry would do, but add the version number as I had generated them earlier.
Code:
# nano elilo.conf
chooser=simple
delay=1
timeout=1
#
image=vmlinuz
label=vmlinuz
initrd=initrd.gz
read-only
append="root=/dev/nvme0n1p3 vga=normal ro"
image=vmlinuz-5.15.145
label=vmlinuz-5.15.145
initrd=initrd-5.15.145.gz
read-only
append="root=/dev/nvme0n1p3 vga=normal ro"
Is there anything simple I missed, or screwed up? A space or , in the wrong spot? Something I can do to make my system bootable?