När jag testar en ISO via Qemu tar det en hiskelig tid, även när ISO,n är Tiny Core Linux på 24 MB.
Den startar dock upp. Om jag testar Mint 19.3 får jag till slut Kernel panic. I Qemu alltså.
Vad gör jag för fel?
To boot an ISO: qemu-system-x86_64 -cdrom filename.iso
eller qemu-system-x86_64 -m 512 linuxmint-16-cinnamon-dvd-64bit.iso
$ qemu-system-x86_64 TinyCore-current.iso
Kommandot "qemu-system-x86_64" hittades inte, men kan installeras med:
sudo apt install qemu-system-x86 # version 1:4.2-3ubuntu6.17, or
sudo apt install qemu-system-x86-xen # version 1:4.2-3ubuntu6.17
To install QEMU on Ubuntu/Linux Mint:
sudo apt install qemu qemu-kvm
To create an image file with the size of 10GB and qcow2 format (default format for QEMU images), run:
qemu-img create -f qcow2 testing-image.img 10G
Note that a new file called “testing-image.img” is now created at your home folder (or the place where you run the terminal). Note also that the size of this file is not 10 Gigabytes, it’s around 150KB only; QEMU won’t use any space unless needed by the virtual operating system, but it will set the maximum allowed space for that image to 10 Gigabytes only
Now that we’ve created our image file, if we have an ISO file for a Linux distribution or any other operating system and we want to test it using QEMU and use the new image file we created as a hard drive, we can run:
qemu-system-x86_64 -m 1024 -boot d -enable-kvm -smp 3 -net nic -net user -hda testing-image.img -cdrom ubuntu-16.04.iso
Återgå till Program till Linux Mint
Användare som besöker denna kategori: Inga registrerade användare och 10 gäster