I'm trying to understand the ms-dos partition table, and there's the following diagram:
It comes from this site. Almost everything is pretty clear to me, but there's one thing I don't get. As you can see, the third partition is an extended partition, and it has several logical disks. The extended and primary entries in MBR look the same. Both have partition type, starting sector and number of sectors which describe the partitions.
- Where is the info that would link to the first EBR on the extended partition?
- How does the system know what to look for on the extended partition?
Let's say that we've lost the extended entry in MBR. How to restore it? If I create a new extended entry via fdisk, it won't see the logical disks. How to connect the first EBR to the extended entry in MBR?