Content deleted Content added
→Overview: Who says it is unimportant? Is this just opinion or is it declared in the partitioning standard / bootloader's documentation? Even if it is *written* to rarely, it is *read* every boot, and anything that clobbers it will prevent bootup. |
Artoria2e5 (talk | contribs) →Overview: full quote |
||
(18 intermediate revisions by 18 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
Line 8 ⟶ 9:
}}</ref>
A BIOS boot partition is needed
== Overview ==
[[File:GNU GRUB components.svg|thumb|upright=2|In the example 2 above, [[GRUB 2]] stores its {{Mono|core.img}} in a BIOS boot partition.]]
When used, the BIOS boot partition contains the second stage of the [[boot loader]] program, such as the
The [[globally unique identifier]] (GUID) for the BIOS boot partition in the GPT scheme is
| url = https://www.gnu.org/software/grub/manual/html_node/BIOS-installation.html
| 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 low so it can be as small as about 30 KiB; however, as future boot loaders might require more space, 1 MiB might be a reasonable BIOS boot partition size. Due to the [[1 MB partition alignment|1 MiB partition alignment]] policies used by most modern disk partitioning tools to provide optimum performance with [[Advanced Format]] disks, [[Solid-state drive|SSD devices]] and certain [[RAID]] configurations, some room is left allowing the placement of a BIOS boot partition between the GPT and the first partition aligned that way
== 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 34 ⟶ 42:
== See also ==
* [[Unified Extensible Firmware Interface]] (UEFI)
* [[Windows To Go]]
Line 45 ⟶ 50:
== External links ==
* [https://www.gnu.org/software/grub/manual/html_node/BIOS-installation.html#BIOS-installation BIOS installation], part of the GRUB2 documentation
* [http://www.funtoo.org
* [http://www.rodsbooks.com/gdisk/booting.html Booting from GPT], part of the GPT fdisk documentation
* [http://www.rodsbooks.com/gdisk/bios.html Legacy BIOS issues with GPT], February 22, 2014, by Rod Smith
[[Category:BIOS]]
[[Category:Disk partitions]]
|