/srv/irclogs.ubuntu.com/2023/12/15/#ubuntu-server.txt

=== chris14_ is now known as chris14
voltagexHi, is it possible to boot ubuntu-22.04.3-live-server-amd64.iso (or 23.10) in text mode under qemu over serial? It seems like grub won't output to anything other than a vga device04:37
cpaelzervoltagex: hi, let me start with a disiclaimer :-) ISOs are usually for real devices which tend to have some sort of output :-)07:15
cpaelzervoltagex: On VMs the better way usually is using images https://cloud-images.ubuntu.com/ - and they do not even present grub options, they just boot07:15
cpaelzervoltagex: And there are many things like lxd with --vm or uvtool or multipass which will do that for you even more comfortable07:15
cpaelzervoltagex: But it is soon christmas, ignore the better way - boot an ISO without GFX ...07:16
cpaelzervoltagex: essentially you need to tell qemu to map the gfx elsewhere, there are two common ways07:16
cpaelzervoltagex: you can ask it to use libncurses for a text rendering right where you start it via -display curses07:16
cpaelzervoltagex: or you can ask it to just do not use any GFX at all via -nographic07:17
cpaelzervoltagex: The grub you missed should then be seen right in the console you submit the command07:20
cpaelzerI haven't looked further if you'd also need to tell the kernel to not try initializing graphics ... as I said one would usually just use cloud-images in the same scenario07:21
cpaelzerYep, I just checked for you quickly, to hold back the kernel as well you'd need to go into "edit" in the grub that you see and set gfxpayload=text as well as  nomodeset before the ---07:32
cpaelzerThat gets me into the installer, but again why would you want one - use a cloud-image for this use case :-)07:33
=== MuliganGB is now known as Muligan
=== sdeziel_ is now known as sdeziel
=== maya3295 is now known as maya329

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!