Last active
July 23, 2020 19:20
-
-
Save juanje/7e07c0f54785d3bf61616731d135ef6a to your computer and use it in GitHub Desktop.
Quick and dirty way t test the last built of GNOME OS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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