Gentoo Archives: gentoo-user

From: Michael Hampicke <gentoo-user@××××.biz>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] UEFI boot, again
Date: Sat, 13 Oct 2012 14:36:55
Message-Id: 50797C2C.1000103@hadt.biz
In Reply to: Re: [gentoo-user] UEFI boot, again by "Stefan G. Weichinger"
1 Am 13.10.2012 15:07, schrieb Stefan G. Weichinger:
2 > Am 13.10.2012 12:51, schrieb Michael Hampicke:
3 >>
4 >> Looks good, could you cross-check if the GUID is correct? My EFI
5 >> partition is the first one on my ssd, so I use # sgdisk -i1 /dev/sda to
6 >> check. The value you are looking for is "Partition unique GUID" - should
7 >> be the same to what efibootmgr displays
8 >> (0c67029a-25de-4e23-b2be-6c502742189e)
9 >
10 > That is the ID of /dev/sda5:
11 >
12 > # sgdisk -i5 /dev/sda
13 > Partition GUID code: C12A7328-F81F-11D2-BA4B-00A0C93EC93B (EFI System)
14 > Partition unique GUID: 0C67029A-25DE-4E23-B2BE-6C502742189E
15 > First sector: 1296046080 (at 618.0 GiB)
16 > Last sector: 1296455679 (at 618.2 GiB)
17 > Partition size: 409600 sectors (200.0 MiB)
18 > Attribute flags: 0000000000000000
19 > Partition name: 'EFI System'
20 >
21 > This is the EFI-system-partition on /dev/sda.
22 > Should it point there?
23 >
24 > In my case sda1 is a Linux RAID partition, which is part of md0, which
25 > once was my / (too small now).
26 >
27 > What I tried to achieve:
28 >
29 > sda5: EFI system ( -> /boot/efi )
30 >
31 > gentoo-root on /dev/md3 (consists of sda6 and sdb3)
32 >
33 > I know this looks like a mess, and somehow it is.
34 >
35 > But right now I see something else:
36 >
37 > Boot0000* GRUB2
38 > HD(5,4d401800,64000,0c67029a-25de-4e23-b2be-6c502742189e)File(\EFI\GRUB2\grubx64.efi)
39 >
40 > would point at my /dev/sda5 and the file \EFI\GRUB2\grubx64.efi in
41 > there, right?
42
43 Yes, correct. Everything so far looks okay to me. So when you book in
44 EFI mode you should get at least a grub shell - even if your grub.cfg is
45 missing or incorrect. But on the other hand, UEFI is a bitch, took me
46 several days in trial and error to get it running when I first tested it
47 (this was with unstable grub then, I even hat to create my own grub
48 image with grub2-mkimage)
49
50 >
51 > After all my fiddling around right now it is named
52 >
53 > /boot/efi/EFI/grub2/grubx64.efi
54 >
55 > case-sensitive? Vfat ... ? I just rename it and give it a try ;-)
56
57 vfat is not case sensitive, so this should be no problem.
58
59 >
60 > What about that ugly Boot0007 in my listing?
61
62 Maybe some internal rescue partition or something like that. Looks
63 strange to me too.

Replies

Subject Author
Re: [gentoo-user] UEFI boot, again "Stefan G. Weichinger" <lists@×××××.at>