]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
dracut: Enable automatic assembly of any RAID/LVM devices
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 16 May 2022 14:48:14 +0000 (14:48 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Mon, 16 May 2022 18:31:12 +0000 (18:31 +0000)
This has changed in dracut 24 and we have used various hacks to enable
this behaviour again when it would have been so easy to just enable this
parameter.

Fixes: #12862 - Upgrade from Core 166 to 167 does not use RAID anymore
Reported-by: Dirk Sihling <dsihling@web.de>
Reported-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
config/grub2/default

index c1b78237e88fcd4572740c019f6a6356593ce396..127d334454168d9703cf46c5ab608f508c1844c6 100644 (file)
@@ -1,6 +1,6 @@
 GRUB_TIMEOUT=5
 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
 GRUB_DEFAULT=saved
-GRUB_CMDLINE_LINUX="panic=10"
+GRUB_CMDLINE_LINUX="rd.auto panic=10"
 GRUB_DISABLE_RECOVERY="true"
 GRUB_BACKGROUND="/boot/grub/splash.png"