NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Hybrid MBR with gpt(8)
Hello, with Linux I can create hybrid MBR GPT partitions and boot the
OS with legacy firmware. There is a specific option in Linux gdisk tool
to set hybrid MBRs. This is what I end up with in gdisk:
Expert command (? for help): o
Disk size is 124735488 sectors (59.5 GiB)
MBR disk identifier: 0x00000000
MBR partitions:
Number Boot Start Sector End Sector Status Code
1 2048 264191 primary 0x0C
2 1 2047 primary 0xEE
This same disk with NetBSD gpt tool shows the following:
# gpt show -aglu sd0
start size index contents
0 1 MBR
1 1 Pri GPT header
2 32 Pri GPT table
34 2014 Unused
2048 262144 1 GPT part - EFI System
Type: efi
TypeID: c12a7328-f81f-11d2-ba4b-00a0c93ec93b
GUID: 19e48d9d-e339-4fe6-998d-8517802d401b
Size: 128 M
Label: EFI system partition
Attributes: None
264192 124471263 Unused
124735455 32 Sec GPT table
124735487 1 Sec GPT header
I looked at the manpage but it doesn't specify how to enable hybrid MBR
and how to manually set 0x0C hex code so that EFI partition appears as a
legacy MSDOS partition during boot.
Is this at all supported with gpt?
Home |
Main Index |
Thread Index |
Old Index