Commit 265b70f1 authored by longpanda's avatar longpanda
Browse files

misc update

parent 491f0bea
...@@ -543,7 +543,7 @@ grub_err_t ventoy_cmd_get_vtoy_type(grub_extcmd_context_t ctxt, int argc, char * ...@@ -543,7 +543,7 @@ grub_err_t ventoy_cmd_get_vtoy_type(grub_extcmd_context_t ctxt, int argc, char *
} }
grub_env_set(args[1], type); grub_env_set(args[1], type);
debug("<%s> vtoy type: <%s> ", args[0], type); debug("<%s> vtoy type: <%s> offset:%d\n", args[0], type, offset);
if (offset >= 0) if (offset >= 0)
{ {
...@@ -598,6 +598,14 @@ grub_err_t ventoy_cmd_get_vtoy_type(grub_extcmd_context_t ctxt, int argc, char * ...@@ -598,6 +598,14 @@ grub_err_t ventoy_cmd_get_vtoy_type(grub_extcmd_context_t ctxt, int argc, char *
altboot = 1; altboot = 1;
grub_env_set(args[3], "1"); grub_env_set(args[3], "1");
} }
else
{
debug("offset data=0x%x\n", data);
}
}
else
{
debug("BootCode: 0x%x\n", gpt->MBR.BootCode[92]);
} }
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment