The officially official Devuan Forum!

You are not logged in.

#1 Yesterday 02:31:43

klein
Member
Registered: 2024-08-24
Posts: 19  

virt-manager qemu/kvm install excalibur

i'm trying to install virt-manager qemu/kvm on devuan_excalibur_6.1.0_amd64_desktop.iso

the code i found for systemd Trixie

sudo apt install virt-manager gnome-boxes ebtables nftables dnsmasq qemu-kvm 
qemu-system-x86 seabios ovmf libvirt-daemon libvirt-daemon-system libvirt-daemon-system-systemd 
libvirt-daemon-driver-qemu libvirt-daemon-config-network libvirt-daemon libvirt-clients

all of the packages i have found in synaptic except for two these two i have questions about

qemu-kvm --------------------------------------------------------------openstack-tempest-ci-live-booter
libvirt-daemon-system-systemd -------------------------------------------------libvirt-daemon-system-systemd

i believe the below should work, i'm hopping

sudo usermod -a -G operator <user>
sudo usermod -a -G kvm <user>
sudo usermod -a -G libvirtd <user>

i know these 2 lines below are wrong, i'm not sure how to convert from systemd to Devuan

sudo systemctl enable libvirtd
sudo systemctl start libvirtd

any help or guidance is perpetrated.

Offline

#2 Yesterday 09:17:49

pcalvert
Member
Registered: 2017-05-15
Posts: 297  

Re: virt-manager qemu/kvm install excalibur

Why are you trying to install virt-manager? Is it something that you've used before?


Freespoke is a new search engine that respects user privacy and does not engage in censorship.
Another one is called Luxxle.

Offline

#3 Yesterday 12:46:19

klein
Member
Registered: 2024-08-24
Posts: 19  

Re: virt-manager qemu/kvm install excalibur

yes pcalvert
i'm trying to get away from systemd. the os i'v been using is good but bleeding edge, i have came into possession of a newer laptop dell precession 7750.   I'm not really  that good with cli .

Offline

#4 Yesterday 13:48:54

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,815  

Re: virt-manager qemu/kvm install excalibur

There's aqemu if you want a graphical front-end to qemu.

Offline

#5 Yesterday 14:40:06

kapqa
Member
Registered: 2019-01-02
Posts: 611  

Re: virt-manager qemu/kvm install excalibur

test

Last edited by kapqa (Yesterday 17:58:39)

Offline

#6 Yesterday 17:45:59

klein
Member
Registered: 2024-08-24
Posts: 19  

Re: virt-manager qemu/kvm install excalibur

ok so i install everything, from my first post.
it all seemed to go well.
but now i'm having a network problem with the install of the vm.

sudo virsh net-list --all
 Name      State      Autostart   Persistent
----------------------------------------------
 default   inactive   yes         yes

ip a

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host proto kernel_lo 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 52:54:00:61:61:72 brd ff:ff:ff:ff:ff:ff
    inet 192.168.122.163/24 brd 192.168.122.255 scope global dynamic noprefixroute eth0
       valid_lft 3385sec preferred_lft 3385sec
    inet6 fe80::6702:1847:b353:47ad/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

i have noticed it did not show a virbr0 entry .

Offline

#7 Yesterday 18:01:18

klein
Member
Registered: 2024-08-24
Posts: 19  

Re: virt-manager qemu/kvm install excalibur

my default.xml

<network>
  <name>default</name>
  <uuid>b6620a18-350f-4993-b9db-fafa3e9b48a6</uuid>
  <forward mode="nat"/>
  <bridge name="virbr0" stp="on" delay="0"/>
  <mac address="52:54:00:02:27:5a"/>
  <ip address="192.168.122.1" netmask="255.255.255.0">
    <dhcp>
      <range start="192.168.122.2" end="192.168.122.254"/>
    </dhcp>
  </ip>
</network>

Offline

#8 Yesterday 18:56:26

Devarch
Member
Registered: 2022-10-03
Posts: 141  

Re: virt-manager qemu/kvm install excalibur

https://blog.programster.org/kvm-missin … lt-network

just start the network permanently with

virsh net-autostart default 

What does this

sudo usermod -a -G operator <user>

do?

check your /etc/libvirt/libvirtd.conf/etc/libvirt/libvirtd.conf

It’s worth to have there

unix_sock_group = "libvirt" 
unix_sock_rw_perms = "0770"

in

/etc/libvirt/qemu.conf

set

user = "user" 
group = "kvm"

Do not forget to add user to aall this groups: kvm,  libvirt, *qemu*

then rc-update add libvirtd
and
rc-service libvirtd start (if you are using openrc, if sysvinit or runit then find appropriate commands to enable service)

After reboot you'll have started networ "default", running libvirt and user wil be granted access to use virt-manager and virt-viewer (I find virt-viewer more comfortable to run VMs, then virt-manager which is more suitable for creating them).

Also note that uefi can be broken in virt-manager. last time I have to copy uefi bios from somwhere and I don't know if thhe situation have been changed since.

If  you are looking for alternatives you can try  https://github.com/quickemu-project/quickemu  and GUI for it https://github.com/quickemu-project/quickgui

The gui will download and install guest for you. You can also copy uefi bios from this install in the cse you need it for virt-manager and you can run all these guests in parallel (virt-manager/viewer and quickemu).

More of that you can use https://github.com/ivan-hc/VirtualBox-appimage - this is an appimage of virtualbox that use KVM as hypervisor, not Oracle's core component!  It can be run in parallel with qemu, aqemu, quickemu, virt-manager etc.

Have fun.

Last edited by Devarch (Yesterday 18:59:03)

Offline

#9 Yesterday 19:27:50

klein
Member
Registered: 2024-08-24
Posts: 19  

Re: virt-manager qemu/kvm install excalibur

ok so i tried boxes, and it works ! installing peppermintos just because it is small and i had it.
thank you Devarch yes i will you have opened up possibilities.
after peppermintos is done i will try what you said

Offline

#10 Yesterday 19:36:59

klein
Member
Registered: 2024-08-24
Posts: 19  

Re: virt-manager qemu/kvm install excalibur

i did not realize peppermintos was  Devuan.
ok so i have an arch Linux install on a 4core 8thread dell with v10.1 virt-manager qemu/kvm , so i started a vm of devuan_excalibur_6.1.0_amd64_desktop.iso then i went through what is on this page, then used boxes to boot peppermintos. and it all worked.

Last edited by klein (Yesterday 19:38:02)

Offline

#11 Yesterday 19:45:31

golinux
Administrator
Registered: 2016-11-25
Posts: 3,646  

Re: virt-manager qemu/kvm install excalibur

Congrats!

Online

#12 Yesterday 22:42:37

Devarch
Member
Registered: 2022-10-03
Posts: 141  

Re: virt-manager qemu/kvm install excalibur

It's funny, Oracle decided to move towards KVM https://github.com/VirtualBox/virtualbo … 3848644498

They could not do it before because of the lack of resources. Oracle .... But other people could smile

Vulnerability exploited over a network https://www.oracle.com/security-alerts/ … pendixOVIR
KVM is better.

Offline

#13 Today 00:10:34

klein
Member
Registered: 2024-08-24
Posts: 19  

Re: virt-manager qemu/kvm install excalibur

sometimes you need a mind not fixated on one way, someone that thinks out of the BOX.

Offline

Board footer