Closed xfzv closed 3 years ago
Yep, I don't expect two (or more) "initrd" fields to appear in the boot stanza but at most one. What you can do is this:
options "cryptdevice=UUID=[...]:luks root=/dev/mapper/luks rootflags=subvol=@ resume=/dev/mapper/luks resume_offset=16400 quiet rw initrd=/intel-ucode.img"
That is, relocate the "initrd" field's value ("/intel-ucode.img) and put it inside the "options" field. This use case isn't really explained well (or mentioned even, it's the first time I see this) in the official rEFInd documentation and it would be quiet a bit of work to support a collection instead of a simple scalar.
You can see the exact error here:
initrd = only(always_iterable(main_options.get(RefindOption.INITRD)))
File "/usr/lib/python3.9/site-packages/more_itertools/more.py", line 3063, in only
raise too_long or ValueError(msg)
ValueError: Expected exactly one item in iterable, but got '/intel-ucode.img', '/initramfs-linux.img', and perhaps more.
Thank you, that did the trick!
Thank you, that did the trick!
No problem. 👍🏼
I'm using
refind-btrfs
AUR on Arch Linux.sudo refind-btrfs
:I ran
sudo systemctl enable refind-btrfs.service
.sudo systemctl status refind-btrfs.service
:/boot/EFI/refind/refind.conf
:I'm using untouched
/etc/refind-btrfs.conf
I have an Arch VM with the exact same setup minus
initrd /intel-ucode.img
inrefind.conf
andrefind-btrfs
works just fine on it.Any idea? Thanks.