How to resolve the "GPT detected. Please create a BIOS-Boot partition" error when using boot-repair?
Solution 1:
First you should check if booting the system as MBR/BIOS instead UEFI is really what you intended.
The following is a quote from Is it still possible to install Ubuntu to an external harddrive with UEFI? which is about several ways of setting up bootloaders and necessary partitions. Refer to the original answer if some of the instructions are unclear (it would have been very repetitive to explain almost the same thing in detail 3-4 times).
Creating a BIOS Bootable Partition (BBP) for GRUB is a bit different:
Install the
grub-pc-bin
package.Create a partition similar to the instructions above by resizing the root partition and set the
bios_grub
flag. Choose no filesystem and leave it unformatted.Edit the configuration file
/etc/default/grub
with administrative rights and addGRUB_DEVICE=/dev/sdb6
to the end. Replace/dev/sdb6
with the acutal device name of your BBP. You can use the commandline editor nano to keep things simple.Install the GRUB MBR image to the BBP with:
grub-install --boot-directory /mnt/test/boot/ --target i386-pc $device
You might want to remove or comment out the line in
/etc/default/grub
and add it to the actual installation.