From a0ec8c12a3454c22d206e771a25f7a1354a75e9d Mon Sep 17 00:00:00 2001 From: Mark Verlinde Date: Thu, 22 Jul 2021 10:03:08 +0200 Subject: [PATCH] Do not capitalize PARTUUID - it is not needed for booting the "Raspberry PI OS" way - it breaks booting with an intitramfs --- Rocky8_Rpi4.ks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rocky8_Rpi4.ks b/Rocky8_Rpi4.ks index 8b343e1..3e96535 100644 --- a/Rocky8_Rpi4.ks +++ b/Rocky8_Rpi4.ks @@ -150,7 +150,7 @@ UUID_ROOTFS="$(/bin/cat $INSTALL_ROOT/etc/fstab | \ # Get the PARTUUID of the rootfs partition PART_UUID_ROOTFS="$(/sbin/blkid "$(/sbin/blkid --uuid $UUID_ROOTFS)" | \ -/bin/awk '{print toupper($NF)}' | /bin/tr -d '"' )" +/bin/awk '{print $NF}' | /bin/tr -d '"' )" # Configure the kernel commandline /bin/sed -i "s/root= /root=${PART_UUID_ROOTFS} /" $INSTALL_ROOT/boot/cmdline.txt