Moderators, translator
455
edits
Tags: Mobile web edit Mobile edit |
(Apply UserCmd template) |
||
Line 51: | Line 51: | ||
<br clear="all" /> | <br clear="all" /> | ||
2. Check if the 'virtualization parameters' are enabled on BIOS using | 2. Check if the 'virtualization parameters' are enabled on BIOS using | ||
{{UserCmd|command=LC_ALL=C lscpu | grep Virtualization}} | |||
3. How much memory I have. Check the RAM and verify that is at least 4GB. | 3. How much memory I have. Check the RAM and verify that is at least 4GB. | ||
<br clear="all" /> | <br clear="all" /> | ||
Line 62: | Line 62: | ||
<br clear="all" /> | <br clear="all" /> | ||
From terminal: | From terminal: | ||
{{UserCmd|command=sudo pacman -S --needed virt-manager qemu-desktop libvirt edk2-ovmf dnsmasq iptables-nft}} | |||
For TPM support: | For TPM support: | ||
{{UserCmd|command=sudo pacman -S --asdeps swtpm}} | |||
Enable and start service | Enable and start service | ||
{{UserCmd|command=sudo systemctl enable libvirtd.service}} | |||
Add user to ''libvirt,'' ''libvirt-qemu'' and ''kvm'' groups to use the '''system'''-level virtual machines (qemu:///system). | |||
Add user to ''libvirt,'' ''libvirt-qemu'' and ''kvm'' groups to use the '''system'''-level virtual machines (qemu:///system) | {{UserCmd|command=sudo usermod -a -G libvirt,libvirt-qemu,kvm $USER}} | ||
Note that you will need to restart userspace for the groups to become active. To restart userspace | |||
{{UserCmd|command=systemctl soft-reboot}} | |||
{{note| | {{note| | ||
# You don't need this step to run system-level virtual machines. However, virt-manager will prompt for sudoer's password when launch if the user is not in the ''libvirt'' group | # You don't need this step to run system-level virtual machines. However, virt-manager will prompt for sudoer's password when launch if the user is not in the ''libvirt'' group | ||
Line 90: | Line 91: | ||
<!--T:29--> | <!--T:29--> | ||
{{BoxInfo|tip| | {{BoxInfo|tip|Advice: use a different partition than the root. In case you need to reinstall your operating system you don't lose the VM that already ready-to-start.}} | ||
4. Click on create a new virtual machine: select '''Local install media (ISO image or CDROM)''', and select the installation ISO image and OS type (if not detected). | 4. Click on create a new virtual machine: select '''Local install media (ISO image or CDROM)''', and select the installation ISO image and OS type (if not detected). | ||