From 5103f93a2266d055da2aafc6651e80400a1a9573 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Fri, 9 Aug 2024 18:01:51 +0300 Subject: [PATCH] dracut: operation btrfs convert failed In the end I was unable to get the chrooted system bootable and I gave up deciding to reinstall, but apparently these changes were left here and I either need to commit them or stash and drop, and I generally think there may be value found in such of things later, so commit it is --- etc/dracut.conf.d/99-cmdline.conf.sedric | 2 +- etc/dracut.conf.d/99-hostonly.conf | 3 +++ etc/dracut.conf.d/hostonly.conf | 1 - etc/dracut.conf.d/omit_modules.conf | 1 + etc/dracut.conf.d/omit_modules.conf.sedric | 2 +- 5 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 etc/dracut.conf.d/99-hostonly.conf delete mode 100644 etc/dracut.conf.d/hostonly.conf diff --git a/etc/dracut.conf.d/99-cmdline.conf.sedric b/etc/dracut.conf.d/99-cmdline.conf.sedric index ab0b763a..f61c65b5 100644 --- a/etc/dracut.conf.d/99-cmdline.conf.sedric +++ b/etc/dracut.conf.d/99-cmdline.conf.sedric @@ -1,2 +1,2 @@ -kernel_cmdline="root=UUID=c3df30ca-878b-4125-bcb4-ba3ba4398efd rw rd.lvm.lv=fedora_localhost-live/root rd.luks.uuid=luks-f9a33e19-4176-44b3-8e06-2ee7fb70f3d0 mitigations=auto,nosmt btusb.force_scofix=1 btusb.enable_autosuspend=0 cpufreq.default_governor=schedutil rd.driver.blacklist=nouveau modprobe.blacklist=nouveau" +kernel_cmdline="root=UUID=c3df30ca-878b-4125-bcb4-ba3ba4398efd rw rootflags=subvol=root rd.lvm.lv=fedora_localhost-live/root rd.luks.uuid=luks-f9a33e19-4176-44b3-8e06-2ee7fb70f3d0 mitigations=auto,nosmt btusb.force_scofix=1 btusb.enable_autosuspend=0 cpufreq.default_governor=schedutil rd.driver.blacklist=nouveau modprobe.blacklist=nouveau" # vim: filetype=conf diff --git a/etc/dracut.conf.d/99-hostonly.conf b/etc/dracut.conf.d/99-hostonly.conf new file mode 100644 index 00000000..8188d8b9 --- /dev/null +++ b/etc/dracut.conf.d/99-hostonly.conf @@ -0,0 +1,3 @@ +# takes more space, but permits you to perform filesystem conversion +# and other questionable activities +hostonly="no" diff --git a/etc/dracut.conf.d/hostonly.conf b/etc/dracut.conf.d/hostonly.conf deleted file mode 100644 index 25477bb6..00000000 --- a/etc/dracut.conf.d/hostonly.conf +++ /dev/null @@ -1 +0,0 @@ -hostonly="yes" diff --git a/etc/dracut.conf.d/omit_modules.conf b/etc/dracut.conf.d/omit_modules.conf index 83a37e93..d91aff7b 100644 --- a/etc/dracut.conf.d/omit_modules.conf +++ b/etc/dracut.conf.d/omit_modules.conf @@ -1 +1,2 @@ omit_dracutmodules+=" plymouth kernel-modules-extra network-manager network-legacy connman systemd-networkd i18n net-lib kernel-network-modules qemu qemu-net kernel-modules-asahi nfs asahi-firmware network cifs iscsi nvmf " +# vim: filetype=conf diff --git a/etc/dracut.conf.d/omit_modules.conf.sedric b/etc/dracut.conf.d/omit_modules.conf.sedric index 2e5a2cac..186f3b23 100644 --- a/etc/dracut.conf.d/omit_modules.conf.sedric +++ b/etc/dracut.conf.d/omit_modules.conf.sedric @@ -1,2 +1,2 @@ -omit_dracutmodules+=" plymouth tpm2-tss kernel-modules-extra network-manager network-legacy connman systemd-networkd i18n network net-lib kernel-network-modules qemu qemu-net kernel-modules-asahi nfs asahi-firmware network cifs iscsi nvmf " +omit_dracutmodules+=" plymouth tpm2-tss systemd-pcrphase kernel-modules-extra network-manager network-legacy connman systemd-networkd i18n network net-lib kernel-network-modules qemu qemu-net kernel-modules-asahi nfs asahi-firmware network cifs iscsi nvmf fcoe fcoe-uefi " # vim: filetype=conf