Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
Boot flag

A boot flag is a 1-byte value in a non-extended partition record, within a master boot record. It appears at the beginning of a partition record, as the value 0x80. A value of 0x00 indicates the partition does not have the boot flag set. Any other value is invalid.

Its primary function is to indicate to a MS-DOS/MS Windows-type boot loader which partition to boot. In some cases it is used by Windows XP/2000 to assign the active partition the letter "C:". The active partition is the partition where the boot flag is set. DOS and Windows allow only one boot partition to be set with the boot flag.

Other boot loaders used by third-party boot managers (such as GRUB or XOSL) can be installed to a master boot record and can boot primary or extended partitions, which do not have the boot flag set.

There are many disk editors that can modify the boot flag, such as Disk Management in Windows, GPartEd in Linux, and fdisk.

Some BIOSes test if the boot flag of at least one partition is set, otherwise they ignore the device in boot-order. Therefore, even if the bootloader does not need the flag, it has to be set to start the boot code from BIOS.

We don't have any images related to Boot flag yet.
We don't have any YouTube videos related to Boot flag yet.
We don't have any PDF documents related to Boot flag yet.
We don't have any Books related to Boot flag yet.
We don't have any archived web articles related to Boot flag yet.

See also

References

  1. "The MBR (master boot record) and the Partition Tables". DIY DataRecovery. Archived from the original on 2015-02-15. Retrieved 2014-12-14. https://web.archive.org/web/20150215230134/http://www.diydatarecovery.nl/kb_mbr_article.htm

  2. "Master Boot Record". Microsoft TechNet. Retrieved 2015-04-20. 0x01BE [...] Boot Indicator. Indicates whether the volume is the active partition. Legal values include: 00. Do not use for booting. 80. Active partition. https://technet.microsoft.com/en-us/library/cc976786

  3. Goodell, Dan. "Fixing Windows 2000/XP Drive Letters". Understanding MultiBooting and Booting Windows from an Extended Partition. Retrieved 2014-12-14. http://www.goodells.net/multiboot/partsigs.shtml

  4. "Parted User's Manual - 4. Boot Loaders". GNU Project. Retrieved 2014-12-14. https://www.gnu.org/software/parted/manual/html_chapter/parted_4.html

  5. "Mark a partition as active". Microsoft. Retrieved 2014-12-14. http://windows.microsoft.com/en-us/windows/mark-partition-active

  6. Smith, Rod. "Legacy BIOS issues with GPT". GPT fdisk Tutorial. Retrieved 2020-06-14. https://www.rodsbooks.com/gdisk/bios.html