I like to setup grub2 on a GPT softare raid 3 TB HDD.
Number Start (sector) End (sector) Size Code Name
1 2048 1050623 512.0 MiB FD00 Linux RAID
2 1050624 5860533134 2.7 TiB FD00 Linux RAID
The first partition is boot, the second is LVM. After bootstrapping I installed grub2 which died with "missing BIOS boot". But I can't change partition 1 to BIOS boot because of the software raid, right?
How to solve this situation?
Info: Debian Wheezy x86_64
Error:
/usr/sbin/grub-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!.
/usr/sbin/grub-setup: error: embedding is not possible, but this is required for cross-disk install.
Even with GPT you should still be able to install GRUB on the drive (/dev/sda?) Try these commands:
it should make you a working GRUB install. You will however probably need to tune some options in the GRUB config files to get grub the way you like it.
On legacy BIOS machines you need a "BIOS boot partition" which may be as small as 30kb on the drive, this is required to store stage 2 of the GRUB boot process.
To create this BIOS boot partition do the following:
A BIOS Boot partition can be created using any of several different disk utilities:
Source: http://en.wikipedia.org/wiki/BIOS_Boot_Partition_%28GPT%29