Content deleted Content added
Artoria2e5 (talk | contribs) →Overview: full quote |
|||
(45 intermediate revisions by 27 users not shown) | |||
Line 1:
{{Short description|Partition used by GNU GRUB on BIOS to boot an operating system with GUID Partition Table}}
{{Refimprove|date=June 2014}}
The '''BIOS boot partition''' is a [[
| url = https://wiki.archlinux.org/index.php/GUID_Partition_Table
| title = GUID Partition Table
| date = 2015-03-19 | accessdate = 2015-03-05
| website = archlinux.org
}}</ref>
A BIOS boot partition is needed on GPT-partitioned storage devices to hold the second stages of GRUB. On traditional [[Master Boot Record|MBR]]-partitioned devices, the [[disk sector]]s immediately following the first are usually unused, as the partitioning scheme does not designate them for any special purpose and partitioning tools avoid them for alignment purposes. On GPT-based devices, the sectors hold the actual partition table, necessitating the use of an extra partition. On MBR-partitioned disks, boot loaders are usually implemented so the portion of their code stored within the MBR, which cannot hold more than 512 bytes, operates as a first stage that serves primarily to load a more sophisticated second stage, which is, for example, capable of reading and loading an [[operating system kernel]] from a [[file system]].
== Overview ==
[[File:GNU GRUB components.svg|thumb|
When used, the BIOS boot partition contains the second stage of the [[boot loader]] program, such as the
| url = http://www.gnu.org/software/grub/manual/html_node/BIOS-installation.html▼
The [[globally unique identifier]] (GUID) for the BIOS boot partition in the GPT scheme is {{samp|21686148-6449-6E6F-744E-656564454649<sub>16</sub>}}<ref>{{cite web
| title = GNU GRUB Installation, Section 3.4: BIOS installation
| accessdate = 2014-06-26
| website = gnu.org
}}</ref>
}}</ref> (which, when written to a GPT in the required little endian fields, forms the ASCII string "<tt>Hah!IdontNeedEFI</tt>").<!-- See talk page for some notes on endianness confusion. --> In the context of GPT on a BIOS-based computer, a BIOS boot partition is similar in some respects to the [[EFI System partition]], which is used by systems based on [[Extensible Firmware Interface|EFI]]. The EFI System partition holds a filesystem and files used by the UEFI, while the BIOS boot partition is used in BIOS-based systems and accessed without a filesystem by holding raw binary code.▼
<ref>
{{cite web
| url = https://sourceforge.net/p/gptfdisk/code/ci/master/tree/parttypes.cc
| title = parttypes.cc in the gptfdisk source code
| accessdate = 2023-05-03
| website = gptfdisk project on sourceforge.net
▲}}</ref> (which, when written to a GPT in the required little endian fields, forms the ASCII string "<
The size requirements for a BIOS boot partition are quite
== Creation ==
The following utilities are known to support BIOS boot partitions:
* [[cfdisk]]
* [[fdisk]]
* [[GNU Parted]] (2.0 or later).
* [[GParted]], the front-end to GNU Parted.
Line 27 ⟶ 43:
== See also ==
* [[Unified Extensible Firmware Interface]] (UEFI)
* [[Windows To Go]]
Line 34 ⟶ 49:
== External links ==
* [
* [http://www.rodsbooks.com/gdisk/booting.html Booting from GPT], part of the GPT fdisk documentation
▲*[http://www.funtoo.org/wiki/GUID_Booting_Guide The Funtoo Linux GUID Booting Guide]
*
[[Category:BIOS]]
[[Category:
|