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.
hey,
i just upgraded my kernel and everythings work great, but my questions is how does my system know which kernel goes with which files in the boot directory. For example for my 2.6.10 kernel i have 3 files, called vmlinuz, conifg, System.map (of courese all links to x-2.6.10 where x is the name) But how does my system know to boot to my older 2.4.22 kernel, i have the same three files, but they are all named x.ide-2.4.22. does all 3 files need to be named in the same format for the system to boot different kernels.
Another thing can I have as many kernel as they want or will lilo get mad?
you can have as many kernels as you'd like (keeping within certain hardware constraints) -- Lilo (or Grub) is what tells your system where/what the kernels are.
When you are booting, the only file you need is the kernel. System.map is needed by a few things, like klogd and actually does an advance search in /boot /usr/src/linux and / to find it, looks the kernel name etc. The config file is not needed at all. It's just the file that has your kernel configuration. It's really usefull since you can use it to recompile your kernel without having to configure everything from scratch.
I think you may have as many kernels as you want. I've seen people having 4 -5 kernels, but i think you may have a lot more.
for 2.6.9 kernel : vmlinuz-2.6.9 and System.map-2.6.9
( and so-on for all other kernels. )
the config-files i keep in my home dir. as : config-2.6.9 ( etc. )
this is handy as i found out last week .
on Slack 10.1 install i formatted my /boot partition ( oops ), but
with all the config files in the home-dir. i had a working kernel
without a prob. in no time.
and for the alsa modules: some time ago it was needed to keep them as modules ( and i always do that ) but i don't know if that's still true.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.