diff --git a/src/gpt-auto-generator/gpt-auto-generator.c b/src/gpt-auto-generator/gpt-auto-generator.c index dbcef3b0a92..4b7af42353b 100644 --- a/src/gpt-auto-generator/gpt-auto-generator.c +++ b/src/gpt-auto-generator/gpt-auto-generator.c @@ -680,8 +680,9 @@ static int add_root_mount(void) { r = efi_loader_get_device_part_uuid(NULL); if (r == -ENOENT) { - log_notice("EFI loader partition unknown, exiting.\n" - "(The boot loader did not set EFI variable LoaderDevicePartUUID.)"); + log_notice("EFI loader partition unknown, not processing %s.\n" + "(The boot loader did not set EFI variable LoaderDevicePartUUID.)", + in_initrd() ? "/sysroot" : "/"); return 0; } else if (r < 0) return log_error_errno(r, "Failed to read loader partition UUID: %m");