Install Void Linux onto a USB Stick
installing a persistent Void Linux onto a USB device. Also I talked about how to run a qemu/KVM virtual machine.
The 6 steps that we discussed here:
. Download the void live image
. Checking support for KVM
. Install qemu (and OVMF)
. Boot to the live image and install void linux, using the void-installer Use another usb ❌ Perform a rootfs/tarball install from a running linux system ❓ Use a virtual machine ✅
. Boot to the usb stick, reconfigure your initramfs through dracut and reinstall and reconfigure the bootloader
. Post installation`
And the commands that i used In this video:
$ LC_ALL=C lscpu | grep Virtualization # Checking hardware support for KVM
$ lsmod | grep kvm # To ensure that the kernel modules are automatically loaded\
$ lsusb # Find the vendor ID and product ID of your USB flash (thumb) drive
$ qemu-system-x86_64 --enable-kvm -cpu host -M q35 -smp cores=2,threads=2 -m 4G -cdrom PATH/TO/void-live-?.iso -boot order=d -usb -device usb-host,vendorid=0x????,productid=0x???? -bios /usr/share/ovmf/x64/OVMF_CODE.fd # Run qemu
2021-01-24
0.0 LBC
Public Domain
273473889 Bytes