You are not logged in.
Pages: 1
Is there a way to run a qemu-kvm VM with a shared folder via terminal?
tails does that, iirc whonix just forwards traffic to 2nd vm used as gateway.
Why can't we manually do the same thing whonix does? Shouldn't be a hard task to start two VMs in qemu-kvm and forward traffic to 2nd vm used as gateway.
Adding something like this to the qemu command might help for some things:
-smp cores=2,threads=2
I don't know what else you could do. I do know that you could make it a lot slower by removing the '-enable-kvm' option.
The the system you're running is a debian-based live system, you could boot the whole iso to RAM and run from there. Booting will be slower but opening programs will be very fast. Add the word "toram" to the boot command or possibly add "toram=filsystem.squashfs" depending on how the usb stick is arranged.
Thank you!
Is there any way to send all network traffic through Tor on Devuan like Whonix gateway does?
You are right, the whole system is slow on the virtual machine. I thought the VM should be about 3% slower. Is there any way to fix this?
Misspelling; should be qemu-system-x86_64
Thank you!
I managed to run it. But for some reason, the internet speed in a virtual machine is half as fast as on a real one.
I could never figure out how to use virt-manager, so I just use plain qemu. Something like this to boot the iso file from your hard drive...
qemu-system-x86 -enable-kvm -m 2048 -cdrom devuan_whatever.iso
Change the 2048 to however much RAM you want to give it (in MB)
Everything seems to be installed, but qemu-system-x86 is still not found:
sudo apt update && sudo apt install -y qemu-utils qemu-system-x86 qemu-system-gui qemu-system libvirt-daemon-system qemu-kvm
qemu-system-x86 -enable-kvm -m 4096 -cdrom /media/devuan/Ventoy/devuan_chimaera_4.0.3_amd64_desktop-live.iso
bash: qemu-system-x86: command not found
sudo apt list qemu
qemu qemu-efi qemu-guest-agent qemu-system-common qemu-system-mips qemu-system-sparc qemu-user-binfmt
qemu-block-extra qemu-efi-aarch64 qemu-system qemu-system-data qemu-system-misc qemu-system-x86 qemu-user-static
qemubuilder qemu-efi-arm qemu-system-arm qemu-system-gui qemu-system-ppc qemu-user qemu-utils
sudo apt install -y qemu-system-x86
qemu-system-x86 is already the newest version (1:5.2+dfsg-11+deb11u2).
It's not clear what you want to accomplish.
1. If your usb stick is set up with a persistent volume to save changes in the live system, you can install qemu in it. If you don't have persistence set up, you would be better off making a new live-usb with a system that has qemu installed.
2. If you want to install qemu, it would be easier to install it from the devuan repo instead of compiling it from source.
3. Where is the other OS you want to boot? Are you planning to install it into a VM inside your live system? Is there a virtual hard disk with a system already on it?
Most of our packages are from debian, unchanged. That includes python3-venv.
The main idea is not to use an installed OS or persistence. I have already run the live devuan iso from ventoy usb. Now I try to run the same live devuan iso via quemu-kvm, but I get an error:
sudo apt install -y qemu-utils qemu-system-x86 qemu-system-gui
sudo apt install -y qemu-system libvirt-daemon-system
sudo apt install -y qemu-kvm virt-manager libvirt
How to run another OS from a USB stick running live devuan_chimaera_4.0.3_amd64_desktop-live.iso? Without installing Devuan itself on the computer?
I tried installing QEMU, but it gives an error:
wget https://download.qemu.org/qemu-8.1.0-rc0.tar.xz
tar xvJf qemu-8.1.0-rc0.tar.xz
cd qemu-8.1.0-rc0
./configure
Using './build' as the directory for build output
WARNING: unrecognized host CPU, proceeding with 'uname -m' output 'x86_64'
python determined to be '/usr/bin/python3'
python version: Python 3.9.2
*** Ouch! ***
Python's ensurepip module is not found.
It's normally part of the Python standard library, maybe your distribution packages it separately?
(Debian puts ensurepip in its python3-venv package.)
Either install ensurepip, or alleviate the need for it in the first place by installing pip and setuptools for '/usr/bin/python3'.
ERROR: python venv creation failed
Pages: 1