IBP: provisioning script should create BIOS boot partition
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
Undecided
|
Unassigned |
Bug Description
IBP installs BIOS variant of grub2 (grub-pc) as a boot loader.
Since hard drives are partitioned via GPT a special "BIOS boot" (code ef02) partition should be created.
Otherwise grub might fail to read its core image. Also some EFI firmwares in BIOS simulation mode
refuse to boot from a hard drive which 1) has GPT, 2) don't have a "BIOS boot" partition
[root@node-10 ~]# gdisk -l /dev/vda
GPT fdisk (gdisk) version 0.8.4
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/vda: 67108864 sectors, 32.0 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): FF44CDB7-
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 67108830
Partitions will be aligned on 2048-sector boundaries
Total free space is 114621 sectors (56.0 MiB)
Number Start (sector) End (sector) Size Code Name
1 2048 51199 24.0 MiB EF02 primary
2 51200 460799 200.0 MiB 0700 primary
3 460800 870399 200.0 MiB 0700 primary
4 870400 40847359 19.1 GiB 0700 primary
5 40847360 53901311 6.2 GiB 0700 primary
6 53901312 66955263 6.2 GiB 0700 primary
7 66955264 66996223 20.0 MiB 0700 primary
Changed in fuel: | |
assignee: | Registry Administrators (registry) → nobody |
Alexey,
This partition is what you mean when say "BIOS boot"
1 2048 51199 24.0 MiB EF02 primary