On 29/07/2024 06:13, Samuel Sieb wrote:
On 7/28/24 10:09 PM, Terry Barnaby wrote:
We are using software raided partitions, including the root partition
on some of our server systems.
We normally have multiple root partitions to keep the previous Fedora
version available so we can reboot into an older version.
We have an issue in that the kernels appear to require the command
line option "rd.auto" for the older systems to boot with the rootfs
using software raid. When we use grub2-mkconfig (or update a kernel
which I guess also uses this) the produced /boot/grub2/grub.cfg file
does not have "rd.auto" in the kernel command line and so the older
systems will not boot.
In fact no kernel options specified in either the old systems
/etc/kernel/cmdline or /etc/default/grub are added to the grub.cfg
for those systems.
I have added ‘LPARAMS="rd.auto ${LPARAMS}"’ to
/etc/grub.d/30_os-prober to work around this, but is there a way
kernel command line options for probed systems should be setup in
grub properly ?
There is no way for it to know what the correct options are for some
other install and multiple installs are barely supported at all.
Well it could, although more work, look at the /etc/default/grub or
/etc/kernel/cmdline files on Linux systems well at least Fedora Linux
systems.
Anyway this seems like a by hand process then.
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue