Lably
Skip to content

Boot sector

Sector of persistent data storage device

  • 6 min read
  • 6 chapters

Learn it on Lably

Usually, the first sector of the hard disk is the boot sector, regardless of sector size (512 or 4096 bytes) and partitioning flavor (MBR or GPT).

The purpose of defining one particular sector as the boot sector is inter-operability between firmware and various operating systems.

The purpose of chain-loading, first firmware (e.g., the BIOS), then code in the boot sector, and then, for example, an operating system, is maximal flexibility.

The IBM PC and compatible computers

On an IBM PC compatible machine, the BIOS selects a boot device, then copies the first sector from the device (which may be a MBR, VBR or any executable code), into physical memory at memory address 0x7C00. On other systems, the process may be quite different.

Sign in to keep reading

5 more chapters are free with a Lably account.

More in Computing and communication