Virt-Manager Tips and Tricks from a VM Junkie

Поділитися
Вставка
  • Опубліковано 12 чер 2024
  • 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:
    ► 0:00 Intro
    ► 2:25 Connecting USB devices
    ► 4:45 Cloning a VM
    ► 7:11 Setting up shared folders
    ► 16:20 Converting VirtualBox VMs to Virt Manager.
    WANT TO SUPPORT THE CHANNEL?
    💰 Patreon: / distrotube
    💳 Paypal: www.paypal.com/cgi-bin/webscr...
    🛍️ Amazon: amzn.to/2RotFFi
    👕 Teespring: teespring.com/stores/distrotube
    DONATE CRYPTO:
    💰 Bitcoin: 1Mp6ebz5bNcjNFW7XWHVht36SkiLoxPKoX
    🐶 Dogecoin: D5fpRD1JRoBFPDXSBocRTp8W9uKzfwLFAu
    📕 LBC: bMfA2c3zmcLxPCpyPcrykLvMhZ7A5mQuhJ
    SOCIAL PLATFORMS:
    🗨️ Mastodon: distrotoot.com/@derek
    👫 Reddit: / distrotube
    📽️ LBRY/Odysee: odysee.com/$/invite/@DistroTu...
    DT ON THE WEB:
    🕸️ Website: distrotube.com/
    🐿️ Gemini Capsule: gemini://distro.tube
    📁 GitLab: gitlab.com/dwt1
    FREE AND OPEN SOURCE SOFTWARE THAT I USE:
    🌐 Brave Browser - brave.com/dis872
    📽️ Open Broadcaster Software: obsproject.com/
    🎬 Kdenlive: kdenlive.org
    🎨 GIMP: www.gimp.org/
    🎵 Ardour: ardour.org/
    💻 VirtualBox: www.virtualbox.org/
    🗒️ Doom Emacs: github.com/hlissner/doom-emacs
    Your support is very much appreciated. Thanks, guys!
  • Наука та технологія

КОМЕНТАРІ • 157

  • @GregTheHun
    @GregTheHun 2 роки тому +49

    I'd really love to see videos on virt-manager networking. That topic has illuded me in trying to set it up for servers.

    • @ashwinalagiri-rajan1180
      @ashwinalagiri-rajan1180 2 роки тому +3

      If you face network problems in vm usually the first thing you want to do is set it up in bridge mode so that host and vm share local ips

  • @jotix2570
    @jotix2570 2 роки тому +13

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

    • @LawlessSentry
      @LawlessSentry 2 роки тому +5

      Same thing, i gave up on running native Windows on April. Shut down the spyware when it's not needed. :D

    • @WK-47
      @WK-47 2 роки тому

      That's what I'm gunning for, with a view to remove the bare-metal installation. I only 'need' it for non-native 3D games and would rather not have to boot out of Linux.
      Got W10 running via QEMU in virt-manager fine before but had no luck with graphics acceleration. Was reading up on GPU passthrough via OVMF, on the Arch wiki of course, but any advice personally?

    • @yourlinuxguy
      @yourlinuxguy Рік тому

      @@WK-47 So ? It's been a year, did you found a solution to the 3D- Acceleration?

  • @jackburton8352
    @jackburton8352 2 роки тому +5

    DT you are in my opinion the best channel for noob linux users.
    BTW i am a noob learned so much from your videos and the reason i am staying on linux.

  • @SatansAstrologyAndroid
    @SatansAstrologyAndroid Рік тому +1

    I'd like to to thank you for a quick run through tremendously useful information. The KVM seems lightning fast. My 1st look is that it is possibly faster than the host OS. Boxes was impossible. Virt-Manager seems to have been a well kept secret, if the name is any indication. Your vid solved a Boxes IP subnet stopper. Great work.

  • @DonaldWyman
    @DonaldWyman 2 роки тому +2

    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.

  • @mhasadi78
    @mhasadi78 2 роки тому +4

    We need more virt-manager/kvm/qemu content

  • @2u263
    @2u263 5 місяців тому

    Excellent DT, thanks. I needed to find this video . Is sound in Virt Manager Guest VMs? There is in proxmox Guest VMs? Going to chk your channel to see what else you have on running Virt Manger VMs

  • @darthcabs
    @darthcabs 2 роки тому +18

    Comprehensive content. Congrats! The only thing missing IMO is GPU passthrough

    • @max_ishere
      @max_ishere 2 роки тому

      I dont even have GPU drivers set up you mean there is also lvl 2?

    • @ayyansea2138
      @ayyansea2138 2 роки тому +4

      gpu passthrough is a topic on it's own, there are plenty of videos about that

  • @nieltech
    @nieltech 2 роки тому +2

    Wow, I've waited for this video, thanks

  • @guilherme5094
    @guilherme5094 2 роки тому

    Thanks DT, that was really helpful.

  • @drusso66
    @drusso66 2 роки тому

    Great informative video, just started using virtual manger in Ubuntu and have lust setup my 1st VM of MacOS Catalina , would live to be able to use my dedicated GPU but not sure how to go about this, do you have any tutorials ?

  • @masterofyeet4438
    @masterofyeet4438 2 роки тому +7

    There is one more thing, recompile qemu so that you can get a smooth experience cause qemu can't show mouse movements in a smooth manner and feels choppy. It's really unbearable having a non smooth experience even with a good iGPU.

  • @KhalidThwiny
    @KhalidThwiny 2 роки тому

    Thanks for another great video DT!

  • @vk2np
    @vk2np 2 роки тому

    Interesting video reasonably new to virtmanager and KVM have used VirtualBox, Vmware and Parallels before . My 2012 i7 Macmini doesn't seem to have enough horsepower to run macOS in KVM under Linux. But of course I don't need to.
    Any chance of a list of the terminal commands used in the video for my notes ?

  • @uno-tu9xx
    @uno-tu9xx Рік тому

    Thanks DT - worked 4 me😀

  • @cameronribeiro9660
    @cameronribeiro9660 Рік тому

    Hi. First let me say thank you! I run fedora 37 (fedora because for me it is the only Linus distro that has never given me any problem in 3 years so far when I first installed on on a 1TB USB), and inside Fedora, because of your other helpful on how to install qemu and get it up and running, I have two VMs. Windows 10 and Kali for what I do. But I wanted to help out by reporting my discovery, since you did your part helping out showing how to even install qemu and get it up and running. I noticed that you used dolphin file manager to see where the USB was after you turned the USB on. I'm sure dolphin is probably just the default file manager in Manjaro. So I installed dolphin file manager in Kali. After two days of troubleshooting trying to figure out why my USBs would not. I installed dolphin file manager in Cali and as soon as it was done installing my USB showed write-up on the bottom dock! So if you want maybe let people know that dolphin file manager was at least my resolution and it maybe there's also.

  • @FalcoGer
    @FalcoGer 2 роки тому +2

    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.

  • @VitoF95
    @VitoF95 2 роки тому

    Dude thanks I was just gonna build a VM today.

  • @johnsnyder4379
    @johnsnyder4379 2 роки тому +1

    Great video!! But can you PLEASE add one more thing - how to share a folder between a Linux host and a Windows guest!!!!

  • @hoterychannel
    @hoterychannel 2 роки тому

    Nice thing with smb and some other is ability to mount chan specify his and gid of files. Is it possible with 9p? Some daemon that will monitor and automatically mount shared folder and deal with permissions will be great...

  • @tilmannrueckauer
    @tilmannrueckauer 2 роки тому +8

    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!

    • @DasBrennendeHerz
      @DasBrennendeHerz 2 роки тому +7

      If you are a regular user it's more simpler to run sudo. Or, in case you don't care about security too much, recursively run chmod -R 777 on the folder every time you create new files in it. But If you do not avoid automation and scripting there are more efficient ways to solve this.
      Firs input. Linux provide SGID flag for the directories. If SGID flag is set then when file is created in this directory it will get the same GID as directory has, and not GID of the user which created this file.
      Second input. libvirtd which is responsible for creating files in shared folders usually runs under root on the host machine. So libvirtd has permissions to set UID and GID for created files and folders to UID and GID form the guest machine. Guest driver instructs libvirt to set specific UID and GID for the file and libvirtd just do so. Usually it's the UID of the user on guest machine and GID of it's main group (primary group). But if guest operating system (guest driver) wants to set another GID due to SGID flag on the folder in the guest machine then libvirt will do so.
      ----------
      So all you need to do is create special group both on the host and the guest machine which will have the same GID on the host and the guest. This can be achieved by --gid option of the groupadd command. Then set this group as the owner group for the mount point on the guest and the owner group for the source directory on the host.
      Then include your user to this group on host and guest machines. This can be achieved by usermod -aG or more safe command gpasswd -a < user > < group >
      After this every file created from host or from guest will have the same GID and owner group and your users (with different UID on the host and the guest) will have access to this file from each machine because they are included in the group which now owns the file.
      Of course to be convenient solution this needs to be automated. That's the only reason I think it's not for a regular user ;)) But for an experienced user the solution is quite simple.
      ----------
      Here are the commands you need
      # On the host :
      groupadd --gid 2000 qemu-share
      gpasswd -a you-user-on-host qemu-share
      chown :qemu-share /var/local/virt-manager-mount
      chmod +s /var/local/virt-manager-mount/on/the/host
      # On the guest
      groupadd --gid 2000 qemu-share-may-have-other-name
      gpasswd -a you-user-on-guest qemu-share-may-have-other-name
      mkdir /mountpoint
      chown :qemu-share-may-have-other-name /mountpoint
      chmod +s /mountpoint
      # For all other users to read files
      chmod o+rx /mountpoint
      ----------
      After this each file created in this directory either from host or form guest will have this permissions:
      -rw-rw-r-- 1 you-user-on-host qemu-share 8 Dec 3 23:12 example_file.hey
      -rw-rw-r--. 1 you-user-on-guest qemu-share-may-have-other-name 8 Dec 3 23:12 example_file.hey
      or the ls -lan output:
      -rw-rw-r-- 1 1076 2000 8 Dec 3 23:12 example_file.hey
      -rw-rw-r--. 1 1892 2000 8 Dec 3 23:12 example_file.hey

    • @AndersJackson
      @AndersJackson 2 роки тому +1

      @@DasBrennendeHerz no, pleases. Never ever use 777 and chmod at the same time.
      Except for that, nice examples.
      There are also ACL support in Linux, which should be possible to use to solve this.

    • @DasBrennendeHerz
      @DasBrennendeHerz 2 роки тому +2

      @@AndersJackson I think we have to take regular users and new
      inexperienced users into account. Most of them are now using Windows with local admin account and disabled UAC ;) Of course, I do not recommend using chmod 777 command to those who care about any security. But only advanced users care about it. Ordinary users know nothing about ACL and, unfortunately, don't need security.
      There is another solution, through the SGID and directory GID which was mentioned even with example of code. From my point of view, this is the preferred solution. It is quite simple and much more secure. So those who care about security can use this solution to automate the mounting process. There are many ways to do this, either through Systemd or through startup scripts.

    • @AndersJackson
      @AndersJackson 2 роки тому +1

      @@DasBrennendeHerz I would say that it chmod 777 is only for advanced users, as they are (perhaps) the ones who knows the impact of doing that.
      About ordinary users knowing nothing about ACL, well, they don't know a thing about 777 either, just look at "Yes, do as I say!" ;-). Well I need all to have a relativ high lowest standard when it comes to security, as I don't want Linux distributions to be the next MS Windows 95. ;-)
      It isn't like there are no viruses and security threats to Linux.
      Yes, SGID and GGID are usefull, as are ACL, as a solution. ACL are also quite simple, when you get the hang of it. Like SGID and GGID.

    • @thierrybo6304
      @thierrybo6304 2 роки тому

      Interesting. I don't know why but I just tested on my system and I do not have this problem:
      ua-cam.com/video/xrDZ8BhjRxY/v-deo.html
      System: Kernel: 5.15.0-2-amd64 x86_64 bits: 64
      Distro: Devuan GNU/Linux 5 (daedalus/ceres)
      Libvirt 7.6.0 qemu 6.1
      fstab
      /hostshare /mnt/hostshare 9p trans=virtio,version=9p2000.L,rw,_netdev 0 0
      QEMU/KVM in USER MODE

  • @thewatchmaker.
    @thewatchmaker. Рік тому

    Thanks for the video, i have a question, how to make a VM to automatically adapt the screen resolution to the windows size like virtualbox ? Thanks! (Linux as host and linux and windows as guest)

  • @noah77
    @noah77 2 роки тому +2

    woah never seen you upload at this time.

  • @ekeretteekpo3004
    @ekeretteekpo3004 Рік тому

    Thank you for the video.
    Please, how do I remove the installed OS and regain my disk space?

  • @Gh0st3xp10it
    @Gh0st3xp10it Рік тому

    Hello, I have install Qemu/Virt-manager in dtos and i have two menu is not present (Type and Mode 9.12min in this video) look screenshot for mount shared folder in windows10 echec permission 😒
    Thank you for help 🙏

  • @mandrasaptakmandal636
    @mandrasaptakmandal636 2 роки тому

    Hi I have a question, Is there any way we can directly enter a VirtManager Session from the Login Page like how Kodi Allows to directly Login into its session? Thanks in advance!

  • @Suddhadeep
    @Suddhadeep 2 роки тому

    I have a windows host. I mostly use QEMU via command line or batch file. It works great.

  • @terryforsythe8083
    @terryforsythe8083 2 роки тому

    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;

  • @shanedavenport734
    @shanedavenport734 2 роки тому

    The problem I'm having with QEMU/Virt-Manager is I can't get Virtio opengl to work along with Spice opengl. If I turn off opengl the machine boots, but opengl on results in it sitting at a black screen for a long time and than it usually shutsdown on it's own.

  • @jeancorriveau8686
    @jeancorriveau8686 2 роки тому +1

    I played with virt-manager yesterday for first time. Just as easy to use as Virtualbox and vmware, I find. Plus it's kvm, so faster. I'm ditching vmware and virtualbox.

  • @ankita.harshgarg
    @ankita.harshgarg Рік тому +2

    Can you make a video on any Trips and Tricks for Windows 10 guest machine ?, I use EndeavourOS as my primary driver and for some office software which is windows based i use Windows 10 VM in Virt-Manager, I would love to use the share folder thing you showed in Win guest and any other trips which can make my virt-manager windows experience better.
    edit - I am a total newbie to Linux world just shift from Windows, 9months back, you videos have been very helpful in my transition many thanks for that.

    • @dxplosiv1
      @dxplosiv1 Рік тому

      Been looking for a solution for shared folders on Windows guests for a while. It's the main drawback for me, otherwise I've enjoyed virt-manager.

  • @carlobucosse5458
    @carlobucosse5458 2 роки тому

    Hey DT, what kind of music do you listen to?

  • @robertcoyle9071
    @robertcoyle9071 2 роки тому

    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.

  • @seths1997
    @seths1997 2 роки тому +2

    when i add a mount point, after fstab i always do 'mount -a' else if something is wrong you risk not being able to boot; it will drop you to a root shell in emergency mode

    • @dingokidneys
      @dingokidneys 2 роки тому +2

      Time for a snapshot of the VM prior to futzing with /etc/fstab. :)

    • @terryforsythe8083
      @terryforsythe8083 2 роки тому

      Yep. My VM did not mount the shared file on boot after fstab was edited. I had to enter "mount -a" into the Terminal to get it to mount. In the VM I added a script file in /etc/network/if-up.d and made it executable to execute mount -a after a 5 second sleep. It has the following entries:
      #!/bin/sh
      sleep 5;
      mount -a;
      exit 0;

  • @cjdebeer4581
    @cjdebeer4581 2 роки тому +1

    Exactly what I was looking for today. Thanks for the awesome content Derek!

  • @fstoplive1991
    @fstoplive1991 9 місяців тому

    👍 Have you any idea what this video just did for me? I'm going to use this info to learn scripting to customize a distro install!

  • @jessieo5757
    @jessieo5757 2 роки тому +1

    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.

  • @canislupus616
    @canislupus616 2 роки тому

    2020 Apple MacBook Air with the new M1 Chip running MacOS 12.4 Monterey. Is it possible to install and run virt-manager on MacBook with the new Apple M1 chip?

  • @stamatisperrakis4298
    @stamatisperrakis4298 2 роки тому +1

    great video. One thing I do not like about kvm is that I can not have dynamic disk image size. Unless I am mistaken and simply do not know how to do it

    • @dingokidneys
      @dingokidneys 2 роки тому +1

      I agree with you there. Another problem for me is the networking. I can't figure out how to bridge to my LAN. NAT works fine but bridge mode defeats me.
      I find VirtualBox better for mucking about with stuff though it's disk performance (especially spinning rust) leaves quite a lot to be desired if you really want to use that VM. KVM on the other hand has better performance for when you've decided you need a VM for a real task. That said I've a hell of a lot to learn about KVM and sometimes it's a bit frustrating.

    • @stamatisperrakis4298
      @stamatisperrakis4298 2 роки тому

      @@dingokidneys Yeah, I also have network problems. I will stick to VB. I only use it to print from windows as my printer is not compatible with linux, and to test new linux distros. I never had any issue with VB. Oh well, maybe I will give it a try again in a couple of years to see how it has progressed.

  • @Clobercow1
    @Clobercow1 2 роки тому

    Doesn't VB have the option to use KVM as the hypervisor type when creating a VM in VB??

  • @sylvershadow1247
    @sylvershadow1247 2 роки тому

    My USB devices won't redirect on my Windows VM, but it works fine on Linux VM. Any idea what I could be missing?

  • @leobrocato3230
    @leobrocato3230 2 роки тому +1

    hey dt why do you not use Type 1 Hypervisor?

  • @DREAM1337x
    @DREAM1337x 3 місяці тому

    Is it possible to make programs in a windows vm think that it runs on normal hardware? I don’t want to dual boot anymore but the game I want to play doesn’t allow to run in a VM

  • @slannon
    @slannon 2 роки тому

    How do I backup Qemu virtual machines so I can transfer them to another computer?

  • @Mr.Eminem
    @Mr.Eminem 2 роки тому +3

    Which is better for low end pc? I want to run virtual os on my 8gb ram pc with 4 core cpu which is very low end.. I don't think virtual box and vmware will work good on it... Any Low resource demanding virtual software?

    • @distant6606
      @distant6606 2 роки тому +1

      linux or windows?if on linux you can try kvm which is extremely light but is not noob friendly.I think after kvm, virt manager(frontend for kvm) is lighter than virtualbox.for windows you can go vmware cause its faster than vbox.hope i helped u a bit :) have a nice day !

    • @Mr.Eminem
      @Mr.Eminem 2 роки тому

      @@distant6606 sadly im on windows 10 home.. So i can't use hyper v and neither can use kvm

    • @Mr.Eminem
      @Mr.Eminem 2 роки тому

      @Watcher nah hyper v is for Windows10 Pro, education and enterprise... Windows 10 home single language version don't got hyper v option

    • @kryzondaan1855
      @kryzondaan1855 2 роки тому

      I run a i5-3470 on a Windows Machines. Virtualbox hardly works, I use VM workstation Pro which works fairly well for linux machines and windows. It's nowhere near kvm performance ( or even VirtualBox on linux ) on the same CPU but not too bad. - that is, it does what I need it to do. What CPU you running? The 8GB RAM might be a problem though unless you're running low RAM machines.
      I gave up on WSL last year, and threw HyperV out at the same time. I just can't be bothered with them.
      Problem with Workstation Pro, you need a license key, like Windows 10 Pro. I wouldn't know anything about this, absolutely not!...but who knows...you might be able to find license keys for these products on the internet somewhere without too much searching? I assume you can use HyperV on an unactivated install of 10 Pro? Not sure, even if you don't have a license key you could still try it out?
      I seem to remember people reporting broken windows installations following guidance to install hyperV on 10 home

    • @Mr.Eminem
      @Mr.Eminem 2 роки тому

      @@kryzondaan1855 thnx man...appreciate your feedback!!!

  • @RAM_845
    @RAM_845 7 місяців тому

    I can't get my virt manager to work; I can create virtual drives but the play, pause and stop buttons are blocked running Linux Mint

  • @crossbowbeat
    @crossbowbeat 2 роки тому

    Good video

  • @thatlinuxguy
    @thatlinuxguy 2 роки тому +6

    Virtualbox can use kvm as it's virtualization engine, if it couldn't then on linux it would be unbelievably slow. Also virtualbox uses the windows equivalent of kvm to speed up the emulation too, the only reason why the software emulation exists is for systems that don't have cpu support for hardware virtual machines.

    • @EricParker
      @EricParker 2 роки тому +1

      This is false. It does use hardware acceleration but it's not using KVM, it has it's own virtualization (Type 2) engine.

    • @MasonSchmidgall
      @MasonSchmidgall 2 роки тому +2

      This is completely wrong.

    • @EricParker
      @EricParker 2 роки тому +1

      @Ichigo Kurosaki You can also choose "KVM" on a Windows PC Or Mac, which doesn't have KVM. I can't easily link on youtube comments but in chapter 10.5 in the manual.
      Paravirtualization interface basically pretends to be that hypervisor to implement better support for the guest. It's NOT running under KVM (although it can (slowly) run under Hyper-V on Windows).

    • @Ormaaj
      @Ormaaj 2 роки тому

      @Ichigo Kurosaki They are totally different things.
      virtualbox was an odd fork of qemu made by sun which came around shortly before x86 vm extensions were a thing and came bundled with its own gui. Thus virtualbox is its own special snowflake standalone vm.
      virt-manager isn't a vm at all. It is a high-level GUI component for the libvirt multi vm middleware library and includes a few extra tools for automating libvirt systems on multiple platforms. With virt-manager you're always dealing with at least two other components: libvirt itself and its tools e.g. virsh and virt-cli, and one or more lower-level vm backends that can include kvm, lxc, bhyve, etc. It is extensible and designed to wrap any type of system hypervisor on any platform so that one can configure a system using a uniform set of commands and configurations.
      Overall the latter is a much more powerful tool when used appropriately. virtualbox has the minor advantage of being easily packaged and installed on many systems that otherwise lack rich hypervisor platforms such as netbsd. However to my knowledge qemu itself is also well supported on all the same platforms and I would probably prefer to just manually write scripts around qemu rather than deal with virtualbox.

  • @Quicken2k
    @Quicken2k 2 роки тому

    Trying to get a wireless card to bridge with virt-manager, so I can see my entire neywork. Can you explain that please?.

  • @gauravkc9210
    @gauravkc9210 2 роки тому

    I have windows on virt manager in a linux but the windows in virt manager is super slow, help needed any tips might be helpful(except for uninstalling windows).

  • @lacyparks8286
    @lacyparks8286 2 роки тому

    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.

    • @robertcoyle9071
      @robertcoyle9071 2 роки тому

      Do you run it on the machine or did you install it to a USB stick? I'm planning on doing the same thing eventually

    • @lacyparks8286
      @lacyparks8286 2 роки тому

      @@robertcoyle9071 Machine.

    • @robertcoyle9071
      @robertcoyle9071 2 роки тому

      @@lacyparks8286 the reason I asked is because I was planning on saving the qcow file to the USB so it doesn't crowd up my HDD. I have a set of automotive diagnostics and coding tools that only runs on windows and my plan is to install Arch on the laptop and put the windows 10 with the tools on an SD card. The 2 or 3x a year I need it I simply insert the card and run it. It doesn't need any connection to work other than a USB port and the tools themselves are long out of development.

    • @_DT_
      @_DT_ 2 роки тому

      You can just choose other or windows 10 option (That option only set the minimum requirements that need the OS) and emulate TPM 2.0 if your hardware does not support it

  • @greob
    @greob 2 роки тому

    Useful tips indeed.

  • @paulg3336
    @paulg3336 2 роки тому

    Can those clones be saved elsewhere?
    Like the "save appliance" function in in Virtualbox?

    • @robertcoyle9071
      @robertcoyle9071 2 роки тому +1

      I think you can put them anywhere. I'm going to try putting a windows 10 install on a USB and run it through virtmanager.

    • @dingokidneys
      @dingokidneys 2 роки тому

      I export them as an OVA - sorry that's in VBox. Duh.

  • @menthe885
    @menthe885 6 місяців тому

    Hi DT, would you like to make a turtorial for single GPU passthrough? There is many videos out there but they suck.

  • @hoterychannel
    @hoterychannel 2 роки тому

    And all these thing with permissions make virtual box much ease to use, for example, to mount iso image we need to change permissions so user of libvirt can access it, and so on...

  • @linuxgamesandprogramming3843
    @linuxgamesandprogramming3843 2 роки тому +2

    Why clone your virtual machines when virt manager has snapshots?

  • @javidnorouzi9107
    @javidnorouzi9107 2 роки тому +2

    But how about windows? How to share files between linux host and windows guest machines?

  • @marksulloway5669
    @marksulloway5669 5 місяців тому

    Thank you.

  • @dragonfist
    @dragonfist 2 роки тому

    can you use this as ESXI ?

  • @CuttinEJ
    @CuttinEJ 7 місяців тому

    I can’t get a VM to install. First thing it wants is “existing OS root directory”. I don’t know what I’m supposed to use.

  • @brunoais
    @brunoais 2 роки тому +1

    5:40 No snapshots? I usually use snapshots on VirtualBox for that purpose.

  • @Tatar_Piano
    @Tatar_Piano 2 роки тому +3

    Hey dt, can you make new updated review for gnome boxes, i think it's way easier than qemu with virtmanager for new users

  • @Doruletz1999
    @Doruletz1999 Рік тому

    @DistroTube
    Hi, Derek
    I just started using QEMU/KVM and I like it.
    Maybe you can help me out (and most like help others) in configuring QEMU/KVM to run the Guest OS in 4K UHD resolution. My monitors are 4K 3840 x 2160 @ 60 Hz, and the maximum resolution I can get now is 2560 x 1600 @ 60 Hz.
    Also, do you know of a way to increase the video memory??
    As is, it only has 16 MB which not nearly enough. Cannot play 4K UA-cam videos or even the most simple games, such as Warzone 2100 with just 16 MB of vram.
    In VirtualBox I was able to get it up to 256 MB with this command:
    VBoxManage modifyvm "Name of VM" --vram 256
    I know you can passthrough your GPU in QEMU/KVM, but I have no need for that...

  • @henrymach
    @henrymach 2 роки тому +1

    I converted an old Windows XP image from VirtualBox to Virt-Manager and it blue screens all the time. For Windows guests I usually have more luck with VirtualBox

    • @dingokidneys
      @dingokidneys 2 роки тому

      I'd guess that this was to do with the HAL (hardware abstraction layer) in Windows as well as drivers. VirtualBox pretends to be hardware that Windows has supported forever by default when you let it know that you're installing a Windows guest.
      Fixing this would be hard though if you have a Win XP installation disk ISO you may be able to use Safe or Recovery mode or whatever it's called to try to fix it. But if you have installation media, I'd just do a clean install.

  • @notyoutube8128
    @notyoutube8128 2 роки тому

    How do I pass my SDCard to my Virt-Manager vm?

  • @SaschiIein
    @SaschiIein 2 роки тому

    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?

  • @dryicetechnologies
    @dryicetechnologies 2 роки тому

    virtualbox supports kvm virtualization DT.
    regards from brazil.

  • @arpankumar5007
    @arpankumar5007 2 роки тому +1

    Make a video on btrfs and snapshot ..... And reletive information nedded for that ....

  • @rjdp3
    @rjdp3 2 роки тому

    virtual knowledge achieved...

  • @gagnon124
    @gagnon124 Рік тому

    how do you pass in a gpu?

  • @rockymarquiss8327
    @rockymarquiss8327 Рік тому

    How about converting Hyper-V files?

  • @crazybeaner81
    @crazybeaner81 Рік тому

    Is it possible to delete multiple VMs?

  • @music.is.freedom9018
    @music.is.freedom9018 2 роки тому

    Is Virt Manager a better alternative to gnome boxes?

  • @florianfelix8295
    @florianfelix8295 2 роки тому

    Have you ever had a look at a gnu Hurd VM? ;P

  • @zenapplejones
    @zenapplejones 2 роки тому

    We need a clipboard / From my desktop to my Virt desktop - cut / copy / paste

  • @SoftwareRat
    @SoftwareRat 2 роки тому +1

    For Windows users, Hyper-V is better for testing Linux distributions

  • @jonathanedwardgoode
    @jonathanedwardgoode Рік тому

    Am I the only one who keeps getting "no bootable media " if they reboot ? It's the opposite of the problem I've had with virtualbox

  • @walter_lesaulnier
    @walter_lesaulnier Рік тому

    I never realized just how crappy VMWare and VirtualBox were until being amazed by QEMU/KVM/Virt-Manager.

  • @yourlinuxguy
    @yourlinuxguy Рік тому

    Why not use Qemu and make s simple script?

  • @max_ishere
    @max_ishere 2 роки тому

    DT says its a long comand.
    Me imagining 5 lines worth of typing.
    Then its just a bit of complicated flags.

  • @tito2000x
    @tito2000x 2 роки тому +1

    I prefer vmware for my VMs on windows

  • @AndersJackson
    @AndersJackson 2 роки тому +3

    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.

    • @zenithium2585
      @zenithium2585 2 роки тому

      why wily when acme works fine on linux as a part of plan9port

  • @thefossenjoyer3346
    @thefossenjoyer3346 2 роки тому +2

    Am I the first one?

  • @RHTORAS
    @RHTORAS 2 роки тому +2

    We love virtmanager because its linux exclusive. We want more systemDfree linux exclusives.

    • @Ormaaj
      @Ormaaj 2 роки тому

      No it isn't.

  • @leksmut
    @leksmut 2 роки тому

    Who has noticed easter egg - Space Odyssey mp4 file?

  • @gamerking64
    @gamerking64 2 роки тому

    What about KVM?

    • @warhawk_yt
      @warhawk_yt 2 роки тому +6

      You do know the Virt-manager runs on KVM/libvirt right? Virt manager is a front end for KVM or more accurately libvirt which uses KVM.

    • @aqlee3518
      @aqlee3518 2 роки тому +4

      when u setup qemu, u seem like setup with kvm already

    • @gamerking64
      @gamerking64 2 роки тому +4

      Oh sorry, its the first time i know that virt-manager is a front end for KVM. Great to know that! At least its much better than virtual box(much faster).

    • @thomasq5186
      @thomasq5186 2 роки тому +3

      @@warhawk_ytAFAIK virt manager is a frontend for qemu and qemu uses KVM. There is no KVM frontend as it is a kernel module

    • @warhawk_yt
      @warhawk_yt 2 роки тому

      @@thomasq5186 I think you are right. I always forget about QEMU. KVM is built into the kernel that is correct. It is like 6am and been up all night so I am sayin misinformation right now or at least confusing some things.

  • @histoomuch
    @histoomuch 2 роки тому

    Buy threadripper guys! #mytips

  • @thefireph0enix
    @thefireph0enix Рік тому

    Now please show how to play r6s on vm. I've done it, its just the anti-cheat you gotta pass.

  • @porterneon
    @porterneon Рік тому

    sound of the mechanical keyboard is irritating...

  • @unnatshaneshwar6477
    @unnatshaneshwar6477 2 роки тому +5

    I just don't like stuff made with python.
    Is there a good virt-manager alternative that's not written in python??

    • @warhawk_yt
      @warhawk_yt 2 роки тому +1

      I don’t think so from my knowledge. There might be another front end but when you use KVM Virt-manager is usually the go to client unless you want to run it through the cli which is a pain if it’s own.

    • @penguin1714
      @penguin1714 2 роки тому +4

      Virt manager is just a front end for libvirt. Libvirt is written in C. Do you really care that the gui is in python? Lol

    • @warhawk_yt
      @warhawk_yt 2 роки тому

      @@penguin1714 I know I personally don’t care what a GUI is programmed in as long as it isn’t painfully slow which Virt-manager isn’t. People say python is a slow language and I agree to an extent but it can be optimized it just takes more work.

    • @peppenapoli96
      @peppenapoli96 2 роки тому +2

      That's such a uselessly petty requirement. The backbone of virt-manager is kvm, which is obviously written in c. What counts at the end of the day is the result.

    • @unnatshaneshwar6477
      @unnatshaneshwar6477 2 роки тому

      @@penguin1714 I actually do because I use a potato :)

  • @pycz
    @pycz 2 роки тому +1

    I don't get why this is better than Virtual Box

    • @warhawk_yt
      @warhawk_yt 2 роки тому +10

      The big thing about KVM/Virt-Manager vs Virtualbox is that KVM/Virt is what is known as a Type 1 hyper visor. The easiest way to explain it is that it runs strictly on the host system hardware itself where as Virtualbox is a Type 2 hyper visor which runs through an existing operating system and than allocates the hardware resources. I could be wrong but that is what I know about it. Someone definitely can explain it better than me. Since Virt runs strictly on the kernel level it is more performant.

    • @wikwayer
      @wikwayer 2 роки тому +1

      Not sure but I think you can give it more ram

    • @FranciscoMarcosMilhomemAbreu
      @FranciscoMarcosMilhomemAbreu 2 роки тому

      @@warhawk_yt type 2 doesn't use hypervisors.

    • @FranciscoMarcosMilhomemAbreu
      @FranciscoMarcosMilhomemAbreu 2 роки тому +6

      Type 1 virtualizations has better performance and hardware integrations. KVM is one of them.

    • @warhawk_yt
      @warhawk_yt 2 роки тому

      @@FranciscoMarcosMilhomemAbreu It’s considered to be a type 2 hypervisor but I think I meant the operating system rather than a hypervisor. It is like 6am and been up all night so not fully awake.

  • @withercubes3295
    @withercubes3295 2 роки тому +1

    DT is getting old.

  • @Tala2n
    @Tala2n 8 місяців тому

    I hate virt-manager.