1 |
Peter Humphrey wrote: |
2 |
> On Thursday, 15 September 2022 09:57:44 BST I wrote: |
3 |
>> On Wednesday, 14 September 2022 23:09:59 BST Neil Bothwick wrote: |
4 |
>>> On Wed, 14 Sep 2022 16:50:45 +0100, Peter Humphrey wrote: |
5 |
>>>> I'm thinking of separating /usr onto its own partition so that I can |
6 |
>>>> have it mounted read-only except while updating it. I'd prefer not to |
7 |
>>>> have to make an init thingy, not having needed one up to now. Besides, |
8 |
>>>> some machines have things like early-ucode or amd-uc. |
9 |
>>> Most of this has already been answered, except for your final point. You |
10 |
>>> can load more than one initrd at boot, so you can still apply microcode |
11 |
>>> updates. For example, with systemd-boot |
12 |
>>> |
13 |
>>> title Desktop |
14 |
>>> version 5.15.59-gentoo |
15 |
>>> linux /vmlinuz-5.15.59-gentoo |
16 |
>>> options root=LABEL=blah blah |
17 |
>>> initrd /amd-uc.img |
18 |
>>> initrd /initramfs-5.15.59-gentoo.img |
19 |
>>> |
20 |
>>> I use dracut to create the initrd, which is so straighforward even Dale |
21 |
>>> can't break it ;-) |
22 |
>> : |
23 |
>> :) |
24 |
>> |
25 |
>> That seems to be the way to go then - even dinosaurs die out in the end. |
26 |
>> Perhaps Dale will show us the command he referred to. |
27 |
> Well, it's taken a few hours, but I have it working. Just a few wrinkles to |
28 |
> clear up: |
29 |
> |
30 |
> 1. dracut: 90crypt: Could not find any command of '/lib/systemd/systemd- |
31 |
> cryptsetup cryptsetup'! |
32 |
> |
33 |
> ...and similar for bluetooth. |
34 |
> |
35 |
> What do I have to include in /etc/dracut.conf.d/mine.conf to silence these? I |
36 |
> already omit the relevant modules: |
37 |
> |
38 |
> $ grep -e crypt -e blue /etc/dracut.conf.d/mine.conf |
39 |
> omit_dracutmodules+=" bluetoothd " |
40 |
> omit_dracutmodules+=" systemd-cryptsetup " |
41 |
> omit_dracutmodules+=" cryptsetup " |
42 |
> |
43 |
> 2. dracut: No KEYMAP configured. |
44 |
> |
45 |
> $ grep i18n /etc/dracut.conf.d/mine.conf |
46 |
> i18n_vars="/etc/conf.d/keymaps:KEYMAP /etc/conf.d/keymaps:WINDOWKEYS / |
47 |
> etc/conf.d/consolefont:FONT" |
48 |
> |
49 |
> Notice that only KEYMAP is complained about. The FONT in consolefont points to |
50 |
> /usr as well as KEYMAP. |
51 |
> |
52 |
|
53 |
|
54 |
On the ones you want to omit, is there supposed to be a space in there? |
55 |
Should it be like this instead: |
56 |
|
57 |
|
58 |
omit_dracutmodules+="bluetoothd" |
59 |
omit_dracutmodules+="systemd-cryptsetup" |
60 |
omit_dracutmodules+="cryptsetup" |
61 |
|
62 |
|
63 |
It may not matter but then again, it just might. Worth a try I'd guess. |
64 |
|
65 |
Hope that helps. |
66 |
|
67 |
Dale |
68 |
|
69 |
:-) :-) |
70 |
|
71 |
P. S. Finally, someone broke it. ROFLMBO |