slackware:beginners_guide: Switch to a generic kernel: two fails: no mouse/keyboard under Xfce
Hello,
I followed the guide here: https://docs.slackware.com/slackware:beginners_guide # /usr/share/mkinitrd/mkinitrd_command_generator.sh returns no modules for kernel 5.15.19 inxi -F says the current kernel is 5.15.19 I used Ventoy and slackware64-15.0-install-dvd.iso for the install. Can someone explain the steps for the "Switch to a generic kernel" section @ https://docs.slackware.com/slackware:beginners_guide or point me to a tutorial? I have followed this guide twice; I end up without a working mouse and keyboard when Xfce starts. |
First of all, welcome to the forum.
Quote:
To help you out, we need some information on the system you are installing to. Is it an older BIOS based system or a newer UEFI system? Is it partitioned as mbr or gpt? Did you partition the disk? It might help if you posted exactly when and what .iso file you used for this install. To find out if the modules for 5.15.19 are installed, open a terminal and run the command: Quote:
Quote:
Slackware has moved on to kernel 5.15.63 in the last few days. The mirrors will all have 5.15.63 now. There is a UK mirror that preserves older packages. I have not used it, but many other users have. You could find the correct modules package on that mirror. The official media has files to help with UEFI systems. You can find them on any mirror. There is a README.initrd file, a README.uefi.txt file etc. You can find the url's for any mirror in the file /etc/slackpkg/mirrors. Have a look there for assistance. |
Thanks for the welcome and reply.
This is a Lenovo E545 64-bit UEFI/Legacy Boot (both)/Legacy first). This time I DD'd (USB drive): https://mirrors.slackware.com/slackw...nstall-dvd.iso Checksum matched. I partitioned the drive using Slackware: /dev/sda1 16G swap /dev/sda2 40G boot /dev/sda3 409G After "You may now login as 'root'", Linux 5.15.19 is displayed. bash-5.1# ls -l /var/lib/pkgtools/packages/ | grep kernel -rw-r--r-- 1 root root 106573 Aug 26 05:48 kernel-firmware-20220124_eb8ea1b-noarch-1 -rw-r--r-- 1 root root 1002 Aug 26 05:48 kernel-generic-5.15.19-x86_64-2 -rw-r--r-- 1 root root 30933 Aug 26 05:50 kernel-headers-5.15.19-x86-2 -rw-r--r-- 1 root root 1000 Aug 26 05:48 kernel-huge-5.15.19-x86_64-2 -rw-r--r-- 1 root root 330483 Aug 26 05:48 kernel-modules-5.15.19-x86_64-2 -rw-r--r-- 1 root root 4996908 Aug 26 05:53 kernel-source-5.15.19-noarch-2 I have not rebooted. From here, I can resume @ "Installing updates using slackpkg" (https://docs.slackware.com/slackware:beginners_guide)? |
Yes, the beginners guide does not deal with UEFI, however it looks like you want to boot in legacy mode. (You did not create a fat32 partition.)
Thats fine, you will have to use either lilo, or grub as the boot loader. When you try to create a initrd.gz file, us it with a -k parameter. With -k it makes sure it is looking for modules for 5.15.19. I would recommend you do that before you update the installation. I was wondering if on the first attempt you had updated the install, in which case you would not have modules for 5.15.19 installed. The man page is good if you need help with the initrd. |
Just in case... https://docs.slackware.com/howtos:sl..._uefi_hardware
|
Are you booted into the usb or the installed system?
|
Camorri,
Thanks, I will re-install again and run the script before # slackpkg update # slackpkg install-new # slackpkg upgrade-all colorpurple21859, Yes, I was booted into the installed OS; everything worked fine all week until a few minutes ago --- updating the system before # /usr/share/mkinitrd/mkinitrd_command_generator.sh seemed logical. |
Finally made it back.
I'm new to manual kernel maintenance. After several attempts, I just realized that the kernel in the message I've been getting after running # slackpkg update # slackpkg install-new # slackpkg upgrade-all is the same kernel version --- 5.15.19 x86_64 --- I successfully switched to following the steps here: https://docs.slackware.com/slackware:beginners_guide During the upgrade kernel-generic-5.15.63-x86_64-1.txz (headers, huge, modules, and source) are downloaded, but /usr/share/mkinitrd/mkinitrd_command_generator.sh isn't detecting the new kernel. It replies with: bash-5.1# /usr/share/mkinitrd/mkinitrd_command_generator.sh Modules for kernel 5.15.19 aren't installed. How do I get the script to detect the new kernel after install/upgrade? |
Quote:
you just tell the generator to look for modules for 5.15.63. |
All times are GMT -5. The time now is 03:35 AM. |