Bug#1111240: guest update-grub reproduces the boot failure

亀田 尭宙 kameda at nihu.jp
Sat Nov 21 00:49:43 GMT 2026


Hello,

I encountered a similar failure with an official Debian 13 amd64 genericcloud QCOW2 image (SHA-256:
de9d63f5e5ec5927d7548bc05b6043b87457b8c1cb9bcb95365168e8d0293b4f) under libvirt/QEMU/KVM. 
The VM has a serial console but no graphics or video device in its libvirt definition.
(no <graphics> or <video> elements; one <serial> and one <console> element)

In the serial console log, "Booting 'Debian GNU/Linux'" appeared repeatedly, but I found no explicit error messages explaining the resets.

Then, I changed "terminal_output gfxterm serial" in /boot/grub/grub.cfg to "terminal_output serial", and the VM then booted successfully. 

For a separate experiment, with the original /etc/default/grub setting, update-grub had generated "terminal_output gfxterm serial", and during a 45-second serial-console observation, "Booting Debian GNU/Linux" appeared 121 times. No kernel version line or login prompt appeared.

In the other copy, I set GRUB_TERMINAL_OUTPUT="serial" in /etc/default/grub. The guest’s update-grub generated a grub.cfg containing terminal_output serial, and that copy reached a login prompt on its next boot.

I have not identified the underlying GRUB/QEMU interaction, and I cannot conclude that the absence of a video device alone causes the failure. I hope these observations help narrow down the cause.

(Disclosure: Although I understand the procedure, I used Codex to generate the code for the additional experiments described above.)

Best regards,
Aki


More information about the Pkg-grub-devel mailing list