QEMU: A proper guide!
Denshi decides to make the QEMU guide that everyone else was scared of making. A Proper guide.
QEMU: https://www.qemu.org/
Commands in the video:
Installation:
Arch: sudo pacman -S qemu (optionally "qemu-arch-extra" for more architectures)
Debian/Ubuntu: sudo apt install qemu
Fedora: sudo dnf install qemu
To create a virtual image use:
qemu-img create -f qcow2 Image.img 10G
(create is to create an image, -f qcow2 sets the format to qcow2, Image.img is our final file and 10G is it's size)
Launching the VM:
qemu-system-x86_64 -enable-kvm -cdrom OS_ISO.iso -boot menu=on -drive file=Image.img -m 2G
(-enable-kvm enables KVM, -cdrom selects an iso to load as a cd, -boot menu=on enables a boot menu, -drive file= selects a file for the drive, -m sets the amount of dedicated RAM)
(Remember! Ctrl + Alt + G to exit capture, Ctrl + Alt + F to fullscreen!)
That doesn't run so good, what can we do to improve it?
Basic performance options
-cpu host (sets the CPU to the hosts' CPU)
-smp 2 (sets the numbers of cores)
Basic Graphics Acceleration
the -vga option can be used to specify one of various vga card emulators:
"qxl" offers 2D acceleration but requires kernel modules "qxl" and "bochs_drm" to be enabled:
-vga qxl
"virtio" works much better and supports some 3D emulation:
-vga virtio -display sdl,gl=on
β’Site: https://denshi.org
Other Videos By DenshiVideo
2021-01-02 | The Discord Hivemind |
2021-01-02 | I'm so tired of this nonsense |
2020-12-25 | How to cook Christmas Pizza (Feat. My Dad) |
2020-12-23 | A very SystemD Christmas | The Angry Linux Nerd |
2020-12-21 | Don't buy a new computer: Toshiba Portege R700 w/Linux |
2020-12-16 | Undervolt your CPU with intel-undervolt! |
2020-12-15 | How to install and use yay: The best AUR helper for Arch Linux |
2020-12-08 | Don't say "P*ggers" on my channel! |
2020-12-04 | A simple guide to cmus! (C*Music Player) |
2020-12-03 | I've been surpassed. |
2020-11-30 | QEMU: A proper guide! |
2020-11-27 | Bedrock Linux: All the distros! |
2020-11-26 | Linux on the Wii U: Is it really possible? |
2020-11-20 | 1000 Subscriber Special |
2020-11-16 | Youtube-dl is back! |
2020-11-16 | The best websites for tech "enthusiasts" |
2020-11-15 | Examples for FFMPEG Beginners |
2020-11-11 | My thoughts on Deepin (As an Openbox user) |
2020-11-07 | How to configure Openbox! | DenshiHelp |
2020-11-06 | π α΄α΄Ι΄'α΄ ππππππ |
2020-11-01 | Window Manager Tips (How 2 be kewl on GNU) |