Windows 98 SE (Second Edition) MBR


Abstract

This is a continuation of Windows 95b MBR which discusses the PC boot sequence and the MBR (Master Boot Record) from a PC running Windows 95 OSR2. This page concentrates on the Windows 98SE MBR and the minor differences from the Windows 95 OSR2 MBR.

Table of Contents


Introduction

There are only minor differences between the Windows 95 (OSR2) MBR and the Windows 98 SE MBR. This page will only highlight the differences. See Windows 95b MBR for more in-depth information. The MBR show here was acquired from a new hard drive with a virgin installation of the retail version of Windows 98SE using 32-bit FAT on a Maxtor 30GB hard drive on 23 April 2001. Both Windows 98SE and the hard drive were bought new just previous to the installation.

Three partitions were created, a primary partition of 8184 MB using a 4 KB cluster size, and an extended partition with two logical partitions. The first logical partition was 8184 MB using 4 KB clusters and the second was 14353 MB using 8 KB clusters.

Go back to the Table of Contents.

Entire MBR record in hex and ASCII

The following is the MBR from the first physical sector (Cylinder 0, Side 0, Sector 1) of a hard drive with Windows 98SE installed. The entire first track was examined but only the first sector contained non-zero values.

Differences from the Windows 95b MBR are listed below:
OFFSET  0  1  2  3  4  5  6  7    8  9  A  B  C  D  E  F   0123456789ABCDEF
---------------------------------------------------------------------------
00000  33 C0 8E D0 BC 00 7C FB - 50 07 50 1F FC BE 1B 7C   3.....|.P.P....|
00010  BF 1B 06 50 57 B9 E5 01 - F3 A4 CB BE BE 07 B1 04   ...PW...........
00020  38 2C 7C 09 75 15 83 C6 - 10 E2 F5 CD 18 8B 14 8B   8,|.u...........
00030  EE 83 C6 10 49 74 16 38 - 2C 74 F6 BE 10 07 4E AC   ....It.8,t....N.
00040  3C 00 74 FA BB 07 00 B4 - 0E CD 10 EB F2 89 46 25   ..t...........F%
00050  96 8A 46 04 B4 06 3C 0E - 74 11 B4 0B 3C 0C 74 05   ..F.....t.....t.
00060  3A C4 75 2B 40 C6 46 25 - 06 75 24 BB AA 55 50 B4   :.u+@.F%.u$..UP.
00070  41 CD 13 58 72 16 81 FB - 55 AA 75 10 F6 C1 01 74   A..Xr...U.u....t
00080  0B 8A E0 88 56 24 C7 06 - A1 06 EB 1E 88 66 04 BF   ....V$.......f..
00090  0A 00 B8 01 02 8B DC 33 - C9 83 FF 05 7F 03 8B 4E   .......3.......N
000A0  25 03 4E 02 CD 13 72 29 - BE 75 07 81 3E FE 7D 55   %.N...r).u....}U
000B0  AA 74 5A 83 EF 05 7F DA - 85 F6 75 83 BE 3F 07 EB   .tZ.......u..?..
000C0  8A 98 91 52 99 03 46 08 - 13 56 0A E8 12 00 5A EB   ...R..F..V....Z.
000D0  D5 4F 74 E4 33 C0 CD 13 - EB B8 00 00 80 06 53 19   .Ot.3.........S.
000E0  56 33 F6 56 56 52 50 06 - 53 51 BE 10 00 56 8B F4   V3.VVRP.SQ...V..
000F0  50 52 B8 00 42 8A 56 24 - CD 13 5A 58 8D 64 10 72   PR..B.V$..ZX.d.r
00100  0A 40 75 01 42 80 C7 02 - E2 F7 F8 5E C3 EB 74 49   .@u.B......^..tI
00110  6E 76 61 6C 69 64 20 70 - 61 72 74 69 74 69 6F 6E   nvalid partition
00120  20 74 61 62 6C 65 2E 20 - 53 65 74 75 70 20 63 61    table. Setup ca
00130  6E 6E 6F 74 20 63 6F 6E - 74 69 6E 75 65 2E 00 45   nnot continue..E
00140  72 72 6F 72 20 6C 6F 61 - 64 69 6E 67 20 6F 70 65   rror loading ope
00150  72 61 74 69 6E 67 20 73 - 79 73 74 65 6D 2E 20 53   rating system. S
00160  65 74 75 70 20 63 61 6E - 6E 6F 74 20 63 6F 6E 74   etup cannot cont
00170  69 6E 75 65 2E 00 00 00 - 00 00 00 00 00 00 00 00   inue............
00180  00 00 00 8B FC 1E 57 8B - F5 CB 00 00 00 00 00 00   ......W.........
00190  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00   ................
001A0  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00   ................
001B0  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 80 01   ................
001C0  01 00 0B FE FF E2 3F 00 - 00 00 E4 E7 F3 00 00 00   ......?.........
001D0  C1 E3 0F FE BF 96 23 E8 - F3 00 B4 A9 9F 02 00 00   ......#.........
001E0  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00   ................
001F0  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 55 AA   ..............U.

Go back to the Table of Contents.

MBR - Partition Table structure

The partition table is 64 bytes consisting of 4 16-byte entries. Each entry has the following format:

Partition Table (as 4 16-byte entries):

Entry 1 - Details:

The values in the first column in the following table are bytes in the order found in the table entry.

Entry 1 in Partition Table
Bytes Binary Decimal Description
80     Boot indicator and BIOS drive number (80 = Bootable)
01   1 Starting head number = 1
0100 00|******|00000000 0 Starting cylinder number (10 bits) and
sector number (6 bits) (See notes below)
**|000001|******** 1
0B     Operating system indicator (Pri DOS, 32-bit FAT)
FE   254 Ending head number
FFE2 11|******|11100010 994 Ending cylinder number (10 bits) and
sector number (6 bits) (See notes below)
**|111111|******** 63
3F000000   63 Starting sector (relative to beginning of disk)
E4E7F300   15,984,612 Number of sectors in partition

Notes:

Entry 2 (Extended partition) - Details:

The values in the first column in the following table are bytes in the order found in the table entry. Note that the Ending cylinder number is meaningless since it is less than the Starting cylinder number. However the Starting sector and the Number of sectors in partition are correct and enough to identify the partition. The 0F System Indicator requires INT 13 Extensions which use these last two numbers as LBA addresses and not the other INT 13 CHS numbers. The Ending cylinder number of 662 is probably a wrap around artifact of using a 10-bit cylinder number since it should be 3734 and 3734 - (3 * 1024) = 662.

Entry 2 in Partition Table
Bytes Binary Decimal Description
00     Boot indicator and BIOS drive number (00 = Not Bootable)
00   1 Starting head number = 0
C1E3 11|******|11100011 995 Starting cylinder number (10 bits) and
sector number (6 bits)
**|000001|******** 1
0F     Operating system indicator (EXT DOS)
FE   254 Ending head number
BF96 10|******|10010110 662 Ending cylinder number (10 bits) and
sector number (6 bits)
**|111111|******** 63
23E8F300   15,984,675 Starting sector (relative to beginning of disk)
B4A99F02   44,018,100 Number of sectors in partition

Go back to the Table of Contents.

MBR - System Indicator

The following table is taken from Microsoft KB article Q69912. The Partition size of 0-2 GB given for System Indicator 0F appears to be meaningless as this hard disk had much larger logical partitions in the extended partition.

DOS/Windows partition types
System
Indicator
Fdisk
Reports
Partition
Size
FAT
Type
Starting in
version
01PRI DOS0-15 MB 12-BitMS-DOS 2.0
04PRI DOS16-32 MB 16-BitMS-DOS 3.0
05EXT DOS0-2 GB n/aMS-DOS 3.3
06PRI DOS32 MB-2 GB 16-bitMS-DOS 4.0
0EPRI DOS32 MB-2 GB 16-bitWindows 95
0FEXT DOS0-2 GB n/aWindows 95
0BPRI DOS512 MB - 2 TB 32-bitOSR2, Win 98
0CEXT DOS512 MB - 2 TB 32-bitOSR2, Win 98
(Types 0E, 0F, and 0C require extended Int13 support.)

Go back to the Table of Contents.

MBR - Program

Since as noted above the code portion is identical to that discussed in MBR - Program for Windows 95b, see that document for further info.

Go back to the Table of Contents.


MBR/Boot Index

Home Page

This page was created on 4 May 2001, last updated on 26 June 2001.