Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] UEFI data corruption? [FIXED-FIXED]
Date: Mon, 30 Sep 2019 20:01:43
Message-Id: 20190930210128.04dbfd20@digimed.co.uk
In Reply to: Re: [gentoo-user] UEFI data corruption? [FIXED-FIXED] by Peter Humphrey
1 On Mon, 30 Sep 2019 11:06:17 +0100, Peter Humphrey wrote:
2
3 > This morning I decided to bend with the wind. I let bootctl create
4 > those directories again, then copied the latest kernel image into
5 > /boot/EFI/Linux/. On running bootctl install again, everything worked
6 > as expected. All I had to do was to adjust the boot order with
7 > efibootmgr.
8 >
9 > I suspect I have a hardware problem, because the UEFI BIOS boot menu
10 > doesn't always show an entry I've just added, and it sometimes inserts
11 > a blank entry among the real ones.
12 >
13 > For the record, here's the layout of /boot now:
14 >
15 > # tree /boot
16 > /boot
17 > ├── 4eec63dc92f83de25e1e2e485d7f6536
18 > ├── config-4.19.72-gentoo
19 > ├── config-4.19.72-gentoo-rescue
20 > ├── config-4.19.72-gentoo-testsys
21 > ├── early_ucode.cpio
22 > ├── EFI
23 > │ ├── BOOT
24 > │ │ └── BOOTX64.EFI
25 > │ ├── Linux
26 > │ │ └── bzImage-4.19.72.efi
27 > │ ├── systemd
28 > │ │ └── systemd-bootx64.efi
29 > │ └── TestSys
30 > │ └── BOOT
31 > │ └── bootX64.efi
32 > ├── intel-uc.img
33 > ├── loader
34 > │ ├── entries
35 > │ │ ├── 08-gentoo-4.19.66-rescue.conf
36 > │ │ ├── 09-gentoo-4.19.66-rescue.nonet.conf
37 > │ │ ├── 30-gentoo-4.19.72.conf
38 > │ │ ├── 32-gentoo-4.19.72.nox.conf
39 > │ │ ├── 34-gentoo-4.19.72.nonet.conf
40 > │ │ ├── 40-gentoo-4.19.66.conf
41 > │ │ ├── 42-gentoo-4.19.66.nox.conf
42 > │ │ ├── 44-gentoo-4.19.66.nonet.conf
43 > │ │ ├── 90-testsys-4.19.72.conf
44 > │ │ └── 92-testsys-4.19.72.nonet.conf
45 > │ ├── loader.conf
46 > │ └── random-seed
47 > ├── System.map-4.19.72-gentoo
48 > ├── System.map-4.19.72-gentoo-rescue
49 > ├── System.map-4.19.72-gentoo-testsys
50 > ├── vmlinuz-4.19.72-gentoo
51 > ├── vmlinuz-4.19.72-gentoo-rescue
52 > └── vmlinuz-4.19.72-gentoo-testsys
53 >
54 > 9 directories, 27 files
55 >
56 > Here's hoping I won't have to go through that pain again for a while...
57
58 Are you setting UEFI to boot from systemd-bootx64.efi or from the kernel
59 image? If the former, you don't need a copy of the kernel in the ESP.
60
61
62 --
63 Neil Bothwick
64
65 WinErr 00A: Promotional literature overflow - Mailbox full

Replies

Subject Author
Re: [gentoo-user] UEFI data corruption? [FIXED-FIXED] Peter Humphrey <peter@××××××××××××.uk>