Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Boot folder

From Wikipedia, the free encyclopedia
(Redirected from/boot/)
Directory in Unix-like operating systems
This article has multiple issues. Please helpimprove it or discuss these issues on thetalk page.(Learn how and when to remove these messages)
This article'slead sectionmay be too short to adequatelysummarize the key points. Please consider expanding the lead toprovide an accessible overview of all important aspects of the article.(December 2024)
This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Boot folder" – news ·newspapers ·books ·scholar ·JSTOR
(June 2010) (Learn how and when to remove this message)
This articlecontainsinstructions, advice, or how-to content. Please helprewrite the content so that it is more encyclopedic ormove it toWikiversity,Wikibooks, orWikivoyage.(December 2024)
(Learn how and when to remove this message)

InUnix-likeoperating systems, aboot folder is thedirectory which holds files used inbooting the operating system, typically/boot. The usage is standardized withinLinux in theFilesystem Hierarchy Standard.[1]

Contents

[edit]

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

Linux

[edit]

LILO

[edit]

LILO creates and uses the following files:

  • map – a key file, which records where files needed by LILO during boot are stored. Following kernel upgrades, this file must be regenerated by running the "map installer", which is/sbin/lilo otherwise the system will not boot.
  • boot.xxyy – these 512-byte files are backups ofboot sectors, either themaster boot record (MBR) orvolume boot record (VBR), created when LILO overwrites a boot sector.xx andyy are the major and minor device numbers in hex;[5] for example, the drivesda has numbers 8, 0, hence its MBR is backed up toboot.0800 while the partitionsda3 has numbers 8,3, hence its VBR is backed up toboot.0803.

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

GRUB

[edit]

GRUB stores its files in the subdirectorygrub/ (i.e./boot/grub/). These files are mostly modules (.mod), with configuration stored ingrub.cfg.

Location

[edit]

/boot/ is often simply a directory on the main (or only) hard drivepartition. However, it may be a separate partition. A separate partition is generally only used when bootloaders are incapable of reading the main filesystem (e.g. LILO does not recognizeXFS) or other problems not easily resolvable by users.[citation needed]

OnUEFI systems, including most modern PCs, theEFI system partition is often mounted at/boot/,/efi/ or/boot/efi/.[6][7]

References

[edit]
  1. ^"3.5. /boot : Static files of the boot loader".Linux Foundation Referenced Specifications. March 19, 2015. RetrievedJune 7, 2021.
  2. ^Ward, Brian (2004).How Linux works what every superuser should know. San Francisco: No Starch Press. p. 219.ISBN 1593270356.
  3. ^Lombardo, John (2001).Embedded Linux. Indianapolis, Ind: New Riders. p. 17.ISBN 9780735709980.
  4. ^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 978-1593270360.
  5. ^"LILO mini-HOWTO: Background Information and Standard Installation".tldp.org. Retrieved2022-11-26.
  6. ^"EFI System Partition - Gentoo wiki".wiki.gentoo.org. Retrieved2024-02-15.
  7. ^"EFI system partition - ArchWiki".wiki.archlinux.org. Retrieved2024-02-15.


Stub icon

This article related to a type ofsoftware is astub. You can help Wikipedia byexpanding it.

Retrieved from "https://en.wikipedia.org/w/index.php?title=Boot_folder&oldid=1267101921"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp