-
Notifications
You must be signed in to change notification settings - Fork 2
Dialog Edit Boot Sector

The Boot Sector dialog allows inspection and modification of the boot record for the active image.
It provides structured access to the BIOS Parameter Block (BPB), extended boot parameters, and the bootstrap code, making it possible to review or adjust disk layout information and boot-related metadata in a controlled way.
- Menu: Edit -> Boot Sector
The Boot Record section contains the fields that define disk layout, filesystem structure, and boot behavior.
Most of the fields shown here are part of the BIOS Parameter Block (BPB), which describes how the operating system interprets the disk.
Selects a predefined disk layout.
Changing the disk format updates related BPB fields to match the selected format.
This provides a convenient way to align BPB values with known disk layouts while still allowing manual adjustment when needed.
The following fields are part of the BIOS Parameter Block and describe the logical structure of the disk.
-
Bytes per Sector
Number of bytes in each physical sectorAllowed Values: 512, 1024, 2048, 4096
Note: This value should be 512 for all floppy disks.
-
Sectors per Cluster
Number of sectors per clusterAllowed Values: 1, 2, 4, 8, 16, 32, 64, 128
-
Reserved Sectors
Number of reserved sectors in the reserved region of the volume starting at the first sector of the volumeAllowed Values: Any non-zero value
Note: This value should typically be set to 1.
-
Number of FATs
Number of File Allocation Table (FAT) copies on the volumeAllowed Values: Any non-zero value
Note: This value should typically be set to 2.
-
Root Directory Entries
Number of entries in the root directoryAllowed Values: Value multiplied by 32 should be an even multiple of Bytes Per Sector.
-
Total Sector Count
Total number of sectors in the volume -
Media Descriptor
Identifier used by the filesystem to describe the media type -
Sectors per FAT
Number of sectors allocated to each copy of the File Allocation Table (FAT) -
Sectors per Track
Number of sectors per track on the disk -
Number of Heads
Number of physical heads (sides) on the diskTypical Values: 1 or 2
-
Hidden Sectors
Number of sectors proceeding the first sector of a partitioned volumeNote: This value should be 0 for all floppy disks.
-
Boot Sector Signature
Indicates to the BIOS that the sector is executable.Allowed Values:
- AA 55
- 00 00 (PC DOS 1.x)
- 54 42 (Tandy 2000)
The following fields are part of the boot record but are not part of the BPB itself.
-
Jump Instruction
This instruction indicates where the bootstrap code startsAllowed Values: EB xx 90, E9 xx xx
-
OEM Name
Can be set by a FAT implementation to any desired valueTypically this is some indication of what system formatted the volume.
The Extended Parameter Block contains additional fields that may be present in newer FAT boot sectors. These fields are primarily used for volume identification and boot metadata.
Some images may not include all extended fields, depending on format and boot sector type.
-
Total Sector Count (Large)
Total number of sectors in a FAT16 volume larger than 65,535 sectorsNote: This value should be 0 for all floppy disks.
-
Drive Number
Interrupt 13h drive numberAllowed Values: 0, 128
-
Extended Boot Signature
A marker that indicates extended volume fields are present (such as serial number and volume label). If this signature is missing, the related fields may be ignored by some systems.Typical Values:
- 28h - Volume Serial Number is present
- 29h - Volume Serial Number, Volume Label, and File System ID are present
-
Volume Serial Number
A 32-bit random number used in conjunction with the Volume Label for removable media tracking.Note: This is typically generated by converting the current date and time into a 32-bit value.
Click the calendar icon to generate a new volume serial number from a user-supplied date and time. See Generate Volume Serial Number.
-
Volume Label
Typically matches the 11-byte volume label in the root directory of the disk, or has the value"NO NAME "if the volume label does not exist. -
File System ID
The File System ID is informational onlyTypical Values: FAT12, FAT16, FAT
The Additional Data section displays the raw boot sector bytes that follow the Boot Record and Extended Parameter Block, including the bootstrap code and any remaining data not shown above.
The data is presented in both hexadecimal and ASCII form, and the raw bytes can be inspected and edited directly. Edits made here affect the executable bootstrap portion of the boot sector and can change boot behavior.
- Applies all staged changes to the boot sector
- Marks the image as modified
- Closes the dialog without applying changes
- The dialog operates on the active image
- Changes are staged until Update is clicked
- Editing the raw bytes in Additional Data is intended for advanced users; incorrect changes may prevent the image from booting
- BPB and Extended Parameter Block fields are validated against the selected disk format
- Menu Bar
- Toolbar
- Image Selection Dropdown
- Summary Panel
- Checksums Panel
- Directory and File Panel
- Directory and File Panel Context Menus
- Status Bar
Disk Images
- New Disk Image
- Edit Boot Sector
- Edit File Allocation Table
- Hex Editor
- Find
- Raw Track Data
- XML Viewer
Files and Directories
Disk
Flux
Miscellaneous