added usage info for virt-manager
This commit is contained in:
@@ -4,6 +4,8 @@ Virtual Machine Manager is a Hypervisor that is generally capable of everything
|
|||||||
## Install
|
## Install
|
||||||
If your distribution has a Graphical software manager/store, you can likely search for **Virtual Machine Manager** and install it there.
|
If your distribution has a Graphical software manager/store, you can likely search for **Virtual Machine Manager** and install it there.
|
||||||
|
|
||||||
|
**NOTE: Some Windows VMs may require TPM, this will require the swtpm package to also be installed on your system. See the TPM section under Usage for details.**
|
||||||
|
|
||||||
If not, or you wish to install it via command-line, see below:
|
If not, or you wish to install it via command-line, see below:
|
||||||
|
|
||||||
### Flatpak (universal)
|
### Flatpak (universal)
|
||||||
@@ -29,4 +31,76 @@ sudo dnf install virt-manager
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
To be completed.
|
### Initial Setup
|
||||||
|
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...
|
||||||
|

|
||||||
|
Ensure Hypervisior is set to "QEMU/KVM", "Connect to remote" is **unchecked** and Autoconnect is **checked**. Then click "Connect"
|
||||||
|

|
||||||
|
|
||||||
|
### 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:
|
||||||
|

|
||||||
|
|
||||||
|
Select "Local install media" and **Forward**:
|
||||||
|

|
||||||
|
|
||||||
|
Select Browse:
|
||||||
|

|
||||||
|
|
||||||
|
If your iso folder is not in the list, click the add button:
|
||||||
|

|
||||||
|
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.
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
Select the ISO pool, if the pool looks empty, click the ▶︎ button. Then select your .iso file and click "Choose Volume".
|
||||||
|

|
||||||
|
|
||||||
|
If the OS is not automatically detected, uncheck "Automatically detect" and search for it manually.
|
||||||
|

|
||||||
|
Regardless, once the OS is selected, click Forward.
|
||||||
|
|
||||||
|
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"
|
||||||
|

|
||||||
|
|
||||||
|
Same as with adding a folder/pool for the .iso files, add a pool, give it a name, and select the location.
|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|
In the desired pool, click the add button to create a volume.
|
||||||
|

|
||||||
|
Change the volume name if desired, set the capacity depending on the OS you're installing and click "Finish".
|
||||||
|

|
||||||
|
Make sure the volume is selected, and click "Choose Volume".
|
||||||
|
|
||||||
|
Make sure you are happy with the VM details and click "Finish".
|
||||||
|
For Windows, you may want to check the option "Customize configuration before install" and remove or disable the NIC (Network Interface) to aid in bypassing Online Account registration.
|
||||||
|
|
||||||
|
Also see the TPM section below for Windows 11 installs
|
||||||
|
|
||||||
|
### TPM
|
||||||
|
Windows 11, aside from the LTSC version, require TPM 2.0 to install, this can be emulated by swtpm.
|
||||||
|
|
||||||
|
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"
|
||||||
|

|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
Honestly, I would recommend the LTSC version of Windows regardless as it provides all the same features, but is more resource and space efficient, due to the lack of unneeded applications being installed by default.
|
||||||
|
|
||||||
|
### USB Device Passthrough
|
||||||
|
To pass a USB device through to a Virtual Machine, simply select "Redirect USB device" under Virtual Machine options.
|
||||||
|

|
||||||
|
|
||||||
|
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.
|
||||||
|
|||||||
Reference in New Issue
Block a user