Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub2 + efi issues: unable to boot
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message

Joined: 19 Jun 2015
Posts: 4
Location: Virginia, USA

PostPosted: Sun Jul 12, 2015 1:54 pm    Post subject: grub2 + efi issues: unable to boot Reply with quote

I am having issues booting after installing grub to the ESP (at least I think that is what I am doing :| ) For reference, this is the machine I have:

Here is the current layout of my disks (from gdisk -l):

GPT fdisk (gdisk) version 0.8.10

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 500118192 sectors, 238.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): CBA6A552-AD4A-498D-AC86-F518C952E774
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 500118158
Partitions will be aligned on 2048-sector boundaries
Total free space is 8125 sectors (4.0 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   2            6144          268287   128.0 MiB   EF00  boot
   3          268288        25434111   12.0 GiB    0700  swap
   4        25434112       500116143   226.3 GiB   0700  rootfs

The /boot partion is vfat, the / partition is ext4, and the swap partition is swap.

before I emerge'd grub I add the correct efi-64 line to my make.conf:


and when I installed GRUB I used the command:

grub2-install --target=x86_64-efi --efi-directory=/boot

which completes without error and I see the /boot/EFI/gentoo directory was written after this command is run.

Also after this is run, I see an entry for "gentoo" in efibootmgr -v listed as the first boot option:

BootCurrent: 0023
Timeout: 1 seconds
BootOrder: 0000,000E,0019,001B,001E,001F,0020,0022
Boot0000* gentoo   HD(2,1800,40000,75d4cdbe-5199-4400-93e3-f9cdc613c15a)File(\EFI\gentoo\grubx64.efi)
Boot000D* Diskette Drive   BIOS(1,0,4469736b6574746520447269766500)..BO
Boot000E* MiniCard SSD   BIOS(2,0,50333a2053414d53554e472053534420504d383531204d2e32203232383000)..BO
Boot0010* CD/DVD/CD-RW Drive   BIOS(3,0,43442f4456442f43442d525720447269766500)..BO
Boot0013* USB NIC(IPV4)   ACPI(a0341d0,0)PCI(1d,0)USB(0,0)USB(0,0)MAC(MAC(9cebe81694d6,0)..BO
Boot0014* USB NIC(IPV6)   ACPI(a0341d0,0)PCI(1d,0)USB(0,0)USB(0,0)MAC(MAC(9cebe81694d6,0)030d3c000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000..BO
Boot0015* USB Storage Device   BIOS(5,0,4b696e6773746f6e44542031303120473220312e303000)..BO
Boot0016* USB NIC(IPV6)   ACPI(a0341d0,0)PCI(1d,0)USB(0,0)USB(0,0)MAC(MAC(9cebe81694d6,0)030d3c000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000..BO
Boot0019* Diskette Drive   BIOS(1,0,4469736b6574746520447269766500)..BO
Boot001B* CD/DVD/CD-RW Drive   BIOS(3,0,43442f4456442f43442d525720447269766500)..BO
Boot001E* USB NIC(IPV4)   ACPI(a0341d0,0)PCI(14,0)USB(b,0)MAC(MAC(9cebe81694d6,0)..BO
Boot001F* USB NIC(IPV6)   ACPI(a0341d0,0)PCI(14,0)USB(b,0)MAC(MAC(9cebe81694d6,0)030d3c000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000..BO
Boot0020* USB Storage Device   BIOS(5,0,4b696e6773746f6e44542031303120473220312e303000)..BO
Boot0022* USB NIC   BIOS(80,0,5265616c74656b20505845204230302044313400)..BO
Boot0023* UEFI: KingstonDT 101 G2 1.00   ACPI(a0341d0,0)PCI(14,0)USB(1,0)HD(1,2,1ce4c7e,00000000)..BO

However whenever I re-boot my machine, it appears that these EFI settings are lost. The boot option for gentoo is not removed, but the boot order is always changed? Any thoughts on what could be going on? I can post any more additional information as needed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum