VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » IT, programs, coding
Virt-Manager Tips and Tricks from a VM Junkie DistroTube

Virt-Manager Tips and Tricks from a VM Junkie DistroTube

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
Virt-Manager Tips and Tricks from a VM Junkie DistroTube Virt-Manager is a virtual machine program, and for Linux users, it's a good alternative to VirtualBox. In this video, I will share some tips and tricks that I've found useful myself, including: - - 2:25 Connecting USB devices - 4:45 Cloning a VM - 7:11 Setting up shared folders - 16:20 Converting VirtualBox VMs to Virt Manager
Date: 2022-03-30

Comments and reviews: 10


Concerning the shared folder: How do you solve the problem that the file created on the host system by you (dt) changed owner automatically to -nobody- as soon as you edited it on the guest machine and was no longer rwx for the dt on the host machine? If you want to use files both on bare metal and on VMs, the owner should not change and the files should stay readable/writable for both sides, right?
Thank you for all your explanations in this and other videos - greatly appreciated!

reply

Please never use chmod 777 as that is bad. Try other ways to securly do what you want. Like use Access Control Lists (ACL) as Linux support that since some 10-years or more. Much more flexible then the simple bits security you have used. (And I usually NEVER uses octals, but the symbols rights in chmod(1) instead, as that is easier to know what happen).
Yes, 9p are from Plan 9 OS. You could also try wily, which is the Unix version of the Plan 9 OS visual editor.

reply

Thanks for this. For the past few years I was using fedora and gnome so I would use boxes because it is installed out of the box(ha ha) But just recently I switched to an Arch based distro and KDE and was wondering what I could use to replace boxes and virt-manager seems to be almost the same as boxes and I tried it out for the first time last night and really liked it, so now I know a few more tricks to using it.
reply

cloning is fine if you have lots of hard drive space. are there no snapshot functions that only do the diffs in kvm? I have about 5 virtual machines and they take up nearly 120GB. my drive space isn't endless. there are plenty of other things on my drive that eat away at the storage. and I can't just allocate another 15GB just because I wanna back up my arch linux installation every time I want a snapshot.
reply

I got ReactOS to run in qemu/KVM.
I have 4GB of ram and assigned it 1.5GB. working with it it started to freeze on the bitmap program. Looked up and my memory is totally red lined and using a bunch of my swap. I had nothing running on the host machine other than opensnitch which uses very little. IDK how it did it as I figured once it used the VM assigned memory that would be all. I guess not.

reply

My VM did not mount the shared file on boot after fstab was edited. To solve this, in the VM I added a script file in /etc/network/if-up.d and made it executable (under the file's permissions tab) to execute mount -a after a 5 second sleep. The script file has the following entries:
#!/bin/sh
sleep 5;
mount -a;
exit 0;

reply

Only thing I found weak or hard to do with Virt-Manager is networking. Even running bridges can bring up a bunch of problems. I ended switching back to Virtualbox as I don't care to spend all day just getting the networking for my VM boxes working properly. Outside of that I would agree it is, inherently, the better VM solution.
reply

Les Parsons
Just imported Windows 10 from VirtualBox to KVM, and all my setting and installed programs work great.
I have Windows 11 running in VirtualBox and can't import as KVM offers no Windows 11 operating system option.
Is there any workaround?
Thanks, you saved me much time and effort for Windows 10.

reply

great video, KVM is great. I play in windows inside a qemu/kvm machine with GPU passthrough, almost with native performance, and most important never boot again windows directly in my hardware... and was easy to setup following the arch wiki article for this purpose...
reply

In virtual box under Windows it is allways necessary to install vm additions (drivers for the guest os to the vm-hardware). Under KVM Virt-Manager I often find no additional drivers - are them not necessary for e.g. Manjaro as vm in virt-manager?
reply
Add a review, comment






Other channel videos