core20
core20 copied to clipboard
Can't set up due to text color
Not sure if this is the right place to ask this, but I can't set up and test ubuntu-core-20 in qemu-virgil as the default font is dark blue, and it's on a black background.
I'm following the official tutorial here: https://ubuntu.com/tutorials/ubuntu-core-preparing-a-virtual-machine-with-graphics-support#1-overview
qemu-virgil -enable-kvm -m 1024 -device virtio-vga,virgl=on -display sdl,gl=on -netdev user,id=ethernet.0,hostfwd=tcp::10022-:22 -device r
tl8139,netdev=ethernet.0 -drive file=/snap/qemu-virgil/current/usr/share/qemu/edk2-x86_64-code.fd,if=pflash,format=raw,unit=0,readonly=on ~/snap/qemu-virgil/common/ubuntu-core-20-
amd64.img
This presents me with this:
This does say "press enter to configure", but it's so dark I can't read it. I've tried looking through eh QEMU options but can't find anything that would seem to help.
matt@silverark-14:~/work/virtualization$ qemu-virgil --version
QEMU emulator version 4.2.0 (v4.2.0-dirty)
Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers
matt@silverark-14:~/work/virtualization$ uname -a
Linux silverark-14 5.11.0-38-generic #42~20.04.1-Ubuntu SMP Tue Sep 28 20:41:07 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Manged to get it working by changing hte dispaly options. I updated -display sdl,gl=on
to -display gtk
and I can now see the text! Hopefully there won't be any issues running ubuntu-core in this mode?
That's an interesting one, on which OS are you running this on? Which revision of the qemu-virgil snap are you running (snap list
will show you this info)?
Yea, it is a strange one! See first post for version details.
qemu-virgil 4.2.0
Ubuntu 20.04.1
I've played with the desktop theme to make sure it's not a dark mode issue. Played wiht the default terminal colours too.