Hello, I've got a second installation of Slackware 15.0 on my laptop, I'm going to upgrade it to Current. I did this on my main PC and followed the directions here:
https://docs.slackware.com/howtos:sl...:systemupgrade
The problem is when I ran
Code:
/usr/share/mkinitrd/mkinitrd_command_generator.sh -k x.x.xx (forgive me, I forgot what version it upgraded to)
I ran the command the shell script output and renamed everything in /boot as per instructions and my system refused to boot as it told me it could not find xx.xx.xx kernel modules. I used a Slackware-Current installation CD to fix it and had the installation setup do the initial ramdisk step and all was well. I would like to avoid this situation happening again.
I have a UEFI system and I'm currently using ELILO. What are the proper steps to ensure I've set my new kernel to boot properly? Thank you.
EDIT:
Hrmmm, I saw this snippet from this page:
https://docs.slackware.com/howtos:sl...:systemupgrade
Quote:
Add the kernel modules for your new kernel to the existing initrd file. That way, you have a single initrd image containing modules for multiple kernels. All you need to do is leave out the option “-c” which is the option to wipe the directory /boot/initrd-tree and start from scratch:
|
Code:
mkinitrd -k 2.6.37.6 -m ext3
Is this the missing step that would solve this?
EDIT: I don't think that's the issue, I ran the script and the following command:
Code:
mkinitrd -c -k 5.17.4 -f ext4 -r /dev/sdb2 -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.gz
However I got some concerning warnings:
Quote:
"WARNING: Could not find module "/lib/modules/5.17.4/kernel/fs/jbd2/jbd2.ko"
OK: /lib/modules/5.17.4/kernel/fs/mbcache.ko added.
OK: /lib/modules/5.17.4/kernel/fs/jbd2/jbd2.ko added.
OK: /lib/modules/5.17.4/kernel/fs/mbcache.ko added.
WARNING: Could not find module "/lib/modules/5.17.4/kernel/fs/ext4/ext4.ko"
|
I checked for the modules it said it could not find and they are there
Quote:
ls -l /lib/modules/5.17.4/kernel/fs/ext4/ext4.ko
-rw-r--r-- 1 root root 1729912 Apr 20 13:36 /lib/modules/5.17.4/kernel/fs/ext4/ext4.ko
|
Unsure if I should be concerned or not. I'm afraid when I reboot I'm going to have the same issue.