LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-15-2005, 08:29 AM   #1
djgerbavore
Member
 
Registered: Jun 2004
Location: PA
Distribution: Fedora (latest git kernel)
Posts: 458

Rep: Reputation: 30
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
 
Old 02-15-2005, 08:54 AM   #2
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
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.
 
Old 02-15-2005, 09:15 AM   #3
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
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.
 
Old 02-15-2005, 09:20 AM   #4
djgerbavore
Member
 
Registered: Jun 2004
Location: PA
Distribution: Fedora (latest git kernel)
Posts: 458

Original Poster
Rep: Reputation: 30
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.
 
Old 02-15-2005, 09:37 AM   #5
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
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
 
Old 02-15-2005, 10:29 AM   #6
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
group files by strings in dir Melsync Programming 7 12-17-2005 12:53 PM
weird files in /root dir PennyroyalFrog Linux - Newbie 3 01-07-2005 08:21 PM
program files dir equal zchoyt Linux - Newbie 2 08-31-2004 02:43 AM
un tar all files in dir Longinus Linux - Newbie 6 03-18-2004 12:33 AM
bash script to rm all files in a dir keirobyn Programming 8 07-19-2002 07:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration