SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The other option is to just modify grub.cfg. I do the following and this only makes changes to the first menuentry section.
Code:
#modify as needed for specific kernel
/usr/sbin/grub-mkconfig | sed '/^menuentry/,/^}/{s/5.15.19/5.16.8/; s/vmlinuz\-huge\-/vmlinuz\-generic\-/}' > /boot/grub/grub.cfg
I can't use grub on my tower yet. I have to create a /uefi partition. I repurposed a hard drive that had another distro on it and the HD was set up with GPT partitioning, but I didn't pl;an on installing grub at the time, so I just have a /swap, /, and /home partition. I'll resize my home partition at some point and install grub, but I wanted to get better at installing new kernels first. Previously I just used the huge kernel and let the new kernels overwrite the huge kernel each time.
What does geninitrd do? I read that this is new to 15, but I am not sure what it does exactly and if it's something that I need to use.
It generates /boot/initrd.gz for the generic kernel.
At the moment, I prefer to execute mkinitrd manually and then copy both initrd.gz and vmlinuz* from /boot/ to /boot/efi/EFI/Slackware/ (and later adjust elilo.conf if I need to).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.