Use this when working with logical partitions on MBR disks.
Logical Partition
A logical partition lives inside an MBR extended partition and is numbered from 5 on Linux. It lets MBR disks have more than four partitions.
1. Logical partitions live inside an extended partition (MBR).
2. Numbered from 5 on Linux.
3. Chain of EBRs.
4. Recover with testdisk if lost.
5. Prefer GPT.
extended → EBR → logical partition
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Renumbering after deleting a logical partition breaks fstab entries that use device names.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- They live inside an extended partition.
- Linux numbers them from 5.
- Removing the extended removes them.
fdisk -l /dev/sdX— logical partitions (5+)parted /dev/sdX print— logicaltestdisk /dev/sdX— recover lost partitions
ReferenceHow it works1 section · depth on demand
Numbering
On Linux, logical partitions always start at number 5, even if fewer than four primaries exist. Windows shows them as normal volumes in Disk Management.
ReferenceImportant terms & boundaries2 sections · depth on demand
How it works
Logical partitions live inside the extended partition on MBR disks. On Linux they are numbered from 5 (/dev/sda5, /dev/sda6…) regardless of how many primary partitions exist. They are linked by Extended Boot Records, so damage to one EBR can hide all following logical partitions.
Reference
Logical partitions live inside the extended partition (/dev/sda5 and up on Linux). They are linked by EBRs; damage to one EBR can hide the following partitions.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Partitioning → Logical Partition. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.gnu.org/software/parted/manual/parted.html · confidence 94%