Qemu Installation

delform_17

New Member
Joined
Nov 23, 2022
Messages
10
Reaction score
1
Credits
106
I have a little problem with process of quemu emulator installation on my Debian 9. I'm not really sure should I make a normal installation and kernel upgrade or just use Qemu KVM version which is close to regular Qemu software but It need some extended libraries like libvirt-deamon or virtinst.

For example I'm talking about this https://computingforgeeks.com/how-to-install-kvm-virtualization-on-debian/

I'm also have some tutorial ->
. It seems to be little bit easier but now I'm confused.
Which method is much simpler, easier.
Finally I want to emulate RPI system on qemu and boot it remotly from Pixie server for example.

Thanks for advices
 


This is a superior detailed video on qemu kvm set up:
It is more detailed and explanatory than the links you mentioned. The author, Josh Rosso, also has a separate youtube video on bridging which may be of interest. In your case, it may be worth considering upgrading the debian version to the latest. There have been significant improvements since debian 9 which could be very helpful in this area.
 
This is a superior detailed video on qemu kvm set up:
It is more detailed and explanatory than the links you mentioned. The author, Josh Rosso, also has a separate youtube video on bridging which may be of interest. In your case, it may be worth considering upgrading the debian version to the latest. There have been significant improvements since debian 9 which could be very helpful in this area.
Yes, absolutly. This video is very helpfull and detailed. I hope that after read full article on his blog I'II have more clear point of view and know exacly what should I do in this case. I must say that unfortunetly I've missed this material where I looked help on YouTube. I'm surprised that here is so many different libraries nedded to install finally run Qemu.

Soo, first I should upgrade kernel to newest version and after try to install Qemu KVM following this YT material ? I can only added that I'm still layman and learn Debian base on problems. But I belief it's also a good way.

Thanks for show me the right way ;)
 
Setting up Qemu isn't that complicated, here's a guide that should help you get setup.
Also if you install virt-manager you will have a gui to that will allow you to manage your virtual machines through a gui.
 
Last edited:
You know Debian 9 expired in June 2022, Debian 10 is June 2024, Debian 11 is June 2026 - Why are you using Debian 9 since it died a year ago? I would upgrade to 11 then work with Qemu
 
You know Debian 9 expired in June 2022, Debian 10 is June 2024, Debian 11 is June 2026 - Why are you using Debian 9 since it died a year ago? I would upgrade to 11 then work with Qemu
Looks like there is still some sort of support for Debian 9 until 2027?
 
Looks like there is still some sort of support for Debian 9 until 2027?
Yep but that extended support is through Freexian not really Debian and you have to add the Freexian PPA and pay for it https://www.freexian.com/lts/debian/
 
Kinda bordering on off-topic, but still a topic from the thread's discussion:

Not too many free distros offer a full decade of support. Ubuntu does, but only for three devices (without paying). Most folks only know about the five year's worth of support, which is why (I'm guessing) Ubuntu decided to call it Ubuntu Pro and stick some information in the terminal that's shown during updates.

As much as I love me some Ubuntu, they sure do some strange stuff. This Ubunt Pro bit, including adding it to the terminal, is seen as advertising by some folks and they don't care for it. It's easily disabled but man doesn't it irk a subset of users. I wear glasses and even I could have seen that coming...

Anyhow, back to the point... It's not easy to get a decade of support for free. Now that CentOS has changed, you no longer have their 'legendary' support cycles. RHEL is free for like five devices, but requires signing up (I'm pretty sure - as it asks me for my username and password during installation).
 
Unfortunetly I have next problem but most common. Namely after executed Qemu KVM and try to create new Virtual Machine Qemu tell me
that some modules aren't install or enable. I've checked many things like visulization option and it's enable.
But modprobe kvm_intel command doesn't work.

I've installed all packages from this tutorial and still couldn't create VM. Perhaps I forgot something.
kvm_create_virtual_machine.jpg


kvm_virtualization_machine_type.jpg
 
might want to check if libvirt-clients is installed

Libvirt is a C toolkit to interact with the virtualization capabilities
of recent versions of Linux (and other OSes). The library aims at providing
a long term stable C API for different virtualization mechanisms. It currently
supports QEMU, KVM, XEN, OpenVZ, LXC, and VirtualBox.
 
Previous problem were fixed but now I have some uncertainty cause I holding RPi on image file type IMG despite that in many cases users use ISO file.
It seems to be asy but ut I'm stuct on losetup tool : https://linuxhandbook.com/create-virtual-block-device/

So now I'm not sure should I mount IMG file using losetup software and make loop driver or choose other point of view and follow this tutorial :
.

In generally It's hard to find and install losetup soft because I didn't find any good repository for that and any package which I've downloaded. This gave me error: ,,The folowing package have unmet dependencies "
 

Staff online

Members online


Top