Skip to content

FAT32 계열의 USB에서의 GPT 지원 부분 #25

@kbu1564

Description

@kbu1564

참고 : http://electronicmakeiteasy.blogspot.kr/2013/05/master-boot-record.html

Address Length Description
0x0000 to 0x01BD 446 bytes Boot Loader Code
0x01BE to 0x01CD 16 bytes Partition entry 1
0x01CE to 0x01DD 16 bytes Partition entry 2
0x01DE to 0x01ED 16 bytes Partition entry 3
0x01EE to 0x01FD 16 bytes Partition entry 4
0x01FE to 0x01FF 16 bytes Boot Record signature (55 AA)

0번지 섹터에 최대 4개까지의 파티션 정보를 담을 수 있으며 파티션에 대한 정보는 아래와 같음

Length Description
1 Boot indicator (0x00 = Inactive, 0x80 = Active)
3 Starting head, cylinder and sector (refer Head, Cylinder and sector)
1 File system descriptor (refer Partition Type Listing)
3 Ending head, cylinder and sector
4 Starting sector (offset to disk start)
4 Number of sector in partition

support 1

위 정보를 계산하여 해당 파티션의 MBR 영역의 시작점을 계산하는 코드가 필요!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions