1 |
On Friday 26 Aug 2016 16:13:53 Mike Gilbert wrote: |
2 |
> On Fri, Aug 26, 2016 at 4:32 AM, Peter Humphrey <peter@××××××××××××.uk> wrote: |
3 |
> > In my search for a suitable boot method, I'm trying Mike G's |
4 |
> > systemd-boot |
5 |
> > ebuild. I've installed it with no problem, and now I reach the heart-in- |
6 |
> > mouth stage of actually replacing gummiboot with it. But first, the |
7 |
> > backup, including dd of what used to be called the MBR (what is it |
8 |
> > now?). |
9 |
> It should be basically a drop-in replacement, with a slightly |
10 |
> different name. It should not require any modification to your disk |
11 |
> layout. |
12 |
|
13 |
I've learned a few things over the last day, and now I have systemd-boot |
14 |
installed and gummiboot gone (late and somewhat lamented). |
15 |
|
16 |
# bootctl status |
17 |
System: |
18 |
Firmware: UEFI 2.31 (American Megatrends 5.09) |
19 |
Secure Boot: disabled |
20 |
Setup Mode: setup |
21 |
|
22 |
Loader: |
23 |
Product: systemd-boot 231 |
24 |
Partition: /dev/disk/by-partuuid/f3fa7b95-0a65-4716-924a-ae3f30811de5 |
25 |
File: └─/EFI/SYSTEMD/SYSTEMD-BOOTX64.EFI |
26 |
|
27 |
Boot Loader Binaries: |
28 |
ESP: /dev/disk/by-partuuid/f3fa7b95-0a65-4716-924a-ae3f30811de5 |
29 |
File: └─/EFI/systemd/systemd-bootx64.efi (systemd-boot 231) |
30 |
File: └─/EFI/BOOT/BOOTX64.EFI |
31 |
|
32 |
Boot Loader Entries in EFI Variables: |
33 |
Title: Linux Boot Manager |
34 |
ID: 0x0001 |
35 |
Status: active, boot-order |
36 |
Partition: /dev/disk/by-partuuid/f3fa7b95-0a65-4716-924a-ae3f30811de5 |
37 |
File: └─/EFI/SYSTEMD/SYSTEMD-BOOTX64.EFI |
38 |
|
39 |
Title: UEFI OS |
40 |
ID: 0x000C |
41 |
Status: active, boot-order |
42 |
Partition: /dev/disk/by-partuuid/f3fa7b95-0a65-4716-924a-ae3f30811de5 |
43 |
File: └─/EFI/BOOT/BOOTX64.EFI |
44 |
|
45 |
I'd still like to know where the directory /usr/lib64/systemd/boot/efi |
46 |
came from though. |
47 |
|
48 |
https://wiki.archlinux.org/index.php/systemd-boot was the last link I |
49 |
needed; I hadn't realised until then that bootctl uses the same |
50 |
/boot/loader/... arrangement as gummiboot, Mike's "drop-in replacement" |
51 |
comment notwithstanding. I suggest that the Gentoo docs could use a version |
52 |
of this web page. |
53 |
|
54 |
> Also, you should be able to configure your firmware to load either |
55 |
> gummiboot or systemd-boot, so you have a fallback if the new code |
56 |
> fails. |
57 |
|
58 |
I did that, but now I'm happy with bootctl I've removed gummiboot. |
59 |
|
60 |
I took the opportunity of changing the partition layout somewhat. When I |
61 |
restored all my backups I found errors from polkit and dbus, which were |
62 |
preventing KDE from running properly. I assume this was because the |
63 |
partitions had new UUIDs. A quick "emerj -1av $(eix -cI# polkit)" and ditto |
64 |
dbus fixed it. |
65 |
|
66 |
alias emerj='sudo emerge --jobs=24 --load-average=48 --keep-going --nospinner' |
67 |
|
68 |
So thanks to Mike I now have a stable, maintainable system that suits me. |
69 |
|
70 |
-- |
71 |
Rgds |
72 |
Peter |