LDP/LDP/guide/docbook/Linux-Filesystem-Hierarchy/boot.xml

109 lines
4.8 KiB
XML
Raw Normal View History

<sect1 id="boot">
2003-09-05 10:47:54 +00:00
<title>/boot</title>
<para>This directory contains everything required for the boot process
except for configuration files not needed at boot time (the most notable
of those being those that belong to the GRUB boot-loader) and the map
installer. Thus, the /boot directory stores data that is used before
the kernel begins executing user-mode programs. This may include redundant
(back-up) master boot records, sector/system map files, the kernel and
other important boot files and data that is not directly edited by hand.
Programs necessary to arrange for the boot loader to be able to boot a
file are placed in /sbin. Configuration files for boot loaders are placed
in /etc. The system kernel is located in either / or /boot (or as under
Debian in /boot but is actually a symbolically linked at / in accordance
with the FSSTND).</para>
2003-09-05 10:47:54 +00:00
<para><variablelist><varlistentry><term>/boot/boot.0300</term><listitem><para>Backup
2003-09-14 11:47:21 +00:00
master boot record.</para></listitem></varlistentry>
<varlistentry><term>/boot/boot.b</term><listitem><para>This
2003-09-05 10:47:54 +00:00
is installed as the basic boot sector. In the case of most modern
Typos which can be located by the Find command: hierarchal -> hierarchical symobolic -> symbolic utilites -> utilities equivalencies -> equivalents ramdisc -> ramdisk progamming -> programming wich -> which kB -> KB perfomance -> performance deallocated -> unallocated firewallsblock -> firewalls block trafic -> traffic acknowledgments -> acknowledgements interoperatibility -> interoperability Appletalk.It shows (spaces after period) .../proc/tty.You'll find entries for drivers... (spaces after period) digestable -> digestible sytem -> system (a few places) symbollic -> symbolic workeable -> workable redering -> rendering utlitiy's -> utility's tunnneling -> tunnelling tby -> by ...'xinit' is a configuration method os starting up... #Change "os" to "of". dissallowed -> disallowed specfic -> specific ...see inetd(8) for further informations. #Change "informations" to "information". ...so it is OK to start it early in the bootprocess. #Change "bootprocess" to "boot process". anymore -> any more ctrlaltdel -> ctrl-alt-del spearated -> separated startupfiles -> startup files dialing -> dialling seperate -> separate (a couple of places) utliise -> utilise bookeeping -> bookkeeping ...Three commands can be used to access the contents of this file dump-acct, sa... #Change "dump-acct" to "dump - acct" (put spaces around dash) or "dump: acct". accouting -> accounting userful -> useful Organiztion -> Organization prorgams -> programs woul dhappen -> would happen unlikt -> unlike ...or a violation of the operating systems or hardwares protection mechanisms... #Change "systems" to "system's" and "hardwares" to "hardware's" symolic -> symbolic progams -> programs Unlilke -> Unlike Commentry -> Commentary Progamming -> Programming english -> English vietnamese -> Vietnamese french -> French chinese -> Chinese italian -> Italian buddhist -> Buddhist catholic -> Catholic christian -> Christian Geoff Farrell, gfarrell(at)netspeed(dot)com(dot)au
2004-01-20 03:20:53 +00:00
distributions it is actually a symbolic link to one of four files
2003-09-05 10:47:54 +00:00
/boot/boot-bmp.b, /boot/boot-menu.b, /boot/boot-text.b, /boot/boot-compat.b
which allow a user to change the boot-up schema so that it utilises a splash
screen, a simple menu, a text based interface or a minimal boot loader to
ensure compatibility respectively. In each case re-installation of lilo is
necessary in order to complete the changes. To change the actual
Typos which can be located by the Find command: hierarchal -> hierarchical symobolic -> symbolic utilites -> utilities equivalencies -> equivalents ramdisc -> ramdisk progamming -> programming wich -> which kB -> KB perfomance -> performance deallocated -> unallocated firewallsblock -> firewalls block trafic -> traffic acknowledgments -> acknowledgements interoperatibility -> interoperability Appletalk.It shows (spaces after period) .../proc/tty.You'll find entries for drivers... (spaces after period) digestable -> digestible sytem -> system (a few places) symbollic -> symbolic workeable -> workable redering -> rendering utlitiy's -> utility's tunnneling -> tunnelling tby -> by ...'xinit' is a configuration method os starting up... #Change "os" to "of". dissallowed -> disallowed specfic -> specific ...see inetd(8) for further informations. #Change "informations" to "information". ...so it is OK to start it early in the bootprocess. #Change "bootprocess" to "boot process". anymore -> any more ctrlaltdel -> ctrl-alt-del spearated -> separated startupfiles -> startup files dialing -> dialling seperate -> separate (a couple of places) utliise -> utilise bookeeping -> bookkeeping ...Three commands can be used to access the contents of this file dump-acct, sa... #Change "dump-acct" to "dump - acct" (put spaces around dash) or "dump: acct". accouting -> accounting userful -> useful Organiztion -> Organization prorgams -> programs woul dhappen -> would happen unlikt -> unlike ...or a violation of the operating systems or hardwares protection mechanisms... #Change "systems" to "system's" and "hardwares" to "hardware's" symolic -> symbolic progams -> programs Unlilke -> Unlike Commentry -> Commentary Progamming -> Programming english -> English vietnamese -> Vietnamese french -> French chinese -> Chinese italian -> Italian buddhist -> Buddhist catholic -> Catholic christian -> Christian Geoff Farrell, gfarrell(at)netspeed(dot)com(dot)au
2004-01-20 03:20:53 +00:00
&#39;boot-logo&#39; you can either use utilities such as fblogo or the more
2003-09-14 11:47:21 +00:00
refined bootsplash.</para></listitem></varlistentry>
<varlistentry><term>/boot/chain.b</term><listitem><para>Used
to boot non-Linux operating systems.</para></listitem></varlistentry>
<varlistentry><term>/boot/config-kernel-version</term><listitem><para>Installed
2003-09-05 10:47:54 +00:00
kernel configuration. This file is most useful when compiling kernels on
other systems or device modules. Below is a small sample of what the
2003-09-14 11:47:21 +00:00
contents of the file looks like.</para>
<para><screen>
CONFIG_X86=y
CONFIG_MICROCODE=m
CONFIG_X86_MSR=m
CONFIG_MATH_EMULATION=y
CONFIG_MTRR=y
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_SCSI_DEBUG=m
CONFIG_I2O=m
CONFIG_ARCNET_ETH=y
CONFIG_FMV18X=m
CONFIG_HPLAN_PLUS=m
CONFIG_ETH16I=m
CONFIG_NE2000=m
CONFIG_HISAX_HFC_PCI=y
CONFIG_ISDN_DRV_AVMB1_C4=m
CONFIG_USB_RIO500=m
CONFIG_QUOTA=y
CONFIG_AUTOFS_FS=m
CONFIG_ADFS_FS=m
CONFIG_AFFS_FS=m
CONFIG_HFS_FS=m
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_UMSDOS_FS=m
CONFIG_FBCON_VGA=m
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
CONFIG_SOUND=m
CONFIG_SOUND_CMPCI=m
CONFIG_AEDSP16=m
</screen></para>
<para>As you can see, it's rather
simplistic. The line begins with the configuration option and whether it's
2003-09-05 10:47:54 +00:00
configured as part of the kernel, as a module or not at all. Lines beginning
2003-09-14 11:47:21 +00:00
with a # symbol are comments and are not interpreted during processing.</para></listitem></varlistentry>
<varlistentry><term>/boot/os2_d.b</term><listitem><para>Used
to boot to the 0S/2 operating system.</para></listitem></varlistentry>
<varlistentry><term>/boot/map</term><listitem><para>Contains
the location of the kernel.</para></listitem></varlistentry>
<varlistentry><term>/boot/vmlinuz, /boot/vmlinuz-kernel-version</term><listitem><para>Normally the kernel or
symbolic link to the kernel.</para></listitem></varlistentry>
<varlistentry><term>/boot/grub</term><listitem><para>This
2003-09-05 10:47:54 +00:00
subdirectory contains the GRUB configuration files including boot-up images
and sounds. GRUB is the GNU GRand Unified Bootloader, a project which
intends to solve all bootup problems once and for all. One of the most
interesting features, is that you don&#39;t have to install a new partition
or kernel, you can change all parameters at boot time via the GRUB Console,
2003-09-14 11:47:21 +00:00
since it knows about the filesystems.</para></listitem></varlistentry>
<varlistentry><term>/boot/grub/device.map</term><listitem><para>Maps
2003-09-05 10:47:54 +00:00
devices in /dev to those used by grub. For example, (/dev/fd0) is
2003-09-14 11:47:21 +00:00
represented by /dev/fd0 and (hd0, 4) is referenced by /dev/hda5.</para></listitem>
</varlistentry><varlistentry><term>/boot/grub/grub.conf,
/boot/grub/menu.lst</term><listitem><para>Grub configuration file.</para></listitem></varlistentry>
<varlistentry><term>/boot/grub/messages</term><listitem><para>Grub
boot-up welcome message.</para></listitem></varlistentry>
<varlistentry><term>/boot/grub/splash.xpm.gz</term><listitem><para>Grub
2003-09-05 10:47:54 +00:00
boot-up background image.</para></listitem></varlistentry></variablelist></para>
</sect1>