1 |
On Monday, 24 May 2021 16:14:43 BST Michael wrote: |
2 |
|
3 |
> You can contact me off list if you want to work through the detail of |
4 |
> configuring your system with and without a boot manager. I think once it |
5 |
> clicks, you'll be able to apply your preferred solution without much trouble |
6 |
> in the future. |
7 |
|
8 |
Thanks for the offer, Michael, but let me clear a few things up first. |
9 |
|
10 |
1. I don't use symlinks in /boot. |
11 |
2. I don't use grub, nor any other boot manager. |
12 |
3. ...unless you count bootctl, from sys-boot/systemd-boot. |
13 |
4. I have the existing ESP mounted on /boot. It belongs to Windows and cannot |
14 |
be enlarged beyond 100MB. |
15 |
5. I have a small second system on the Gentoo disk called Rescue, so I have a |
16 |
multiple-boot system. |
17 |
|
18 |
# tree -L 3 /boot |
19 |
/boot |
20 |
├── EFI |
21 |
│ ├── Boot |
22 |
│ │ └── bootx64.efi |
23 |
│ ├── Linux |
24 |
│ ├── Microsoft |
25 |
│ │ ├── Boot |
26 |
│ │ └── Recovery |
27 |
│ └── systemd |
28 |
│ └── systemd-bootx64.efi |
29 |
├── System.map-5.10.27-gentoo |
30 |
├── System.map-5.10.27-gentoo-rescue |
31 |
├── amd-uc.img |
32 |
├── config-5.10.27-gentoo |
33 |
├── config-5.10.27-gentoo-rescue |
34 |
├── loader |
35 |
│ ├── entries |
36 |
│ │ ├── 08-gentoo-rescue-5.10.27.conf |
37 |
│ │ ├── 09-gentoo-rescue-5.10.27.nonet.conf |
38 |
│ │ ├── 30-gentoo-5.10.27.conf |
39 |
│ │ ├── 32-gentoo-5.10.27.nox.conf |
40 |
│ │ └── 34-gentoo-5.10.27.nonet.conf |
41 |
│ ├── loader.conf |
42 |
│ └── random-seed |
43 |
├── vmlinuz-5.10.27-gentoo |
44 |
└── vmlinuz-5.10.27-gentoo-rescue |
45 |
|
46 |
# parted -l |
47 |
[...] |
48 |
Model: Samsung SSD 970 EVO Plus 250GB (nvme) |
49 |
Disk /dev/nvme0n1: 250GB |
50 |
Sector size (logical/physical): 512B/512B |
51 |
Partition Table: gpt |
52 |
Disk Flags: |
53 |
|
54 |
Number Start End Size File system Name Flags |
55 |
1 1049kB 106MB 105MB fat32 EFI system partition boot, esp |
56 |
2 106MB 123MB 16.8MB Microsoft reserved partition msftres |
57 |
3 123MB 249GB 249GB ntfs Basic data partition msftdata |
58 |
4 249GB 250GB 580MB ntfs Basic data partition hidden, diag |
59 |
|
60 |
Model: Samsung SSD 970 EVO Plus 250GB (nvme) |
61 |
Disk /dev/nvme1n1: 250GB |
62 |
Sector size (logical/physical): 512B/512B |
63 |
Partition Table: gpt |
64 |
Disk Flags: |
65 |
|
66 |
Number Start End Size File system Name Flags |
67 |
1 1049kB 269MB 268MB ext4 boot |
68 |
2 269MB 34.6GB 34.4GB linux-swap(v1) swap-1 swap |
69 |
3 34.6GB 51.8GB 17.2GB ext4 rescue |
70 |
4 51.8GB 86.2GB 34.4GB ext4 root |
71 |
5 86.2GB 90.5GB 4295MB ext4 local |
72 |
6 90.5GB 103GB 12.9GB ext4 home |
73 |
7 103GB 129GB 25.8GB ext4 common |
74 |
[...] |
75 |
|
76 |
I followed the installation handbook, boot-loader section, to create a UEFI |
77 |
boot entry. I followed the syntax precisely, with several variations at |
78 |
various attempts. In every case, the UEFI BIOS listed the new entry but |
79 |
couldn't execute it. |
80 |
|
81 |
I want to be shown a list of systems to boot immediately after the POST, which |
82 |
I'm sure efibootmgr can't do, so I ran 'bootctl install' to install the code (where?) to give me the ability. That works, though I do remove the directory |
83 |
with the 32-hex-digit name, and install my own loader.conf. |
84 |
|
85 |
The system seems to be stable now. |
86 |
|
87 |
-- |
88 |
Regards, |
89 |
Peter. |