Grimoire-
Command
.es

GNU+Linux command memo

Start Tails ISO via KVM virtual machine

Démarrer une ISO Tails dans une machine virtuelle KVM / QEMU

$ kvm --cdrom tails-amd64-X.Y.iso
 -m 2G,slots=2,maxmem=4G -smp 2 -cpu Skylake-Client (1)
 -usb -usbdevice host:534c:0001 (2)
 -device piix3-usb-uhci -drive id=a,file=tails-storage.qcow2,if=none,format=qcow2 -device usb-storage,drive=a,removable=on (3)

$ qemu-img create -f qcow2 -o size=5G tails-storage.qcow2 (4)
1 You can specify available memory and CPU type to improve performances
2 To add a USB peripheral, with host definition found in /var/log/syslog
3 To boot from a virtual drive presented as a removable USB key
4 To create a KVM virtual drive