diff --git a/VirtualMachineManager.md b/VirtualMachineManager.md index a114c26..2bd98bf 100644 --- a/VirtualMachineManager.md +++ b/VirtualMachineManager.md @@ -35,34 +35,46 @@ sudo dnf install virt-manager Before you can create a VM you need to connect to libvirt's QEMU/KVM module, which is installed along with virt-manager. Select: File -> Add Connection... + ![Add Connection](Screenshots/add-connection.png) + Ensure Hypervisior is set to "QEMU/KVM", "Connect to remote" is **unchecked** and Autoconnect is **checked**. Then click "Connect" + ![Add Connection](Screenshots/add-connection-2.png) ### Create new Virtual Machine First download the desired .iso file, I recommend creating a folder somewhere to store your .iso files. Click the Create VM Button: + ![New VM Button](Screenshots/new-vm.png) Select "Local install media" and **Forward**: + ![VM Install Options](Screenshots/vm-install-opt.png) Select Browse: + ![Choose iso](Screenshots/choose-iso.png) If your iso folder is not in the list, click the add button: + ![Add Pool](Screenshots/add-pool.png) + Set a name for this location, such as "ISO Files", Click "Browse", navigate to the folder with your .iso and click "Open". Click "Finish" to create the pool. + ![Create Storage Pool](Screenshots/iso-pool.png) Select the ISO pool, if the pool looks empty, click the ▶︎ button. Then select your .iso file and click "Choose Volume". + ![Choose ISO](Screenshots/choose-iso-2.png) If the OS is not automatically detected, uncheck "Automatically detect" and search for it manually. + ![Select OS](Screenshots/select-os.png) + Regardless, once the OS is selected, click Forward. Set Memory and CPU allocation as desired. @@ -70,16 +82,23 @@ Set Memory and CPU allocation as desired. You can set the storage size on the next page. However if you wish to install this VM in a different location, follow the below steps: Select "Select or create custom storage" and click "Manage" + ![Custom Storage](Screenshots/custom-storage.png) Same as with adding a folder/pool for the .iso files, add a pool, give it a name, and select the location. + ![Add Pool](Screenshots/add-pool.png) + ![Create Storage Pool](Screenshots/iso-pool.png) In the desired pool, click the add button to create a volume. + ![Create Volume](Screenshots/create-volume.png) + Change the volume name if desired, set the capacity depending on the OS you're installing and click "Finish". + ![Create Volume](Screenshots/create-volume-2.png) + Make sure the volume is selected, and click "Choose Volume". Make sure you are happy with the VM details and click "Finish". @@ -93,6 +112,7 @@ Windows 11, aside from the LTSC version, require TPM 2.0 to install, this can be Use your distribution's package manager to install `swtpm`. - When creating a Windows11 VM, a TPM device should now automatically be added. - For Already created VMs you can click **Add Hardware** on the Details page for the VM, select "TPM" and "Finish" + ![Add TPM](Screenshots/add-tpm.png) If there are any issues you can just install the LTSC version of windows, which as of this writing (March 2026) does not require TPM. @@ -101,6 +121,7 @@ Honestly, I would recommend the LTSC version of Windows regardless as it provide ### USB Device Passthrough To pass a USB device through to a Virtual Machine, simply select "Redirect USB device" under Virtual Machine options. + ![Redirect USB](Screenshots/usb-passthrough.png) Now check the device you wish to passthrough and close. If you are not sure which device it is, unplug and re-plug it to see which device is added and removed from the list.