* [PATCH] wic: efi-plus-pcbios: Use --use-uuid for partitions (vs --ondisk sda)
@ 2025-04-15 15:17 'Badrikesh Prusty' via isar-users
0 siblings, 0 replies; only message in thread
From: 'Badrikesh Prusty' via isar-users @ 2025-04-15 15:17 UTC (permalink / raw)
To: isar-users; +Cc: badrikesh prusty
From: badrikesh prusty <badrikesh.prusty@siemens.com>
After installing an image from isar-installer-image for x86-pc to an NVMe
drive, the boot process incorrectly checks /dev/sda1 for the boot partition,
as specified in /etc/fstab.
This is not an issue with devices using SATA drives but causes problems when
NVMe drives or multiple SATA drives are present.
This change checks for partition UUIDs vs /dev/sda device.
Signed-off-by: badrikesh prusty <badrikesh.prusty@siemens.com>
---
meta-isar/scripts/lib/wic/canned-wks/efi-plus-pcbios.wks | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta-isar/scripts/lib/wic/canned-wks/efi-plus-pcbios.wks b/meta-isar/scripts/lib/wic/canned-wks/efi-plus-pcbios.wks
index 03928915..220df99d 100644
--- a/meta-isar/scripts/lib/wic/canned-wks/efi-plus-pcbios.wks
+++ b/meta-isar/scripts/lib/wic/canned-wks/efi-plus-pcbios.wks
@@ -1,6 +1,6 @@
# Example to show how to create an efi + pcbios image
# Note, that the loader argument is mandatory. But systemd-boot also works.
-part /boot --source bootimg-biosplusefi-isar --sourceparams="loader=grub-efi" --label boot --active --align 1024
-part / --source rootfs --ondisk sda --fstype=ext4 --mkfs-extraopts "-T default" --label platform --align 1024 --exclude-path=boot
+part /boot --source bootimg-biosplusefi-isar --sourceparams="loader=grub-efi" --label boot --active --align 1024 --use-uuid
+part / --source rootfs --fstype=ext4 --mkfs-extraopts "-T default" --label platform --align 1024 --use-uuid --exclude-path=boot
bootloader --ptable gpt --timeout 3 --append "rootwait console=ttyS0,115200 console=tty0"
--
2.39.5
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20250415151729.12392-1-badrikesh.prusty%40siemens.com.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-04-15 15:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-15 15:17 [PATCH] wic: efi-plus-pcbios: Use --use-uuid for partitions (vs --ondisk sda) 'Badrikesh Prusty' via isar-users
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox