From ecaf923e6dcbb8698d696287263b083959b7d351 Mon Sep 17 00:00:00 2001 From: Aiken Harris Date: Tue, 29 Jul 2025 08:01:32 +0200 Subject: [PATCH] Ensure correct boot volume is used to boot XTOS --- xtldr/modules/xtos_o/xtos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xtldr/modules/xtos_o/xtos.c b/xtldr/modules/xtos_o/xtos.c index 36b031c..abeb3cb 100644 --- a/xtldr/modules/xtos_o/xtos.c +++ b/xtldr/modules/xtos_o/xtos.c @@ -323,7 +323,7 @@ XtBootSystem(IN PXTBL_BOOT_PARAMETERS Parameters) Parameters->KernelFile, Parameters->Parameters); /* Open EFI volume */ - Status = XtLdrProtocol->Disk.OpenVolume(NULL, &DiskHandle, &FsHandle); + Status = XtLdrProtocol->Disk.OpenVolume(Parameters->DevicePath, &DiskHandle, &FsHandle); if(Status != STATUS_EFI_SUCCESS) { /* Failed to open a volume */