Dear Dexuan,

Am Mittwoch, den 08.08.2018, 00:23 +0000 schrieb Dexuan Cui:

> I'm debugging a strange grub2 issue in a Linux Virtual Machine
> running on Hyper-V.

[…]

> 4. What's the best way to debug grub_video_set_mode()?
>   grub_dprintf() can't output anything in this function.

Why? Because the display is not working?

> Does grub support remote debugging via network?
> I know gdb can debug grub in Qemu, but here the issue looks like
> Hyper-V specific.

If Hyper-V can emulate a serial port, then this should be one way to
go. Something like below for `/etc/default/grub`.

GRUB_TERMINAL="console serial"
GRUB_SERIAL_COMMAND="serial --unit=0 --speed=115200"


Thanks,

Paul

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to