Gentoo Archives: gentoo-user

From: "João Matos" <jaoneto@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't boot using UEFI
Date: Sun, 14 Jun 2015 14:31:27
Message-Id: CAP4tJZKGURaYeEH86qGGDJAMVF-CUrW4+MDci9P4OMXD+F=Rpw@mail.gmail.com
In Reply to: Re: [gentoo-user] Can't boot using UEFI by Mick
1 / # gdisk -l /dev/sda
2 GPT fdisk (gdisk) version 1.0.0
3
4 Partition table scan:
5 MBR: protective
6 BSD: not present
7 APM: not present
8 GPT: present
9
10 Found valid GPT with protective MBR; using GPT.
11 Disk /dev/sda: 976773168 sectors, 465.8 GiB
12 Logical sector size: 512 bytes
13 Disk identifier (GUID): 757FFCA9-0B35-4AC3-BA77-B935FBBC57C9
14 Partition table holds up to 128 entries
15 First usable sector is 34, last usable sector is 976773134
16 Partitions will be aligned on 2048-sector boundaries
17 Total free space is 4029 sectors (2.0 MiB)
18
19 Number Start (sector) End (sector) Size Code Name
20 1 2048 1026047 500.0 MiB EF00 EFI system
21 partition
22 2 1026048 1107967 40.0 MiB FFFF Basic data
23 partition
24 3 1107968 1370111 128.0 MiB 0C01 Microsoft reserved
25 ...
26 4 1370112 2906111 750.0 MiB 2700 Basic data
27 partition
28 5 2906112 127477759 59.4 GiB 0700 Basic data
29 partition
30 6 961155072 976771119 7.4 GiB 2700 Microsoft recovery
31 ...
32 7 127477760 227518463 47.7 GiB 8300
33 8 227518464 247998463 9.8 GiB 8300
34 9 247998464 961155071 340.1 GiB 0700
35
36 2015-06-14 11:25 GMT-03:00 Mick <michaelkintzios@×××××.com>:
37
38 > On Sunday 14 Jun 2015 15:09:33 João Matos wrote:
39 > > 2015-06-14 11:02 GMT-03:00 Volker Armin Hemmann
40 > > <volkerarmin@××××××××××.com>
41 > >
42 > > > Am 14.06.2015 um 15:40 schrieb João Matos:
43 > > > Hi list,
44 > > >
45 > > > I've bought me a ultrabook dell vostro 5470, and I'm trying to get
46 > > >
47 > > > gentoo running on it.
48 > > >
49 > > > I'm having a few problems, but I'd like to correct the boot one first.
50 > > >
51 > > > I'm installing it from ubuntu live cd, and the comand:
52 > > >
53 > > > efibootmgr --create --disk /dev/sda --part 7 --label "Gentoo" --loader
54 > > >
55 > > > "\boot\efi\boot\bootx64.efi"
56 > > >
57 > > > seems to work. It put a entry on bios - Gentoo - but when I select it,
58 > > >
59 > > > the windows start (second boot).
60 > > >
61 > > > The handbook is not that clear, so I'm not sure if I should call
62 > > >
63 > > > /dev/sda7 of "--part 7". Other difference is I'm not using a separate
64 > > > /boot. Its everything at /, so I'm also not not sure if this path is
65 > ok.
66 > > >
67 > > > This seems to be the very simple, and I'd like to have it on my
68 > system.
69 > > >
70 > > > But I've also tried grub2, and got the following error:
71 > > > "grub2-install: error: cannot find EFI directory."
72 > > >
73 > > > What should I do?
74 > > >
75 > > > Thank you,
76 > > >
77 > > > --
78 > > > João Neto
79 > > >
80 > > > Linux User #461527
81 > > > http://br.linkedin.com/pub/jo%C3%A3o-de-matos/7/316/552
82 > > >
83 > > >
84 > > > so you don't have an efi boot partition?
85 > > >
86 > > > That would be your answer.
87 > >
88 > > Volker, the efi is already working for Windows. I just want to create a
89 > new
90 > > entry. Is it really necessary to create a new partition?
91 >
92 > Can you please tell us what this shows:
93 >
94 > gdisk -l /dev/sda
95 >
96 > or
97 >
98 > fdisk -l
99 >
100 > assuming that /dev/sda is your drive.
101 >
102 > If you are multibooting then gummiboot would be advisable, but GRUB will
103 > work
104 > too.
105 >
106 > --
107 > Regards,
108 > Mick
109 >
110
111
112
113 --
114 João Neto
115 Linux User #461527
116 http://br.linkedin.com/pub/jo%C3%A3o-de-matos/7/316/552

Replies

Subject Author
Re: [gentoo-user] Can't boot using UEFI Volker Armin Hemmann <volkerarmin@××××××××××.com>
Re: [gentoo-user] Can't boot using UEFI Mick <michaelkintzios@×××××.com>