-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
В Sat, 13 Sep 2014 20:14:42 +0200
"Carlos E. R."
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2014-09-13 19:18, Andrei Borzenkov wrote:
В Fri, 12 Sep 2014 15:40:08 +0200 "Carlos E. R." <> пишет:
I was not aware that a classic BIOS could boot a GPT disk - unless it works with a protective MBR and table and boots that.
Classic BIOS has zero knowledge about disk partitioning. It downloads the very first disk sector and jumps to it. So what is supported is determined entirely by content of the first sector.
I thought that code loaded the first sector of the first partition marked as bootable, and to find that, it just asked the bios.
No.
You mean that it is not so, that the mbr code has to actively has to search and find which is the bootable partition, and then load its first sector?
Yes.
Well, then it might boot from GPT as well...
Then it means that I could use a GPT disk on my plain BIOS computer, and it will boot?
Sure. You just need to install code that can handle this situation in MBR (or to be precise, the very first sector of disk).
I like the idea. I could then have a dozen bootable systems, selected by just changing the bootable mark on the GPT. I can have dozens of primaries on GPT...
Well ... theoretically UEFI specification defines "Legacy BIOS Bootable" partition attribute. In practice, you probably will need to write code that handles it yourself. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlQUjgQACgkQR6LMutpd94ynmACgyUaN9bM0rRnjDyEp/qC1kmFJ wHkAoLB+jICa/oMnbRs1g8cst8wY7yT3 =dOqe -----END PGP SIGNATURE----- N�����r��y隊Z)z{.���r�+�맲��r��z�^�ˬz��N�(�֜��^� ޭ隊Z)z{.���r�+��0�����Ǩ�