MBR with huge partitions

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
KABOOM

MBR with huge partitions

Post by KABOOM »

hello all!

My problem is that the MBR (the partition table more precisely) didn't seems to handle huges partitions...

so my question is how the computer store the localisation of these partitions...

Thanks
Karig

RE:MBR with huge partitions

Post by Karig »

Huh? How huge are these partitions???

My understanding (e.g., see http://www.ata-atapi.com/hiwtab.htm) is that the size and location of each partition is stored TWICE in the partition table -- once in CHS format, and once in LBA format. If the partition is larger than 528MB, then the system would ignore the CHS format and use the LBA format. The LBA format stores the partition's size in SECTORS (not bytes), and a sector is 512 bytes long, so the partition table can indicate a partition size up to 512 * four gigabytes = TWO TERABYTES. If the partition is actually, say, four terabytes, then yes you have a problem :)
KABOOM

RE:MBR with huge partitions

Post by KABOOM »

Thanks Karig i'll use the LBA informations...

KABOOM
Post Reply