LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-25-2010, 10:32 AM   #1
littlebigman
Member
 
Registered: Aug 2008
Posts: 521

Rep: Reputation: 32
Question [boot] What do those files do?


Hello

While running "apt-file show linux-image-2.6.31-22-generic", I notice those files in /boot:

Code:
linux-image-2.6.31-22-generic: /boot/System.map-2.6.31-22-generic
linux-image-2.6.31-22-generic: /boot/abi-2.6.31-22-generic
linux-image-2.6.31-22-generic: /boot/config-2.6.31-22-generic
linux-image-2.6.31-22-generic: /boot/vmcoreinfo-2.6.31-22-generic
linux-image-2.6.31-22-generic: /boot/vmlinuz-2.6.31-22-generic
Does someone know what those files do exactly? Why is there no initrd.(gz/lz), since I read that to keep the kernel (vmlinuz) small, most drivers are not part of it and must be loaded dynamically (from initrd while the kernel is still booting up, and from the real root filesystem once the mass-storage can be mounted)?

Thank you.
 
Old 08-25-2010, 10:07 PM   #2
scott_R
Member
 
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 746

Rep: Reputation: 31
Take all this with a grain of salt...I'm tired.

System.map is pretty much what it says, a map between the kernel and the known addresses of hardware.

abi is the application binary interface, which are the kernel "hooks" a program can call to process commands, system libraries, etc. Because these machine language addresses move from time to time, the abi provides a common directory for applications to reference.

config essentially states whatever modules and kernel settings are available. Usually 'y' - yes, 'n' - no, and 'm' - module available.

vmcoreinfo is primarily for determining which information shows up during 'core dumps' (crashes).

vmlinuz is the compressed kernel that your system uses upon boot.

You're generally not going to want to remove any of these, as they're fairly small in comparison to hard drives today, and more or less essential for a healthy (and easily diagnosed) system. I have half a dozen of each, and the largest is 4Meg, with the whole directory at 62Meg...a drop in the bucket.

On the other hand, if you're particular about every byte of space, you can compile the kernel to hard-code most of this (and leave out some of the debugging stuff), and reduce this further...but in most cases you'll lose far more than you'll gain.

After all, if these things weren't useful, they probably wouldn't exist in most distros, right?

Last edited by scott_R; 08-25-2010 at 10:08 PM.
 
Old 09-10-2010, 06:33 AM   #3
littlebigman
Member
 
Registered: Aug 2008
Posts: 521

Original Poster
Rep: Reputation: 32
Thanks Scott for the education. There's enough space even on a USB key, so I asked because I was curious to know what those other files did, since I read that the whole Linux kernel lives in vmlinuz.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Speeding up LiveDVD boot, is it possible to get a list of files access on boot? MikeyCarter Linux - Software 1 11-17-2009 02:38 AM
how to recover Suse 11.0 /boot files if Ubuntu's grub lost them & can't boot to suse streams &dragonflies SUSE / openSUSE 6 10-18-2008 08:17 PM
Deleting files from /boot sealgair Linux - Server 6 09-03-2008 06:49 PM
boot up files rakesh_em Linux - Newbie 4 09-26-2004 10:40 AM
What are these files (/boot) for? plan9 Linux - Newbie 2 06-08-2004 07:54 PM


All times are GMT -5. The time now is 05:58 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration