1 |
On Thursday, 15 September 2022 09:57:44 BST I wrote: |
2 |
> On Wednesday, 14 September 2022 23:09:59 BST Neil Bothwick wrote: |
3 |
> > On Wed, 14 Sep 2022 16:50:45 +0100, Peter Humphrey wrote: |
4 |
> > > I'm thinking of separating /usr onto its own partition so that I can |
5 |
> > > have it mounted read-only except while updating it. I'd prefer not to |
6 |
> > > have to make an init thingy, not having needed one up to now. Besides, |
7 |
> > > some machines have things like early-ucode or amd-uc. |
8 |
> > |
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 |
|
28 |
Well, it's taken a few hours, but I have it working. Just a few wrinkles to |
29 |
clear up: |
30 |
|
31 |
1. dracut: 90crypt: Could not find any command of '/lib/systemd/systemd- |
32 |
cryptsetup cryptsetup'! |
33 |
|
34 |
...and similar for bluetooth. |
35 |
|
36 |
What do I have to include in /etc/dracut.conf.d/mine.conf to silence these? I |
37 |
already omit the relevant modules: |
38 |
|
39 |
$ grep -e crypt -e blue /etc/dracut.conf.d/mine.conf |
40 |
omit_dracutmodules+=" bluetoothd " |
41 |
omit_dracutmodules+=" systemd-cryptsetup " |
42 |
omit_dracutmodules+=" cryptsetup " |
43 |
|
44 |
2. dracut: No KEYMAP configured. |
45 |
|
46 |
$ grep i18n /etc/dracut.conf.d/mine.conf |
47 |
i18n_vars="/etc/conf.d/keymaps:KEYMAP /etc/conf.d/keymaps:WINDOWKEYS / |
48 |
etc/conf.d/consolefont:FONT" |
49 |
|
50 |
Notice that only KEYMAP is complained about. The FONT in consolefont points to |
51 |
/usr as well as KEYMAP. |
52 |
|
53 |
-- |
54 |
Regards, |
55 |
Peter. |