On 2/27/24 22:55, Andrei Borzenkov wrote:
On 28.02.2024 04:17, Joe Salmeri wrote:
When TW is initially installed using grub2 the /etc/default/grub file created during installation contains the following lines:
SUSE_BTRFS_SNAPSHOT_BOOTING="true" GRUB_USE_LINUXEFI="true" GRUB_DISABLE_OS_PROBER="false" GRUB_ENABLE_CRYPTODISK="n" GRUB_CMDLINE_XEN_DEFAULT="vga=gfx-1024x768x16"
After installing systemd-boot and getting that working and then switching back to grub2 by reinstalling grub2 the /etc/default/grub file does NOT contain those lines.
How is the initial TW install creating /etc/default/grub with those lines in it and a reinstall of grub2 does NOT contain those lines ?
This file is managed by yast-bootlader which runs during installation.
Thanks Andrei, so that explains why when I looked at the grub2 rpm contents I could not find anything that made the modifications. Is there are way ( even a manual method ) such that reinstalling grub2 ends up with the same /etc/default/grub ( and anything else that yast-bootloader process does ) as we get with a new installation? Or is this something that I just have to manually do by editing /etc/default/grub? Obviously editing is no big deal, but I don't know if there is anything else that is done by yast-bootloader during installation that I might be missing which also needs to be done when reinstalling grub2. -- Regards, Joe