请输入您要查询的百科知识:

 

词条 Boot flag
释义

  1. See also

  2. References

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.[1][2] 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:".[3] 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.[4]

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[5] and fdisk.

Some buggy BIOSes test if the bootflag of at least one partition is set. Otherwise they ignore the device in boot-order. So even if the bootloader does not need the flag, it has to be set to start the bootcode from BIOS. {{Citation needed|reason=Reliable source needed for the whole paragraph|date=October 2015}}

See also

  • Master boot record
  • Disk partitioning
  • Boot loader

References

1. ^{{cite web |title = The MBR (master boot record) and the Partition Tables. |url = http://www.diydatarecovery.nl/kb_mbr_article.htm |website = DIY DataRecovery |accessdate = 2014-12-14}}
2. ^{{cite web |title = Master Boot Record |url = https://technet.microsoft.com/en-us/library/cc976786 |website = Microsoft TechNet |accessdate = 2015-04-20 |quote = 0x01BE [...] Boot Indicator. Indicates whether the volume is the active partition. Legal values include: 00. Do not use for booting. 80. Active partition.}}
3. ^{{cite web |last1 = Goodell |first1 = Dan |url = http://www.goodells.net/multiboot/partsigs.shtml |title = Fixing Windows 2000/XP Drive Letters |work = Understanding MultiBooting and Booting Windows from an Extended Partition |accessdate = 2014-12-14}}
4. ^{{cite web |title = Parted User's Manual - 4. Boot Loaders |url = https://www.gnu.org/software/parted/manual/html_chapter/parted_4.html |website = GNU Project |accessdate = 2014-12-14}}
5. ^{{cite web |title = Mark a partition as active |url = http://windows.microsoft.com/en-us/windows/mark-partition-active |website = Microsoft |accessdate = 2014-12-14}}

1 : Booting

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/11 23:40:15