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 10:53:17
Message-Id: 507947C8.4030408@hadt.biz
In Reply to: Re: [gentoo-user] UEFI boot, again by "Stefan G. Weichinger"
1 Am 13.10.2012 12:13, schrieb Stefan G. Weichinger:
2 > Am 2012-10-13 11:38, schrieb Michael Hampicke:
3 >>>> I just remembered another step that I missed - I dont have the syntax
4 >>>> but "efibootmgr" - google for the correct options.
5 >>>
6 >>> Yes ;-)
7 >>>
8 >>> I do that for days now. What puzzles me:
9 >>>
10 >>> I get the entries into EFI: when I boot I see the entries created by
11 >>> efibootmgr, but when I chose one of the entries pointing to "GRUB2" or
12 >>> "gentoo" the PC tells me that the disk isn't bootable.
13 >>>
14 >>> And I still don't know what is missing. AFAIK that EFI system partition
15 >>> is allowed to be within the first 2 TB of the disk (easy on my 1 TB
16 >>> hdd), has to have the boot-flag set (in parted-terms), and must be type
17 >>> EF02. When EFI doesn't find something bootable on the disk, my
18 >>> interpretation is that it can't find that partition?
19 >>
20 >> Maybe the boot entry in the EFI firmware is wrong. That's what mine
21 >> looks like:
22 >>
23 >> # efibootmgr -v
24 >> BootCurrent: 0000
25 >> Timeout: 2 seconds
26 >> BootOrder: 0000,0002,0003,0004
27 >> Boot0000* grub2
28 >> HD(1,800,40000,2693e7bd-d35e-4a39-9bb9-365ee533d690)File(\EFI\grub2\grubx64.efi)
29 >> Boot0002* Hard Drive BIOS(2,0,00)USB DISK 1100.
30 >> Boot0003* Network Card BIOS(6,0,00)Realtek PXE B05 D00.
31 >> Boot0004* Removable Drive BIOS(1,0,00)HTC Android Phone 0000.
32 >
33 > look at mine!
34 >
35 > ->
36 >
37 >
38 >
39 > # efibootmgr -v
40 > BootCurrent: 0008
41 > Timeout: 0 seconds
42 > BootOrder: 0000,0001,0002,0008,0004,0005,0006,0007
43 > Boot0000* GRUB2
44 > HD(5,4d401800,64000,0c67029a-25de-4e23-b2be-6c502742189e)File(\EFI\GRUB2\grubx64.efi)
45 > Boot0001* USB Floppy/CD
46 > Vendor(b6fef66f-1495-4584-a836-3492d1984a8d,0500000001)AMBO
47 > Boot0002* USB Hard Drive
48 > Vendor(b6fef66f-1495-4584-a836-3492d1984a8d,0200000001)AMBO
49 > Boot0004 ATAPI CD-ROM Drive
50 > Vendor(b6fef66f-1495-4584-a836-3492d1984a8d,0300000001)AMBO
51 > Boot0005 Unknown Device BIOS(3,0,00)AMGOAMNO........o.h.p. . . . . . .
52 > .C.D.D.V.D.W.
53 > .T.S.-.H.6.5.3.T.N....................A...........................>..Gd-.;.A..MQ..L.8.R.G.L.G.6.B.F.7.A.4.8.2.4.
54 > . . . . . ......AMBO
55 > Boot0006 USB Floppy/CD
56 > Vendor(b6fef66f-1495-4584-a836-3492d1984a8d,0500000000)AMBO
57 > Boot0007 Hard Drive
58 > BIOS(2,0,00)AMGOAMNO........o.S.T.3.1.0.0.0.5.2.4.A.S....................A...........................>..Gd-.;.A..MQ..L.
59 > . . . . . . . . . . .
60 > .V.9.D.P.1.H.0.D......AMBOAMNO........o.H.i.t.a.c.h.i.
61 > .H.D.S.7.2.1.0.1.0.C.L.A.6.3.2....................A...........................>..Gd-.;.A..MQ..L.
62 > . . . . .
63 > .P.J.9.2.0.4.8.J.1.3.S.4.V.G......AMBOAMNO.........J.e.t.F.l.a.s.h.T.S.5.1.2.M.J.F.V.3.0.
64 > .8...0.7....................A...................................F..Gd-.;.A..MQ..L.J.e.t.F.l.a.s.h.T.S.5.1.2.M.J.F.V.3.0.
65 > .8...0.7......AMBO
66 > Boot0008* UEFI: JetFlashTS512MJFV30 8.07
67 > ACPI(a0341d0,0)PCI(1a,0)USB(1,0)USB(1,0)USB(2,0)HD(1,800,f47fe,000195b8)AMBO
68 >
69 >
70 >
71
72 Looks good, could you cross-check if the GUID is correct? My EFI
73 partition is the first one on my ssd, so I use # sgdisk -i1 /dev/sda to
74 check. The value you are looking for is "Partition unique GUID" - should
75 be the same to what efibootmgr displays
76 (0c67029a-25de-4e23-b2be-6c502742189e)

Replies

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