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.
I'm just checking to make sure I don't shoot myself in the foot!
I recently got a new hard drive. Of course I had to reinstall Slackware from an ISO. In doing so I think I must have selected a generic kernel when I normally use the huge.
I have blocked the generic kernel in the /etc/slackpkg/blacklist file so I only get the huge kernel when I update. The generic kernel that was initially loaded was 5.12.10. I'm now on 5.12.12.
When the slackpkg upgrade-all is done loading the packages it tells me that I have more than one kernel. I read the /boot/README.initrd file and it says that you should have an entry initrd=/boot/initrd.gz in the /etc/lilo.conf file. I don't have this entry.
Anyway, I see in the /boot directory the following files:
System.map-generic-5.12.10
config-generic-5.12.10
initrd.gz
vmlinuz-generic-5.12.10
Just to tidy things up is it safe to remove those files?
Of course I had to reinstall Slackware from an ISO.
Hallo,
In future you might try this nifty method of migrating your currently installed
system to a new HDD. I found it years ago and it's really slick!
(Might need to boot with install disk and chroot into the 'cloned' system and re-install lilo, but it still saves a lot of time depending on how your system is set up).
In doing so I think I must have selected a generic kernel when I normally use the huge.
Just so you know, this wasn't something you chose. Pat made the switch a few years back to default to the generic kernel and autogen an initrd during the installation process. You're of course welcome to switch back to the huge kernel.
Just so you know, this wasn't something you chose. Pat made the switch a few years back to default to the generic kernel and autogen an initrd during the installation process. You're of course welcome to switch back to the huge kernel.
Thanks for that. I thought I wasn't paying enough attention.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.