/boot/

In Linux, and other Unix-like operating systems, the /boot/ directory holds files used in booting the operating system. The usage is standardized in the Filesystem Hierarchy Standard.

Contents

The contents are mostly Linux kernel files or boot loader files, depending on the boot loader, most commonly (on Linux) LILO or GRUB.

Linux

LILO

LILO creates and uses the following files:

LILO may also use other files, such as message and also stores a non-boot configuration file in /etc/lilo.conf

GRUB

GRUB stores its files in the subdirectory grub/ (so /boot/grub/). These files are mostly modules (.mod), with configuration stored in grub.cfg.

Location

/boot/ is often simply a directory on the main (or only) hard drive partition. However, it may be a separate partition. Using a separate partition is generally only used when bootloaders are incapable of reading the main filesystem (e.g. SILO does not recognize XFS) or other problems not easily resolvable by users.

References

  1. Ward, Brian (2004). How Linux works what every superuser should know. San Francisco: No Starch Press. p. 219. ISBN 1593270356.
  2. Lombardo, John (2001). Embedded Linux. Indianapolis, Ind: New Riders. p. 17. ISBN 9780735709980.
  3. Kopper, Karl (2008). The Linux Enterprise Cluster build a highly available cluster with commodity hardware and free software. San Francisco: No Starch Press. p. 61. ISBN 1593270364.
  4. LILO mini-HOWTO: 2.4 How Can I Uninstall Lilo?


This article is issued from Wikipedia - version of the Saturday, September 12, 2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.