Skip to content

Instantly share code, notes, and snippets.

@juanje
Last active Jul 23, 2020
Embed
What would you like to do?
Quick and dirty way t test the last built of GNOME OS
# More info here: https://gitlab.gnome.org/GNOME/gnome-build-meta/-/wikis/home
# I changed some minor options to have it working out the box.
# Be aware that the compressed image that you need to download is 1 Gb large.
# And, once it gets decompressed, it is 17 Gb large.
# Download the last GNOME OS image:
wget https://gitlab.gnome.org/GNOME/gnome-build-meta/-/jobs/artifacts/master/raw/image/disk.img.xz?job=vm-image-x86_64
# Decompress it:
unxz disk.img.xz
# Run the VM
qemu-system-x86_64 \
-enable-kvm -m 4G -smp 4 -machine q35,accel=kvm \
-drive if=pflash,format=raw,unit=0,file=/usr/share/OVMF/OVMF_CODE.fd,readonly=on \
-drive if=pflash,format=raw,unit=1,file=/usr/share/OVMF/OVMF_VARS.fd,readonly=on \
-display gtk,gl=on -vga virtio \
-netdev user,id=net1 -device e1000,netdev=net1 \
-soundhw hda \
-usb -device usb-tablet \
-drive file=disk.img,format=raw,media=disk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment