Last active
February 16, 2022 03:02
Star
You must be signed in to star a gist
GoboLinux Qemu Setup
This file contains 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
#!/bin/sh | |
## Runs the GoboLinux liveCD in a performant Qemu environment | |
# | |
# Make sure to check out https://wiki.gobolinux.org/Overview/Installing-Gobolinux/GoboLinux-017-Known-Issues-and-Fixes/ | |
# Prepare disk image with 20GB -> `qemu-img create -f raw GOBO 20G` | |
# | |
# Note: During installation choose an MSDOS partition table! GPT will fail to boot! | |
qemu-system-x86_64 \ | |
-cdrom GoboLinux-017-x86_64.iso \ | |
-drive file=GOBO,format=raw,cache=none,if=virtio \ | |
-boot d \ | |
-m 3G \ | |
-enable-kvm \ | |
-cpu host -smp 9 \ | |
-vga virtio -display sdl,gl=off \ | |
-nic user,model=virtio-net-pci | |
## Legend: | |
# format=raw,cache=none -- Most performant image format | |
# if=virtio -- Faster I/O operations (optional) | |
# -m 3G -- 3GB of RAM | |
# -cpu host -- Pass all available host processor features to the guest | |
# -smp 9 -- Make use of 9 CPU threads (Configure to your needs) | |
# -vga virtio -display sdl,gl=on -- hw accelerated GPU driver (gl=off to workaround a qemu black screen bug for now) | |
# -nic user,model=virtio-net-pci -- Fast networking (optional) |
This file contains 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
#!/bin/sh | |
## Runs the installed GoboLinux environment | |
qemu-system-x86_64 \ | |
-drive file=GOBO,format=raw,cache=none,if=virtio \ | |
-m 3G \ | |
-enable-kvm \ | |
-cpu host -smp 9 \ | |
-vga virtio -display sdl,gl=off \ | |
-nic user,model=virtio-net-pci | |
## Known unresolved issues: | |
# - Clipboard sharing not working |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment