-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
В Sat, 11 Oct 2014 12:08:17 +0200
"Carlos E. R."
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2014-10-11 06:47, Andrei Borzenkov wrote:
В Sat, 11 Oct 2014 01:43:43 +0200
But you see, you need UEFI to boot from a GPT disk.
No. That's true for Windows only and not due to technical limitations.
Yes, I know that this is actually possible, but it is something of a trick. Does openSUSE support that combination?
Of course. That's why it warns you about missing bios_grub - because grub2 code that gets installed in MBR (or better - the very first sector) knows how to load core.img which gets written into this partition.
Because recently you told me that «Well ... theoretically UEFI specification defines "Legacy BIOS Bootable" partition attribute. In practice, you probably will need to write code that handles it yourself».
That was in response "I could change active OS by setting active partition flag". Booting with grub2 does not work this way - it writes core.img into bios_grub partition and stores absolute disk location in code that is written in MBR (first sector). It does *not* search for partition with specific flag.
Then I saw posts hinting or saying that Grub2 supports this situation (booting a GPT disk on plain BIOS machine).
So I'm quite confused.
http://en.wikipedia.org/wiki/GUID_Partition_Table
«MBR-based partition table schemes insert the partitioning information for (usually) four "primary" partitions in the master boot record (MBR) (which on a BIOS system is also the container for code that begins the process of booting the system). In a GPT, the first sector of the disk is reserved for a "protective MBR" such that booting a BIOS-based computer from a GPT disk is supported, but the boot loader and O/S must both be GPT-aware. Regardless of the sector size, the GPT header begins on the second logical block of the device.»
You can assume that grub2 is GPT-aware :)
- -- Cheers / Saludos,
Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux)
iEYEARECAAYFAlQ5AY8ACgkQtTMYHG2NR9WlrwCfcqDkqYkpgv6NhLDZrgb85m+6 /hEAnR4FqYlGwwxMJ+p/E/4qg7qeBN6l =7yzq -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlQ5B2wACgkQR6LMutpd94xR5gCgkGZBqaYZHytSN5QcTITGmfVN 6w8AmwXj3H8HU0hzrU6GCjFD1cCS+JeF =REGE -----END PGP SIGNATURE-----