From d1b87a346a0c0b775ee44ec7090bee03ba8be7ba Mon Sep 17 00:00:00 2001 From: Niklas Cassel Date: Tue, 7 Mar 2023 10:35:02 +0100 Subject: [PATCH] board/qemu/aarch64-sbsa: use PARTLABEL to specify root Specifying /dev/sda2 is ambigious, and when booting my arm64 machine this tries to mount the second partition of my ATA drive, instead of the second partition of the USB-stick, simply because the ATA driver is probed earlier than the USB controller driver. To solve this problem, use PARTLABEL=root to specify the root filesystem. This is similar to how it is currently done for board/aarch64-efi/grub.cfg and board/qemu/aarch64-ebbr/grub.cfg. Signed-off-by: Niklas Cassel Signed-off-by: Thomas Petazzoni --- board/qemu/aarch64-sbsa/grub.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/qemu/aarch64-sbsa/grub.cfg b/board/qemu/aarch64-sbsa/grub.cfg index cd486caf4c..39b7842f8f 100644 --- a/board/qemu/aarch64-sbsa/grub.cfg +++ b/board/qemu/aarch64-sbsa/grub.cfg @@ -2,5 +2,5 @@ set default="0" set timeout="5" menuentry "Buildroot" { - linux /Image root=/dev/sda2 rootwait console=ttyAMA0 + linux /Image root=PARTLABEL=root rootwait console=ttyAMA0 }