=== chris14_ is now known as chris14 | ||
voltagex | Hi, 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 device | 04:37 |
---|---|---|
cpaelzer | voltagex: hi, let me start with a disiclaimer :-) ISOs are usually for real devices which tend to have some sort of output :-) | 07:15 |
cpaelzer | voltagex: On VMs the better way usually is using images https://cloud-images.ubuntu.com/ - and they do not even present grub options, they just boot | 07:15 |
cpaelzer | voltagex: And there are many things like lxd with --vm or uvtool or multipass which will do that for you even more comfortable | 07:15 |
cpaelzer | voltagex: But it is soon christmas, ignore the better way - boot an ISO without GFX ... | 07:16 |
cpaelzer | voltagex: essentially you need to tell qemu to map the gfx elsewhere, there are two common ways | 07:16 |
cpaelzer | voltagex: you can ask it to use libncurses for a text rendering right where you start it via -display curses | 07:16 |
cpaelzer | voltagex: or you can ask it to just do not use any GFX at all via -nographic | 07:17 |
cpaelzer | voltagex: The grub you missed should then be seen right in the console you submit the command | 07:20 |
cpaelzer | I 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 scenario | 07:21 |
cpaelzer | Yep, 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 |
cpaelzer | That 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!