Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-15-2005, 08:29 AM
|
#1
|
|
Member
Registered: Jun 2004
Location: PA
Distribution: Fedora Core 8_x86 (latest git kernel)
Posts: 434
Rep:
|
files in /boot dir
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?
thanks,
djgerbavore
|
|
|
|
02-15-2005, 08:54 AM
|
#2
|
|
Member
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795
Rep:
|
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.
|
|
|
|
02-15-2005, 09:15 AM
|
#3
|
|
Senior Member
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783
Rep:
|
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.
|
|
|
|
02-15-2005, 09:20 AM
|
#4
|
|
Member
Registered: Jun 2004
Location: PA
Distribution: Fedora Core 8_x86 (latest git kernel)
Posts: 434
Original Poster
Rep:
|
okay thanks....
That makes sense,
also, do i need soundcore as a module to get my sound working in linux?? (using ALSA drivers and util)
djgerbavor3
Last edited by djgerbavore; 02-15-2005 at 09:21 AM.
|
|
|
|
02-15-2005, 09:37 AM
|
#5
|
|
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721
Rep:
|
For naming of the files in /boot i always use. :
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.
egag
|
|
|
|
02-15-2005, 10:29 AM
|
#6
|
|
Senior Member
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783
Rep:
|
Quote:
|
do i need soundcore as a module to get my sound working in linux??
|
The answer is yes. Anyway do /sbin/lsmod, to see all the modules running.
Check the "used by" entry.
Last edited by perfect_circle; 02-15-2005 at 10:34 AM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:04 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|