The fixups after switching to doing everything as root were never originally complete; notably, the default pool isn't created until libvirtd is first accessed by an end-user.
34 lines
1.4 KiB
Markdown
34 lines
1.4 KiB
Markdown
If you can boot .ova files (VirtualBox), https://downloads.laboratoryb.org/secure/TechStream_12.20.024-v2.ova, password hacktheplanet/hacktheplanet, is an XP VM with TechStream installed.
|
|
|
|
# Install environment
|
|
- Fedora, tested on 38, 39 and 40
|
|
- An Acer Chromebook C720 was usable, so you need little CPU / RAM / disk space (5GB?)
|
|
|
|
## Setup
|
|
```sh
|
|
git clone https://github.com/virtio-win/virtio-win-pkg-scripts
|
|
# TODO Replace this with git submodule?
|
|
sudo wget https://fedorapeople.org/groups/virt/virtio-win/virtio-win.repo \
|
|
-O /etc/yum.repos.d/virtio-win.repo
|
|
|
|
sudo dnf install -y virtio-win virt-v2v virt-manager
|
|
|
|
sudo systemctl restart libvirtd
|
|
```
|
|
|
|
Then, open Virtual Machine Manager once, authenticating to connect; this initializes the default pool. Close once done.
|
|
|
|
Back to the shell:
|
|
|
|
```
|
|
# Then, as root / with sudo, create the VM in the default pool
|
|
sudo virt-v2v -i ova /home/mkennedy/Downloads/TechStream_12.20.024-v2.ova -o libvirt -of qcow2 -os default -n default
|
|
```
|
|
|
|
Finally, re-open Virtual Machine Manager. You will see your TechStream install. Double-click to open, then edit Details:
|
|
|
|
- After connecting your Mini-VCI cable to a USB port, go to View > Details > Add Hardware, and select USB Host Device for your device. My Mini-VCI USB device was of USB VID/PID 0403:6001, so the device created in my Hardware bar was "USB 0403:6001".
|
|
|
|
- Delete the virtual NIC (you don't need internet access from within the VM anyways).
|
|
|