lr是什么| 11月5号什么星座| 2003属什么| 疤痕增生是什么引起的| 农历六月六是什么节日| 什么眼镜品牌好| 节点是什么意思| 猪日冲蛇什么意思| 人为什么要工作| 鲱鱼罐头那么臭为什么还有人吃| 11楼五行属什么| 右手臂痛是什么预兆| 小姐姐是什么意思| 脑洞是什么意思| oa是什么| 泌乳素过高女性会出现什么症状| 卧室养什么花好| 蚂蚱和蝗虫有什么区别| 鼻炎用什么药效果好| 一鸣惊人指什么动物| 口腔医学技术是干什么的| 规则是什么意思| 避孕药什么时候吃有效| 世界上最大的单位是什么| 头晕什么原因| 什么叫不动产| 梦见古墓是什么意思| 薤白是什么东西| 4.2什么星座| 副镇长是什么级别| 最贵的榴莲是什么品种| 招魂是什么意思| 血压偏低有什么危害| 绿豆汤有什么功效| 发票抬头是什么| 给老师送花送什么花合适| 什么是职业| 发什么什么大| vk是什么意思| 女性膀胱炎吃什么药| 水银是什么东西| xgrq是什么烟| 黄体破裂是什么原因造成的| 珍珠状丘疹用什么药膏| 糠是什么东西| 踏雪寻梅什么意思| 突然晕倒是什么原因造成的| sage什么颜色| 什么零食热量低有利于减肥| 犬瘟是什么原因引起的| 氧氟沙星和诺氟沙星有什么区别| 霉点用什么可以洗掉| 为什么会尿频尿急| kb是什么意思| 疱疹性咽峡炎是什么引起的| 飞机为什么不能说一路顺风| 副词是什么意思| 广州的市花是什么| 元帅是什么生肖| 过敏有什么症状表现| 活菩萨是什么意思| 为什么头发总是很油| 姘头是什么意思| 势在必得是什么意思| 舌系带短有什么影响| 抖s是什么意思| 左肾积水有什么症状| 什么同道合| thenorthface是什么牌子| 一个月的小猫吃什么| 肺积水有什么症状| 公务员是做什么工作的| 豚是什么动物| 授记是什么意思| 麝香是什么东西| 手机服务密码是什么| 德国什么东西值得买| 宣是什么意思| 肝脾肿大是什么症状| 黄飞鸿代表什么生肖| 想吃辣是身体缺乏什么| 桃对什么| 教师节送老师什么礼物最好| 盥洗是什么意思| 三月十八是什么星座| 肝结节挂什么科| 艾滋病阳性是什么意思| 摩羯座女和什么星座最配| 一什么金鱼| 天下乌鸦一般黑是什么意思| 猫贫血吃什么补血最快| 脾气虚吃什么药| 经警是做什么的| 头疼发烧吃什么药| 69属什么| 宁五行属性是什么| 什么级别| 双子是什么星座| 小别胜新婚什么意思| 饺子什么馅儿最好吃| 焖是什么意思| 毛字出头念什么| 阳强易举是什么意思| 小孩老是咬手指甲是什么原因| 耵聍栓塞是什么意思| 醉酒第二天吃什么才能缓解难受| 摇篮是什么意思| 上海古代叫什么| 玉兰片和竹笋有什么区别| 角色扮演叫什么| 武则天墓为什么不敢挖| 胡萝卜吃多了有什么坏处| 什么积木| 办理健康证需要什么材料| 9月3号是什么节日| 打鼾是什么意思| 吃六味地黄丸有什么好处| 心颤是什么症状| 查肝炎做什么检查项目| 闭门思过是什么意思| 结石什么原因引起的| 尿肌酐是什么| 上腹部饱胀是什么原因| 外向孤独症是什么意思| 喝红糖水有什么好处| 女真人是什么民族| 棉毛布是什么面料| 黄体破裂是什么意思| 备孕期间要注意什么| 野是什么意思| 吃完避孕药不能吃什么东西| 涂防晒霜之前要涂什么| 闹乌龙是什么意思| 怀孕初期流产有什么症状| 手心出汗什么原因| 咳嗽有痰吃什么药好得最快最有效| 女生的下体长什么样| 绝经后子宫内膜增厚是什么原因| 马与什么属相相克相冲| 腿上长水泡是什么原因| 屁多屁臭是什么原因| 胃疼吃什么水果| 夏天为什么不能喝中药| 豪五行属什么| 山什么路| 4月9号是什么星座| 胃胀痛吃什么药| 孩子经常流鼻血是什么原因| 什么叫耳石症| 糖粉是什么| 什么是心律失常| 孕妇吃什么补铁| 顽固不化是什么意思| 手上长斑点是什么原因| 舌苔发黑是什么原因| 公顷是什么意思| 什么什么大笑| 经常感觉口渴口干是什么原因| 嗳气和打嗝有什么区别| 绞股蓝有什么作用| 梦见生娃娃是什么意思| 什么叫985大学| 心悸是什么病| 杂面是什么面| 大便隐血阳性是什么意思| 头晕拉肚子是什么情况| 狗狗尾巴溃烂用什么药| 蔡明是什么民族| 医生和医师有什么区别| 局部皮肤瘙痒什么原因| 摔伤用什么药好得快| 属狗的是什么命| 中期唐氏筛查查什么| 三价铁离子什么颜色| 喝苹果醋有什么好处和坏处| 脉冲是什么| 双下肢水肿是什么原因| 吃什么食物降尿酸最快| 叩首是什么意思| 肠胀气是什么原因| 龟头感染用什么药| 4月8日是什么星座| 京东自营店什么意思| 肋骨神经痛吃什么药| 脑梗吃什么药最好| 跟腱炎挂什么科| 9.28什么星座| 改良剂是什么| hcg阴性是什么意思| 孕妇多吃什么水果比较好| 打感情牌是什么意思| 吃什么可以降胆固醇| 牛肉丸子配什么菜好吃| 发什么发什么| 手淫有什么危害| 肌张力是什么意思| 神甫是什么意思| 日本牛郎是干什么的| 梦见自己手机丢了是什么意思| 地笼捕河虾用什么诱饵| 胃火重吃什么药| 肺热吃什么| 肚子痛吃什么药好| 怀孕什么时候吃鹅蛋最好| 宫颈鳞状上皮增生是什么意思| 脸上长白斑是什么原因引起的| 肌腱是什么组织| 梦见做饭是什么意思| 风湿性关节炎吃什么药| 二甲双胍不能和什么药一起吃| 属猴的跟什么属相最配| p是什么意思| 脸上长斑吃什么药调理| 好滴是什么意思| 什么专业好找工作| 桃李满天下是什么生肖| 心脏房颤吃什么药好| 中国信什么教| 澳门什么时候回归| 不遗余力什么意思| 按摩有什么好处| 肾绞痛可能由于什么原因引起| 拉肚子吃什么水果好| 谁也不知道下一秒会发生什么| 风骚什么意思| 灵魂伴侣是什么意思| 99年属什么的| 妊娠期是指什么时候| 保守是什么意思| 范仲淹是什么朝代的| ppi是什么意思| 海尔洗衣机e3是什么故障| 我不知道你在说什么英文| 2017属什么生肖| 甲减长期服用优甲乐有什么危害| 绝非偶然是什么意思| 什么是小男人| 艾字五行属什么| 贝五行属什么| 算筹指的是什么| hj是什么意思| 什么地说话| 宫颈转化区三型是什么意思| 经常流鼻血是什么原因| 物理压榨油是什么意思| 宫外孕出血是什么颜色| 金刚芭比什么意思| 白喉是什么病| 兔跟什么生肖配对最好| o型血不能和什么血型的人生孩子| 西腾手表属于什么档次| 下午三点多是什么时辰| 计数单位是指什么| 起死回生是什么生肖| 植物人是什么| 屁股尾骨疼是什么原因| 腮腺炎不能吃什么东西| 骨折不能吃什么| bug什么意思| tsh是什么| 郭麒麟什么学历| 为什么要打胰岛素| 打疫苗前后要注意什么| 补办医保卡需要什么资料| 百度Jump to content

2.6ben血量裂风弓流星打宝 专业搬砖爆猎首不是梦

From Wikipedia, the free encyclopedia
百度   通知明确,中国气象局将统一接收门户网站上的公众留言,按照职能分工,分送有关内设机构提出办理意见。

A volume boot record (VBR) (also known as a volume boot sector, a partition boot record or a partition boot sector) is a type of boot sector introduced by the IBM Personal Computer. It may be found on a partitioned data storage device, such as a hard disk, or an unpartitioned device, such as a floppy disk, and contains machine code for bootstrapping programs (usually, but not necessarily, operating systems) stored in other parts of the device. On non-partitioned storage devices, it is the first sector of the device. On partitioned devices, it is the first sector of an individual partition on the device, with the first sector of the entire device being a Master Boot Record (MBR) containing the partition table.

The code in volume boot records is invoked either directly by the machine's firmware or indirectly by code in the master boot record or a boot manager. Code in the MBR and VBR is in essence loaded the same way.

Invoking a VBR via a boot manager is known as chain loading. Some dual-boot systems, such as NTLDR (the boot loader for all releases of Microsoft's Windows NT-derived operating systems up to and including Windows XP and Windows Server 2003), take copies of the bootstrap code that individual operating systems install into a single partition's VBR and store them in disc files, loading the relevant VBR content from file after the boot loader has asked the user which operating system to bootstrap. In Windows Vista, Windows Server 2008 and newer versions, NTLDR was replaced; the boot-loader functionality is instead provided by two new components: WINLOAD.EXE and the Windows Boot Manager.

In file systems such as FAT12 (except for in DOS 1.x), FAT16, FAT32, HPFS and NTFS, the VBR also contains a BIOS Parameter Block (BPB) that specifies the location and layout of the principal on-disk data structures for the file system. (A detailed discussion of the sector layout of FAT VBRs, the various FAT BPB versions and their entries can be found in the FAT article.)

Technical details

[edit]

Signature

[edit]

The presence of an IBM PC compatible boot loader for x86-CPUs in the boot sector is by convention indicated by a two-byte hexadecimal sequence called the boot sector signature (55h at fixed offset +1FEh and AAh at +1FFh) for sector sizes of 512 bytes or more.[nb 1] For 512 byte sectors, the boot sector signature also marks the end of the sector. VBRs on smaller and larger sectors may show signatures at the end of the actual sector size as well, however, the semantics described herein apply to the 16-bit signature at +1FEh only.

This signature indicates the presence of at least a dummy boot loader which is safe to be executed, even if it may not be able to actually load an operating system. It does not indicate the presence of a (or even a particular) file system or operating system, although some old versions of DOS prior to 3.3 relied on it in their process to detect FAT-formatted media (newer versions do not). Boot code for other platforms or CPUs should not use this signature, since this may lead to a crash when the BIOS passes execution to the boot sector assuming that it contains valid executable code. This implies that FAT12/FAT16 media to be used also by very old versions of DOS must maintain the signature even if they do not contain an operating system or are meant to be bootable on other platforms only; consequently they must contain at least an x86 compatible (dummy) loader as well (for comparison, see examples of FAT on the Atari ST and with MSX-DOS). Nevertheless, some media for other platforms erroneously contain the signature even without a x86 compatible dummy loader, making the check not 100% reliable in practice.

The signature is tested for by most System BIOSes since (at least) the IBM PC/AT (but not by the original IBM PC and some other machines). Even more so, it is also checked by most MBR boot loaders before passing control to the boot sector. Some BIOSes (like the IBM PC/AT) perform the check only for fixed disk / removable drives, while for floppies and superfloppies it is enough to start with a byte greater or equal to 06h and the first nine words not to contain the same value, before the boot sector is accepted as valid, thereby avoiding the explicit test for 55h, AAh on floppies. Since old boot sectors (i.e. very old CP/M-86 and DOS media) sometimes do not feature this signature despite the fact that they can be booted successfully, the check can be disabled in some environments. This also reflects the fact that floppies can be formatted to use smaller sector sizes than 512 bytes.

If the BIOS or MBR code does not detect a valid boot sector and therefore cannot pass execution to the boot sector code, it will try the next boot device in the row. If they all fail it will typically display an error message and invoke INT 18h.[1] This will either start up optional resident software in ROM (ROM BASIC), attempt to remote boot via network, reboot the system via INT 19h after user confirmation, or cause the system to halt the bootstrapping process until the next power-up.[1]

From decimal offset 72 to 79, an NTFS PBR contains the partition UUID volume ID serial number.

Invocation

[edit]

The boot code in the VBR can assume that the BIOS has set up its data structures and interrupts and initialized the hardware. The code should not assume more than 32 KB of memory to be present for fail-safe operation;[1] if it needs more memory it should query INT 12h for it, since other pre-boot code (such as f.e. BIOS extension overlays, encryption systems, or remote bootstrap loaders) may be present elsewhere in memory as well (and would typically hide themselves from the boot sector by reducing the reported INT 12h memory accordingly, so that they do not get overwritten by the MBR's and VBR's actions). The BIOS Boot Specification allows for 64 KB of memory and explicitly recommends 0000h:7C00h to 0000h:FFFFh as memory space for MBR and/or VBR.[2][1] The boot code must not assume better CPUs than the original Intel 8088 or 8086 (used in the original PC) and make no assumptions in regard to the exact state of the hardware, the interrupt system (interrupts can be enabled or disabled) or the location and size of the stack. Although the original IBM BIOS initializes the DS, ES, and SS CPU registers to segment 0000h and maintains the initial stack at SS:SP = 0000h:0400h, this is not a condition to rely on, as not all BIOSes and MBR codes follow this convention. Registers not mentioned below must be treated as not initialized. Direct hardware access is not normally allowed. While the Disk Parameter Table (DPT/FDPB) is typically set up at 0000h:0078h in memory already, the VBR must move (and possibly fix-up) the DPT pointed to by INT 1Eh vector to this location (INT 1Eh not an interrupt, but a far pointer to the DPT).

Some conditions can be relaxed in controlled environments, for example, some boot loaders today assume to have up to 128 KB of memory to work with in normal operation (without querying for more), and some boot loaders using LBA access assume at least an Intel 80188 or 80186 CPU.

The VBR is loaded at memory location 0000h:7C00h[1] and with the following CPU registers set up when the prior bootstrap loader (that is, typically the BIOS or MBR, but possibly another boot loader) passes execution to it by jumping to 0000h:7C00h in the CPU's real mode.

  • CS:IP = 0000h:7C00h (fixed)

Some Compaq BIOSes erroneously use 07C0h:0000h instead. While this resolves to the same location in real mode memory, it is non-standard and should be avoided, since VBR code assuming certain register values or not written to be relocatible may not work otherwise.

  • DL = boot drive unit (floppies / superfloppies: 00h = first, 01h = second, ..., 7Eh; fixed disks / removable drives: 80h = first, 81h = second, ..., FEh; values 7Fh and FFh are reserved for ROM / remote drives and must not be used on disk).[3] DL is supported by IBM BIOSes as well as most other BIOSes. The Toshiba T1000 BIOS is known to not support this properly, and some old Wyse 286 BIOSes use DL values greater or equal to 2 for hard disks. USB sticks configured as superfloppies typically get an assignment of DL = 00h or 01h, however, some rare BIOSes erroneously present USB sticks configured as removable drives as DL = 01h as well, instead of using DL = 80h. Traditionally, only values 00h and 80h were passed on by the BIOS during boot, and many boot sectors were hard-wired to work with fixed values, anyway. The Plug and Play BIOS Specification and BIOS Boot Specification (BBS) allow other devices to become bootable as well.[2][4] The later also recommends that the MBR and VBR codes use DL rather than internally hardwired defaults.[2] (NB. MS-DOS/PC DOS and OS/2 VBRs ignore the provided DL value and instead retrieve the value stored at offset +19h in the Extended BIOS Parameter Block (EBPB) or at sector offset +1FDh in DOS versions 3.2 to 3.31. Some versions of DR-DOS use DL starting with 7.02. DR-DOS 7.07 VBRs default to use DL and ignore the BPB value, but SYS /O[:nnn] can be used to reinvoke the old behaviour of using the BPB value or even enforce a particular boot drive unit nnn to be stored there.[3] On FAT32 volumes, FreeDOS takes advantage of the DL value as well, whereas it does so on FAT12/FAT16 volumes only, if the BPB value is set to FFh.)
  • DH bit 5 = 0: device supported through INT 13h; else: don't care (should be zero). DH is supported by some IBM BIOSes. Some MBR and VBR codes preserve the value of DH.

Systems with Plug-and-Play BIOS or BBS support will provide a pointer to PnP data in addition to DL:[2][4]

  • DL = boot drive unit (see above)
  • ES:DI = points to "$PnP" installation check structure

This information allows the boot loader (in the MBR or VBR) to actively interact with the BIOS or a resident PnP / BBS overlay in memory in order to configure the boot order etc., however, this information is ignored by most standard MBRs and VBRs. Ideally, ES:DI is passed on, but PnP-enabled operating systems typically also have fallback methods to retrieve the PnP BIOS entry point later on so that most operating systems do not rely on this. Information in ES:DI can be used as a hint - according to the PnP BIOS specification, "$PnP" installation check structure could be found by searching for a signature of the ASCII string $PnP in system memory starting from F0000h to FFFFFh at every 16 byte boundary.

With partitioned media, when the VBR is launched by the MBR (or different boot loader) rather than the BIOS, many implementation pass additional information to the VBR besides just DL (and sometimes DH and ES:DI as well):

  • DS:SI = points to the 16-byte MBR partition table entry (in the relocated MBR) corresponding with the activated VBR. PC-MOS 5.1 depends on this to boot if no partition in the partition table is flagged as bootable. In conjunction with LOADER, Multiuser DOS and REAL/32 boot sectors use this to locate the boot sector of the active partition (or another bootstrap loader like IBMBIO.LDR at a fixed position on disk) if the boot file (LOADER.SYS) could not be found. PTS-DOS 6.5 and S/DOS 1.0 use this in conjunction with their Advanced Active Partition (AAP) feature. In addition to support for LOADER and AAPs, DR-DOS 7.07 can use this to determine the necessary INT 13h access method when using its dual CHS/LBA VBR code. The MBR code of OS/2, MS-DOS (prior to 7.0), PC DOS (up to 7.10), and Windows NT (up to ca. 2007) happens to provide this same interface as well, although these systems do not make use of it. The MBR installed by Windows NT 6.0 (and higher) uses other registers, and is therefore no longer compatible with these extensions. While some extensions only depend on the 16-byte partition table entry itself, other extensions may require the whole 4 (or 5 entry) partition table to be present as well.

Under DR-DOS 7.07 an extended interface may be optionally used by the MBR and in conjunction with LOADER:

  • AX = magic signature indicating the presence of this extension (0EDCh)
  • DL = boot drive unit (see above)
  • DS:SI = points to the 16-byte MBR partition table entry used (see above)
  • ES:BX = start of boot sector or special "NEWLDR" sector image (typically 7C00h)
  • CX = reserved

In conjunction with GUID partition tables (GPT), an Enhanced Disk Drive Specification (EDD) 4 Hybrid MBR proposal recommends another extension to the MBR to VBR interface:[5]

  • EAX = 54504721h ("!GPT")
  • DL = boot drive unit (see above)
  • ES:DI = points to "$PnP" installation check structure (see above)
  • DS:SI = points to a Hybrid MBR handover structure, consisting of a 16-byte dummy MBR partition table entry (with all bits set except for the boot flag at offset +0h and the partition type at offset +4h) followed by additional data. This is partially compatible with the older DS:SI extension discussed above, if only the 16-byte partition entry, not the whole partition table is required by these older extensions.

See also

[edit]

Notes

[edit]
  1. ^ The signature at offset +1FEh in boot sectors is 55h AAh, that is 55h at offset +1FEh and AAh at offset +1FFh. Since little-endian representation must be assumed in the context of IBM PC compatible machines, this can be written as 16-bit word AA55h in programs for x86 processors (note the swapped order), whereas it would have to be written as 55AAh in programs for other CPU architectures using a big-endian representation. Since this has been mixed up numerous times in books and even in original Microsoft reference documents, this article uses the offset-based byte-wise on-disk representation to avoid any possible misinterpretation.

References

[edit]
  1. ^ a b c d e Paul, Matthias R. (2025-08-14) [2025-08-14]. "Caldera OpenDOS 7.01/7.02 Update Alpha 3 IBMBIO.COM - README.TXT and BOOT.TXT - A short description of how OpenDOS is booted". Archived from the original on 2025-08-14. Retrieved 2025-08-14. [1]
  2. ^ a b c d Compaq Computer Corporation; Phoenix Technologies Ltd.; Intel Corporation (2025-08-14). BIOS Boot Specification 1.01 (PDF). 1.01. Archived from the original (PDF) on 2025-08-14.
  3. ^ a b Paul, Matthias R. (2025-08-14) [2025-08-14]. "The continuing saga of Windows 3.1 in enhanced mode on OmniBook 300". MoHPC - the Museum of HP Calculators. Archived from the original on 2025-08-14. Retrieved 2025-08-14. […] SYS […] /O[:nnn] Override IPL reported boot drive unit (n=0..126, 128..254). […] Preparing target disk... Choosing FAT12 CHS Boot Sector (requires IPL to report boot unit). Treating target as diskette or superfloppy medium (boot drive unit 0). Writing new Boot Sector... […]
  4. ^ a b Compaq Computer Corporation; Phoenix Technologies Ltd.; Intel Corporation (2025-08-14). Plug and Play BIOS Specification 1.0A (PDF). 1.0A. Archived from the original (PDF) on 2025-08-14.
  5. ^ Elliott, Robert (2025-08-14). "EDD-4 Hybrid MBR boot code annex" (PDF). Hewlett-Packard, T13 Technical Committee. e09127r3. Archived (PDF) from the original on 2025-08-14. Retrieved 2025-08-14.

Further reading

[edit]
摩拳擦掌是什么生肖 单抗是什么药 乳白色是什么颜色 男性生殖痒是什么原因 女神是什么意思
孕激素六项检查什么时候做 金牛座是什么星象 早上起来口苦是什么原因 破伤风疫苗什么时候打 石膏的主要成分是什么
香榧是什么东西 突然头晕冒虚汗什么原因 高祖父的爸爸叫什么 7月7日什么星座 111什么意思
拉垮什么意思 一事无成是什么生肖 腊月初八是什么星座 皮肤瘙痒症用什么药 新生儿便秘吃什么好
后脖子出汗多是什么原因kuyehao.com 没有什么了不起hcv8jop9ns6r.cn 不苟言笑的苟是什么意思hcv8jop2ns0r.cn 暂住证和居住证有什么区别hcv9jop3ns1r.cn 请佛像回家有什么讲究wzqsfys.com
精神焦虑症有什么表现有哪些hcv9jop3ns6r.cn 什么牌子的洗发水好用0297y7.com 心字底的字有什么jingluanji.com 色弱是什么意思jasonfriends.com 缓刑是什么意思还要坐牢吗hcv9jop7ns4r.cn
黄鱼是什么鱼hcv7jop5ns4r.cn 肌红蛋白偏低说明什么hcv8jop7ns1r.cn 什么地奔跑hcv9jop4ns3r.cn 活塞运动是什么hcv8jop9ns4r.cn 男人交生育保险有什么用hcv7jop7ns2r.cn
贝壳吃什么hcv9jop3ns2r.cn 心脏疼痛挂什么科zhiyanzhang.com 巴氏征阳性是什么意思hcv9jop2ns6r.cn 小壁虎吃什么hcv8jop4ns6r.cn 儿时是什么意思kuyehao.com
百度