Difference between revisions of "QEMU"
(→Qemu on Debian stretch: previous howto was enough to boot using commandline mode in qemu, but didn't allow wayland to start)
m (→See also: change links to direct links so they don't need to be redirected)
|Line 22:||Line 22:|
=== See also ===
=== See also ===
* [[qemu-amd64)|Qemu for x86_64]]
* [[qemu-vexpress)|Qemu for arm]]
* [[QEMU_aarch64_(qemu-)|Qemu for aarch64]]
Revision as of 14:54, 23 February 2018
Building and starting a QEMU image
pmbootstrap init # Choose a qemu-* device (x86_64: amd64, arm: vexpress-soc) pmbootstrap install --no-fde pmbootstrap qemu --image-size=2G
amd64 version is recommended if you don't know which one to choose. See the device specific pages (links below) for the differences.
--image-size=2G parameter will increase the image size to 2GB, so you don't instantly run out of space (by default the image size is as small as possible). Check out
pmbootstrap qemu --help for more options, such as performance tweaks.
Qemu on Debian stretch
Qemu on Debian does not include SDL-support by default. To use pmbootstrap on Debian you have to do the following:
- Ensure that /etc/apt/sources.list contains a deb-src line for Debian buster or later.
sudo apt-get build-dep libvirglrenderer-dev/buster(install build dependencies for libvirglrenderer)
fakeroot apt-get -b source libvirglrenderer-dev/buster(download and build libvirglrenderer)
sudo dpkg -i libvirglrenderer0_0.6.0-2_amd64.deb libvirglrenderer-dev_0.6.0-2_amd64.deb(install it)
sudo apt-get build-dep qemu/buster
fakeroot apt-get -b source qemu/buster
- Install the appropriate qemu Debian packages which have been created in the current directory.