Ubuntu 18.04 desktop minimal change
Here is the minimal change to
/etc/default/grub I needed to do on Ubuntu 18.04 desktop image to get things working nicely:
# Show the menu by default. Otherwise, you have to press ESC to see GRUB:
# Optional kernel options that you very likely want. Don't affect GRUB itself.
# Remove quiet to show the boot logs on terminal. Otherwise, you see just init onwards.
# Add console=ttyS0, or else kernel does not output anything to terminal.
# Show grub on both serial and on display.
Tested with this QEMU setup: https://askubuntu.com/revisions/1046792/24
First I logged in once with the GUI, edited those configs, and then re-booted the VM.
Ubuntu 18.04 cloud image
Keep in mind that this image also has a file:
which overrides settings from
Besides the desktop settings, you also need to set:
since the default is
0 and gives you no time to access the GRUB menu.
Tested with this setup: Is there any prebuilt QEMU Ubuntu image(32bit) online?