John Paul Adrian Glaubitz dixit:

>I don't know a single PC BIOS implementation that supports anything
>but four primary partitions

No PC BIOS knows a̲n̲y̲t̲h̲i̲n̲g̲ about partitions. The whole logic to
select the boot partition lies within the 446, usually only 440,
bytes of usable machine code space in the first sector.

>Yes, but the first 512 bytes of a GPT partition usually contain
>the protective MBR. GPT/EFI uses a boot partition to boot and
>not a master boot record which is why the MBR of a GPT disk doesn't
>normally contain boot code.

It’s trivial to put boot code to boot from a GPT partition to
the protective MBR. It will not, however, give you FAT-based
EFI boot, of course – but booting e.g. a second-stage bootloader
placed within a GPT partition is fully possible. (It may not
fit within those 440 bytes. But that is easily solved; GPT
uses alignment, so there exists a usable gap.)

bye,
//mirabilos
-- 
Sometimes they [people] care too much: pretty printers [and syntax highligh-
ting, d.A.] mechanically produce pretty output that accentuates irrelevant
detail in the program, which is as sensible as putting all the prepositions
in English text in bold font.   -- Rob Pike in "Notes on Programming in C"


--
To UNSUBSCRIBE, email to debian-68k-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/pine.bsm.4.64l.1501151942170.29...@herc.mirbsd.org

Reply via email to