Quote:
Originally Posted by ernie young
however nothing comes up except for Firmware & Headers since they are not blacklisted. Looking for Modules, Kernel, etc.
To follow Slackware best practices how do I get the kernels to appear when using slackpkg download kernel* or is there a way to upgrade like in the above example using installpkg? Thank you for the patience. I'm learning x64 -current.
|
Why did you blacklist the kernel packages in the first place? Have a look in your /etc/slackpkg/blacklist and comment the kernel* entries, keep the kernel-source uncommented if you don't need the source files (it's big!).
EDIT: ---
If it's only the kernel you're concerned about, if you remove its entries from /etc/slackpkg/blacklist then the packages will show up in the dialog window slackpkg upgrade-all opens. You can manually deselect them (move on the package and press space) from there on every update. You could also use the slackpkg download kernel* sequence to automagically download and verify them.
If you don't need an initial ramdisk, stick with the huge kernel (safest & easiest) vmlinuz-huge-smp*
As for the kernel headers & firmware packages, you always need to update them (recommended), regardless of the kernel you're currently using.
---
The safest way to install a new kernel is by keeping the old & functional, add a second entry in your boot loader for the new kernel, use installpkg new-kernel-package and installpkg new-kernel-modules-package, update your boot loader and then restart the system. In case the new kernel is not working on your system, you'll still have the alternative - boot loader - to boot the old kernel.
EDIT:---
In the 2 kernels manual update scenario, in your boot loader config file you should point to the appropriate kernel image from the /boot folder and don't use the vmlinuz symlink, just to avoid any mistakes.
Additionally, for further updates, it's easier to use the combination of installpkg and removepkg /var/log/packages/kernel-*(get the exact name)
Code:
ls -al /var/log/packages/kernel-*
Remove the oldest kernel&modules first, set your actual kernel&modules as the failsafe entry (boot loader), download and install the latest kernel&modules and set them as default (boot loader).
---
The easiest way (maybe appropriate for a beginner) to upgrade a kernel is to use slackpkg upgrade-all, select the kernel packages and follow what slackpkg instructs you to do - allow it to modify and update the boot loader. Restart your system and enjoy the new kernel. It usually works, no worries.
P.S.
You can manually get the packages from a Slackware mirror and configure the lilo boot loader - use the first half of this post as guidance:
https://www.linuxquestions.org/quest...ml#post6030818
And from this post you could learn how to verify the packages:
https://www.linuxquestions.org/quest...ml#post6031071
Slackware mirrors list:
https://mirrors.slackware.com/mirrorlist/