sudo apt install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils virt-manager
groups List groups for the current user.
groups <username> List groups for a specific user.
id <username> Display UID, GID, and all group memberships.
cat /etc/group Show all local groups and their members by reading a file.
getent group List all groups from all configured databases.
sudo adduser $USER libvirt
Virtual Machine Manager > File > New Virtual Machine > Local Install Media (ISO image or CD-ROM)
If failed to create image, create image.qcow2 in storage location and then choose it for OS install.
sudo nano /etc/libvirt/qemu.conf
# Some examples of valid values are:
#
# user = "qemu" # A user named "qemu"
# user = "+0" # Super user (uid=0)
# user = "100" # A user named "100" or a user with uid=100
#
#user = "libvirt-qemu"
# The group for QEMU processes run by the system instance. It can be
# specified in a similar way to user.
#group = "kvm"
user = "your_username"
group = "your_username"
user = "your_username"
group = "libvirt"
sudo systemctl restart libvirtd
Network selection > Bridge device... > virbr0
ifconfig
On KDE couldn't turn off full screen with shortcuts... but right mouse button > tick full screen > untick full screen... Changing window size and position with shortcuts started working.
dpkg-query -W -f='${Installed-Size} \t ${Package}\n' virtualbox*
qemu-img convert -f vdi -O qcow2 /path/to/your/vm.vdi /path/to/new/vm.qcow2
sudo apt purge "virtualbox*"
sudo apt autoremove
Rescue mode without graphics:
sudo grub-install /dev/vda
sudo update-grub
No comments:
Post a Comment