From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jD1cj3cMZz2xXH for ; Mon, 26 Oct 2026 18:00:21 +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) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jD1cj37Vtz2xNp for ; Mon, 26 Oct 2026 18:00:21 +0000 (UTC) Received: from people01.haj.ipfire.org (people01.haj.ipfire.org [172.28.1.161]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "people01.haj.ipfire.org", Issuer "YE1" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4jD1ch4xMQz2cJ for ; Mon, 26 Oct 2026 18:00:20 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1793037620; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=FEZOfjGxe1h6gQrLua6+A3+MBFuZJcdvX1AWgIE0TrU=; b=DoCQMZg2T91Q+d3bOFBikttvnB6ZL+0ki7mnexJbtvKADCm8Gri4+sfigXQYo70gGIxT59 KUau9GtFZfaYagBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1793037620; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=FEZOfjGxe1h6gQrLua6+A3+MBFuZJcdvX1AWgIE0TrU=; b=LoP0CQsWymkQCpQiClMjpoq0HSmCV3zUhQ+tD57GcvtRW39tXwD2YLCWixfkJPLeZiroIU qAj4Clb7p6qxITu0+4KG2AIMe/XWxZgIXzjX0G1UKb59bp/YVJ5LAwjxsGowhf5ekcIEC6 SdHiKdHQDk9m3GERKD/Pg+Wj/SScLabnICp+TAz6VhBgqbo1jAjv/5JGx8M1xwm9Ffp9JO ScK1qIk33EgcYtiIxP3I0ACcWaeoFjaq74AZ8sQ5PjgBdLHQCrYzEWwJfglT72hsOgwfv3 4F1BxYhLt9Pp0l5xkBkbe3NGBfUZTeH2eU22sspQHnlXUSxP+jy3xrPhSOCSKA== Received: by people01.haj.ipfire.org (Postfix, from userid 1000) id 4jD1ch4630z2xVw; Mon, 26 Oct 2026 18:00:20 +0000 (UTC) To: ipfire-scm@lists.ipfire.org Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 81bd9c000608332eca3563b37406fe1b1a309b7b X-Git-Refname: refs/heads/next X-Git-Reftype: branch X-Git-Oldrev: eafe2651f733ba93783de6211610059eb809414f X-Git-Newrev: 81bd9c000608332eca3563b37406fe1b1a309b7b Message-Id: <4jD1ch4630z2xVw@people01.haj.ipfire.org> Date: Mon, 26 Oct 2026 18:00:20 +0000 (UTC) From: Michael Tremer Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree". The branch, next has been updated via 81bd9c000608332eca3563b37406fe1b1a309b7b (commit) from eafe2651f733ba93783de6211610059eb809414f (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 81bd9c000608332eca3563b37406fe1b1a309b7b Author: Michael Tremer Date: Mon Oct 26 17:40:37 2026 +0000 grub: Use the UUID for root file systems on software RAID again GRUB 2.16 forces the device path for root file systems on diskfilter devices like software RAID (928df0770). Because the array is called /dev/md0 in the installer, but is being assembled as /dev/md127 at boot (there is no mdadm.conf in the initramfs), the kernel cannot find its root file system after a fresh installation. This restores the behaviour of GRUB 2.14 which has used the UUID. Fixes: #14713 Signed-off-by: Michael Tremer ----------------------------------------------------------------------- Summary of changes: lfs/grub | 4 ++++ .../grub/grub-2.16-Use-UUID-for-mdraid-root-filesystems.patch | 11 +++++++++++ 2 files changed, 15 insertions(+) create mode 100644 src/patches/grub/grub-2.16-Use-UUID-for-mdraid-root-filesystems.patch Difference in files: diff --git a/lfs/grub b/lfs/grub index 164a51efa..f6927f830 100644 --- a/lfs/grub +++ b/lfs/grub @@ -93,6 +93,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/grub/grub-2.06-remove_os_prober_disabled_warning.patch cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/grub/grub-2.02_disable_vga_fallback.patch cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/grub/grub-2.16-Use-medany-instead-of-large-model-for-RISCV.patch + + # Use the UUID for root file systems on software RAID like GRUB 2.14 did + # as the name of the array is not the same in the installer and at boot + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/grub/grub-2.16-Use-UUID-for-mdraid-root-filesystems.patch cd $(DIR_APP) && [ ! -e grub-core/extra_deps.lst ] && echo 'depends bli part_gpt' > grub-core/extra_deps.lst cd $(DIR_APP) && autoreconf -vfi diff --git a/src/patches/grub/grub-2.16-Use-UUID-for-mdraid-root-filesystems.patch b/src/patches/grub/grub-2.16-Use-UUID-for-mdraid-root-filesystems.patch new file mode 100644 index 000000000..c9b65e91e --- /dev/null +++ b/src/patches/grub/grub-2.16-Use-UUID-for-mdraid-root-filesystems.patch @@ -0,0 +1,11 @@ +--- grub-2.16.orig/util/grub.d/10_linux.in 2026-09-21 17:33:49.000000000 +0000 ++++ grub-2.16/util/grub.d/10_linux.in 2026-10-26 17:39:04.871821016 +0000 +@@ -56,7 +56,7 @@ + && [ "x${GRUB_DISABLE_LINUX_PARTUUID}" = "xtrue" ] ) \ + || ( ! findfs UUID="${GRUB_DEVICE_UUID}" > /dev/null 2>&1 \ + && ! findfs PARTUUID="${GRUB_DEVICE_PARTUUID}" > /dev/null 2>&1 ) \ +- || ( test -e "${GRUB_DEVICE}" && ( uses_abstraction "${GRUB_DEVICE}" lvm || uses_abstraction "${GRUB_DEVICE}" diskfilter ) ); then ++ || ( test -e "${GRUB_DEVICE}" && uses_abstraction "${GRUB_DEVICE}" lvm ); then + LINUX_ROOT_DEVICE=${GRUB_DEVICE} + elif [ "x${GRUB_DEVICE_UUID}" = "x" ] \ + || [ "x${GRUB_DISABLE_LINUX_UUID}" = "xtrue" ]; then hooks/post-receive -- IPFire 2.x development tree