Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't boot using UEFI
Date: Sun, 14 Jun 2015 14:30:44
Message-Id: 201506141530.29041.michaelkintzios@gmail.com
In Reply to: [gentoo-user] Can't boot using UEFI by "João Matos"
1 On Sunday 14 Jun 2015 14:40:40 João Matos wrote:
2 > Hi list,
3 >
4 > I've bought me a ultrabook dell vostro 5470, and I'm trying to get gentoo
5 > running on it.
6 >
7 > I'm having a few problems, but I'd like to correct the boot one first.
8 >
9 > I'm installing it from ubuntu live cd, and the comand:
10 >
11 > efibootmgr --create --disk /dev/sda --part 7 --label "Gentoo" --loader
12 > "\boot\efi\boot\bootx64.efi"
13 >
14 > seems to work. It put a entry on bios - Gentoo - but when I select it, the
15 > windows start (second boot).
16
17 I think you have confused the too partitions EFI and /boot.
18
19
20 > The handbook is not that clear, so I'm not sure if I should call /dev/sda7
21 > of "--part 7". Other difference is I'm not using a separate /boot. Its
22 > everything at /, so I'm also not not sure if this path is ok.
23
24 Your EFI boot code will jump to the FAT32 EFI partition. In all likelihood
25 this is /dev/sda1. Unless you have some boot manager in there to point to
26 your Linux partition at /dev/sda7 you will only boot what the EFI partition
27 bootx64.efi code offers. Presently the bootx64.efi in the EFI partition is
28 the MSWindows boot code. Create a back up if you intend to mess about with
29 this, or you will need to use a MSWindows CD to recreate it with.
30
31
32 > This seems to be the very simple, and I'd like to have it on my system. But
33 > I've also tried grub2, and got the following error:
34 >
35 > "grub2-install: error: cannot find EFI directory."
36
37 Clearly it can't find the appropriate EFI partition. Have you mounted it?
38
39 --
40 Regards,
41 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature