How To Use Virtual Machines on Linux

preview_player
Показать описание
► Follow me!

----------------------------------------------------------------------------------

Links:

Gnome Boxes

(* All Amazon Links are affiliated. That means that I get a small cut of revenue if you buy something, without any additional costs.)

----------------------------------------------------------------------------------

🎵 Music from StreamBeats by Harris Heller.

----------------------------------------------------------------------------------

Chapters:

00:00 - Why use Virtual Machines?
00:45 - What is Virtualization?
02:06 - The difference between QEMU and KVM
04:10 - How to use KVM
04:45 - Gnome Boxes (The easy way)
07:34 - Virtual Machine Manager (The better way)
08:50 - OpenGL / 3D Acceleration, Secure Boot and TPM 2.0
10:31 - Windows ISO not booting fix
10:57 - Conclusion

----------------------------------------------------------------------------------

Description Tags:

virtual machine, virtual box, virtual machine on linux, linux virtual machine, linux virtual machine windows 11, virtual machine windows 10, virtual machine windows 11, virtual machine linux, windows 10 virtual machine on linux, logitech g hub linux, virtual machine passthrough gpu, virtualization on linux, virtualization on linux server, michael horn

----------------------------------------------------------------------------------

#linux #virtualization #opensource
Рекомендации по теме
Комментарии
Автор

Also worth mentioning is that if you set up your VM in the easy-to-use Boxes, you can easily edit its advanced configuration later on using Virtual Manager (but still use Boxes to use it)

Scranny
Автор

I SUFFERED while playing around with VirtualBox and VMWare on Windows- they are slow, buggy, and bad- especially with video and scaling. Then I installed QEMU and Virt-Manager on my Fedora computer and I was in LOVE- VMs ran 95% as fast and reliably as on bare metal. much better.

walter_lesaulnier
Автор

That is the best video about how to setup and use a VM on linux. Furthermore i am stoked that you also mentioned GPU passthrough. I never imagined it to be so easy.
Thanks !

sunnisun
Автор

Interesting. In the past, I've used both KVM and VMM. Once I'm retired, in about 10 weeks, I plan to repurpose my PC with Linux and run Windows 11 Pro under KVM.

johnmckown
Автор

Super Videos Michael, deine Videos helfen mir sehr komplett auf Linux umzusteigen, und ich denke auch vielen anderen.
Danke dir

jimjam
Автор

Linux also offers other alternatives short of full virtualization: for example, containers, in the form of LXC and Docker and systemd-nspawn.

For example, I want to run up two versions of an application I built for a customer on their server -- one for production use, the other for testing. I put the testing version in a separate container, isolated from the production code. This way they can share some aspects of their configuration, while being isolated in other ways.

lawrencedoliveiro
Автор

Virtualization is perfect for scenarios where you have to configure a piece of hardware with very dubious software running only on Windows. I luckily haven't run into this scenario for some time now but if I were using Windows I still would use a throwaway VM like this to configure the devices avoid permanent junk shitted all over your system.

xard
Автор

I have a Ryzen 3 2200G (4C4T) and I always give all VMs all 4 Cores. I see no reason to slow down a VM artificially, also because the Linux kernel of the Host is perfectly capable of scheduling the processes of the Host and the visible processes running on the cores of each VM. I only limit the number of CPUs for e.g Windows XP Home, because that OS only supports 1 core.

bertnijhof
Автор

Great video. I am using Gnome Boxes on Ubuntu 24 at the moment, just installed SuSe this morning and Windows 10 Pro this afternoon. The Windows 10 Pro is running better as a VM than when I had it running directly on the machine!

daveys
Автор

QEMU is an emulator and as an emulator it can emulate different hardware architectures (instruction-sets) including x86, MIPS64 (up to Release 6), SPARC (sun4m and sun4u), ARM (Integrator/CP and Versatile/PB), SuperH, PowerPC (PReP and Power Macintosh), ETRAX CRIS, MicroBlaze, and RISC-V. Virtualbox is NO EMULATOR, because unlike QEMU it can't emulate ARM instruction on your x86-PC!
The hypervisors of KVM and Virtualbox both consists of 3 modules that run inside the Linux kernel.

bertnijhof
Автор

Oh my goodness Michael I loved this video! I am doing a series on my channel now, and I am working towards learning Docker. I am looking for a way to run a Linux Distro and do a type 2 hypervisor this video is going to help me do that, thanks so much for the video!

sherrilltechnology
Автор

Good Afternoon Michael! Very good stuff thanks for the introduction to some VM subjects I didn’t know about!

thomasfx
Автор

Another nice thing about GNOME Boxes is that it also comes as a Flatpak from Flathub

speedytruck
Автор

ohhh a virtualization video? boy i miss gpu passthrough, but on my laptop is just so hard setting a seamless configuration for gpupassthrough since i am even on 4rth gen intel..
btw what cpu and mobo do you have? is windows 11 also working well with hypervisor option set to -disable?

asunavk
Автор

I wouldn’t attempt to use OpenGL on an Nvidia card if you have one.

I believe it doesn’t work on purpose. Just thought I would mention it, so I hopefully save someone some headache.

Also, I use a RDP software for my windows VMs like Remmia to just RDP directly into it. For me, it fixes a ton of stuttering in my windows vms.

As a final note, on your windows machines, install Virtio drivers if you use virtio. Makes a handful of things either work, or work better!

mariocraft
Автор

9:51 Actually... That's EXACTLY what I'm doing. Nowadays don't even need scripts to unload drivers and stuff. But you probably don't want to be using rebar as it causes AMD Windows driver to freak out

FakeMichau
Автор

Wow, this was so helpful! Thank you! In 11 minutes you saved me hours and answered so many questions.

JHSaxa
Автор

Bro, your videos are perfect! With it, I was able to instal Wind 11 on my Fedora, it runs well and everything seems to be working perfectly. Thanks so much and keep it always up.

maviniii
Автор

It’s a pity that guest tools were not mentioned. They allow drag-and-drop between host and guest, and copy/paste.

toniferic-tech
Автор

I really like learning about Linux even though I am a Windows person instead! It's too bad this video only has 42K views instead of way more views because Linux is pretty interesting for sure!

SuperDavidBrothers