você também pode definir a partição do grub com o gdisk (8 )
Command (? for help): t
Partition number (1-4): 1
Current type is 'BIOS boot partition'
Hex code or GUID (L to show codes, Enter = 8300): EF02
Changed type of partition to 'BIOS boot partition'
É importante notar que você NÃO PODE reutilizar sua / boot existente ou qualquer outra partição para isso - 64KB pode ser suficiente (deve ser grande o suficiente para caber em seus arquivos / boot / grub / i386-pc / * .img ), mas geralmente há cerca de 1MB livre que é muito mais do que suficiente.
Se a partição estava ausente, você poderia criar N ew one, normalmente há espaço suficiente antes de sua primeira partição. Por exemplo, então seria como:
# gdisk /dev/sdb
Command (? for help): p
Disk /dev/sdb: 7814037168 sectors, 3.6 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): CEFE1861-C13E-4E30-AEC4-0037CA6CBE8D
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 7814037134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)
Number Start (sector) End (sector) Size Code Name
1 2048 3893247 1.9 GiB 0700 Microsoft basic data
2 3893248 12281855 4.0 GiB 8200 Linux swap
3 12281856 12806143 256.0 MiB FD00 Linux RAID
4 12806144 7814037134 3.6 TiB FD00 Linux RAID
Command (? for help): n
Partition number (5-128, default 5):
First sector (34-2047, default = 34) or {+-}size{KMGTP}: 34
Last sector (40-2047, default = 2047) or {+-}size{KMGTP}:
Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = 8300): EF02
Changed type of partition to 'BIOS boot partition'
Command (? for help): p
Disk /dev/sdb: 7814037168 sectors, 3.6 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): CEFE1861-C13E-4E30-AEC4-0037CA6CBE8D
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 7814037134
Partitions will be aligned on 2048-sector boundaries
Total free space is 6 sectors (3.0 KiB)
Number Start (sector) End (sector) Size Code Name
1 2048 3893247 1.9 GiB 0700 Microsoft basic data
2 3893248 12281855 4.0 GiB 8200 Linux swap
3 12281856 12806143 256.0 MiB FD00 Linux RAID
4 12806144 7814037134 3.6 TiB FD00 Linux RAID
5 40 2047 1004.0 KiB EF02 BIOS boot partition
Command (? for help): w
Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!
Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to /dev/sdb.
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot.
The operation has completed successfully.