On Tue, Jun 16, 2020 at 12:08 AM Ed Greshko <ed.greshko@xxxxxxxxxxx> wrote: > On 2020-06-15 21:15, Tom H wrote: >> Hope you'll be well soon! > > Thanks. I know I'll be happier after the stitches come out. Hope so :) >> Heads-up: On Rawhide, and therefore on F33 when it's released, >> BLSCFG no longer uses "/boot/grub2/grubenv" for kernel options. > > I don't quite know what you mean. > > On my Rawhide system /boot/grub2/grubenv is a link to > ../efi/EFI/fedora/grubenv. > > [root@frk fedora]# pwd > /boot/efi/EFI/fedora > > [root@frk fedora]# date > Tue 16 Jun 2020 06:05:05 AM CST > > [root@frk fedora]# ll grubenv > -rw-------. 1 root root 1024 Jun 15 21:35 grubenv > > [root@frk fedora]# grub2-editenv - set > "kernelopts=root=/dev/mapper/fedora_frk-root ro > resume=/dev/mapper/fedora_frk-swap rd.lvm.lv=fedora_frk/root > rd.lvm.lv=fedora_frk/swap rhgb quiet" > > [root@frk fedora]# ll grubenv > -rw-------. 1 root root 1024 Jun 16 06:05 grubenv > > [root@frk fedora]# grep quiet grubenv > kernelopts=root=/dev/mapper/fedora_frk-root ro > resume=/dev/mapper/fedora_frk-swap rd.lvm.lv=fedora_frk/root > rd.lvm.lv=fedora_frk/swap rhgb quiet > > So, what are the changes you are referring to? The kernel options are in the BLS entries, so it doesn't matter what you have in grubenv. >From the grub2 changelog on may 13th: Store cmdline in BLS snippets instead of using a grubenv variable The kernel cmdline was stored as a kernelopts variable in the grubenv file and the BLS snippets used that. But this turned out to be fragile since the grubenv file could be removed or get corrupted easily. To prevent the entries to not have a cmdline if the grubenv can't be read, a fallback variable was set in the GRUB config file. But this still caused issues since the config needs to be re-generated to change the parameters. Instead, let's store the cmdline in the BLS snippets. This will make the configuration more robust, since it will work even without the grubenv file and the BLS entries will contain all the information needed to boot. _______________________________________________ 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