Compatible partitioning: MBR and GPT
Posted: Tue Mar 13, 2018 2:25 pm
Can MBR and GPT partition tables refer to the same partition?
What I have in mind is a drive laid out roughly as follows.
* LBA 0: MBR with its normal embedded partition table
* LBA 1 to N: The N sectors of the GPT
* A small, dummy partition
* A data partition covering the bulk of the drive (or up to 2TB of it)
* The backup GPT
In the MBR:
- The partition 1 entry would ideally refer to the space occupied by the GPT and the dummy partition
- The partition 2 entry would refer to to the data partition
In the GPT:
- The partition 1 entry would refer to the dummy partition
- The partition 2 entry would refer to the data partition
The partition 1 entries are not essetial but would be nice to have to guard against various partitioning tools interpreting some of the space as free. The key point is that both tables refer to the same data partition; the partition would be seen as valid whichever partition table were to be consulted. I guess the partition numbers don't even have to match. In other words, the same partition could be partition 1 in one table and partition 2 in the other. But it might be handy for them to use the same number.
Any ideas on whether a compatible hybrid like that is possible, and do you know of any tools which will partition a drive that way?
What I have in mind is a drive laid out roughly as follows.
* LBA 0: MBR with its normal embedded partition table
* LBA 1 to N: The N sectors of the GPT
* A small, dummy partition
* A data partition covering the bulk of the drive (or up to 2TB of it)
* The backup GPT
In the MBR:
- The partition 1 entry would ideally refer to the space occupied by the GPT and the dummy partition
- The partition 2 entry would refer to to the data partition
In the GPT:
- The partition 1 entry would refer to the dummy partition
- The partition 2 entry would refer to the data partition
The partition 1 entries are not essetial but would be nice to have to guard against various partitioning tools interpreting some of the space as free. The key point is that both tables refer to the same data partition; the partition would be seen as valid whichever partition table were to be consulted. I guess the partition numbers don't even have to match. In other words, the same partition could be partition 1 in one table and partition 2 in the other. But it might be handy for them to use the same number.
Any ideas on whether a compatible hybrid like that is possible, and do you know of any tools which will partition a drive that way?