GPT detected. Please create a BIOS-Boot partition

40,641

Solution 1

You create a BIOS-Boot partition with a bios_grub flag partition according to these links,

help.ubuntu.com/community/DiskSpace#BIOS-Boot_or_EFI_partition

help.ubuntu.com/community/Installation/UEFI-and-BIOS/stable-alternative#Create_a_partition_table

If you want to install Ubuntu on a GPT disk (you can check it via the 'sudo parted -l' command), you will need either an EFI partition (if your BIOS is set up in EFI mode) or a BIOS-Boot partition (if your BIOS is set up in Legacy mode).

BIOS-Boot partition:

  • Mount point: none
  • Type: no filesystem
  • Description: the BIOS-boot partition is a container for GRUB 2's core. It is necessary if you install Ubuntu on a GPT disk, and if the firmware (BIOS) is set up in Legacy (not EFI) mode. It must be located at the start of a GPT disk, and have a "bios_grub" flag.
  • Size: 1MB.

Solution 2

It looks like you are booting in legacy mode, OK, but your 2T disk is using a gpt partitioning, which leaves no space outside the partitions for grub's core.img. You need to provide an explicit space to put it, a small (1-2M (That's M not G!)) partition with the grub-bios flag should do it. Then grub will fully install and work.

Share:
40,641

Related videos on Youtube

QWERTY
Author by

QWERTY

Updated on September 18, 2022

Comments

  • QWERTY
    QWERTY over 1 year

    I reinstalled Ubuntu 14.04LTS

    ####### EDITED

    I 4 Hard Disk in total. 3 HDD (1TB,1TB,2TB) one SSD(120gb) The Windows 10 OS occupies the SSD. If i am not mistaken i installed the Grub previously,in the SSD or in the 2TB HDD. the other 2x1TB's are allocated for the Windows 10 storage and i wouldnt be touching on that.

    #

    Been trying to debug this boot problem for almost 6 hours now. It was booting fine before, but after the reformat on the Linux part and the re installation i can no longer access the Grub Menu.

    What i have: A Windows 10 OS on a SSD of 120GB This to-be-installed Linux on a 2TB hard disk

    Things that i have tried:

    1. Run Boot-Recommended Repair

    2. Reformat all of the Linux part and reinstall the partitions manually.

    3. I have tried making a new 1GB partition to solve the GPT partition but still dont seem to solve the problem. of

    The full report on the problem.

    http://paste2.org/HVB8ZewX

    • Gsxr1k
      Gsxr1k over 8 years
      Wow you have a lot of drives! Could you update your question saying which drive your BIOS is set to boot from, and whether you have SecureBoot enabled in the BIOS.
    • QWERTY
      QWERTY over 8 years
      Edited. At the moment the LInux Bios is set to boot in the 2TB harddisk. Everything regarding with Linux is there. Just that the Grub might hhave been in the SSD in the past. I dont think i have SecureBoot enabled
    • oldfred
      oldfred over 8 years
      Do not use Boot-Repairs auto fix. That installs grub to every drive. You want to keep the Windows drive with the Windows boot loader, even if not the default in BIOS. And you want grub from Ubuntu install installed only to that drive. With gpt partitioning you must have either the ESP - efi system partition for UEFI boot or a 1 or 2MB unformatted partition with the bios_grub flag for BIOS boot. I now add both all all new drive which are gpt partitioned. Windows only boots in BIOS mode from MBR drives and only UEFI from gpt drives.
    • oldfred
      oldfred over 8 years
      You also booted Boot-Repair in UEFI mode and it says you have secure boot on. Make double sure that Secure boot is off and system is set for BIOS/CSM/Legacy or whatever it calls it to boot. All your installs are BIOS, not UEFI.
    • QWERTY
      QWERTY over 8 years
      @oldfred i have tried the steps you told me disabling secure boot and also changing the CSM to Legacy OPROM only. I still stumble into error:no such deviceL d51adc83-4625-4497-b942-b6dadfd233ed Entering rescue mode.. grub rescue >
    • oldfred
      oldfred over 8 years
      Rerun Boot-Repair's infoscript report. You should see on gpt drives the list including bios_grub flag. Gparted should show the bios_grub as an error as it is unformatted. You can quick see bios_grub flag by running this: ` sudo parted /dev/sda unit s print` change sda to each of your gpt partitioned drives.
  • QWERTY
    QWERTY over 8 years
    can i get some links or guidance to partition a small part letting know it's a gub-bios flag. like ext 4/ext 3 and i cant really put it as /home or /root through GPart
  • epo3
    epo3 over 7 years
    It would be helpful to know how to create BIOS-Boot partition