LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Please, explanation abou file on /boot!!!! (https://www.linuxquestions.org/questions/linux-newbie-8/please-explanation-abou-file-on-boot-445295/)

xcore_on 05-16-2006 05:56 AM

Please, explanation abou file on /boot!!!!
 
Please, anyone can explanation about those files on /boot?

-vmlinuz-X.X.XX-X-386
-System.map-X.X.XX-X-386
-initrd.img-X.X.XX-X-386
-config-X.X.XX-X-386


thanls in advance!

BobNutfield 05-16-2006 06:10 AM

Hi

Quote:

-vmlinuz-X.X.XX-X-386
This is the actual kernel itself

Quote:

-System.map-X.X.XX-X-386
This is a location routine to assign various file and devices on bootup. This is created when the kernel is compiled

-initrd.img-X.X.XX-X-386

Many modern linux distros use a modular kernel, which allows modules to be added without requiring that the kernel be rebuilt. If your root filesystem is on a device whose drive is a module (as is frequently of SCSI disks), you can use the initrd facility , which provides a two stage boot process, to first set up a temporary root filesystem in a RAM disk containing the modules you need to add and then load the modules and mount the real root filesystem. The RAM disk containing the temporary filesystem is the special device file /dev/initrd. It is not always necessary to use an initrd, in fact, I don't on Slackware, but do in Fedora.

config-X.X.XX-X-386


This is a file containing the information on how the kernel was compiled, what is enabled and what is available as a module.

Hope this helps

Bob

xcore_on 05-16-2006 06:20 AM

very helpful you explanation.

so, come on more in deep:

- whats order those files are loaded on boot?

- I can change config-X.X.XX-X-386 for change my kernel, or only on recompilation?

BobNutfield 05-16-2006 06:28 AM

For a complete detailed description of the boot process, look here.

No, you cannot change the configuration file. This file is automatically created when the kernel is compiled.

Bob

BobNutfield 05-16-2006 06:31 AM

Correction to the above: The configuration file is changed automatically when you install a new module.

Bob


All times are GMT -5. The time now is 04:38 PM.