From patchwork Mon May 16 14:48:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 5623 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4L22Dm6H2Gz3yZG for ; Mon, 16 May 2022 14:48:24 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4L22Dl5qwwzfF; Mon, 16 May 2022 14:48:23 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4L22Dl5FYMz2ynQ; Mon, 16 May 2022 14:48:23 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4L22Dk6wlbz2xbM for ; Mon, 16 May 2022 14:48:22 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4L22Dh6vk9zDC; Mon, 16 May 2022 14:48:20 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1652712501; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=tgm5UH7RoF83UF1XELdFpAAzdPQ+OiDj/I/Izawp/rs=; b=b1adMOL17hnX4pQCXcSSYXDJUdW+YLpRf9+yxmIm3XTknnKNTpOhMtqe3bT0+ovVWVLmYC 8pWPDaWcHWVmc/AA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1652712501; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=tgm5UH7RoF83UF1XELdFpAAzdPQ+OiDj/I/Izawp/rs=; b=fMd+9smTRYTdIfT3QzjIqvYgWhjj7PRkzfR9npuepmoPhcOVvib3wLS5Xaedv4eS52qNsr bKbJdWWWWQrQrJHt7N/0YpzshwhXSrdmjlPThnL6VaXsRyr31gSpUJ5itzn+RQAXD90XG0 H6fb6inBkw3dVn2HVszKpOshYjwdXcNe8zTlCgbtJF+hvGQkoeficv3E+dli1mxD6CO45j KRom3IflX0hOTnBf5wzUJP06s7wjmU4KDLKonDs23fOtHMT36Ei0UsI4Hu6oQxOQgD00dR 1LSSaAakZ7WGSIo5AaC2+cjJpkxo6xZhZ7r6l+GS3+PXT7WmdCmrg85R0DZ/yw== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH] dracut: Enable automatic assembly of any RAID/LVM devices Date: Mon, 16 May 2022 14:48:14 +0000 Message-Id: <20220516144814.4143999-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer , Dirk Sihling Errors-To: development-bounces@lists.ipfire.org Sender: "Development" 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 Reported-by: Adolf Belka Signed-off-by: Michael Tremer Reviewed-by: Peter Müller --- config/grub2/default | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/grub2/default b/config/grub2/default index c1b78237e..127d33445 100644 --- a/config/grub2/default +++ b/config/grub2/default @@ -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"