Tuesday, November 29, 2022

Install VirtualBox 7 on Fedora 37 Server via rpmfusion repository

To make system ready for VitualBox 7 setup via rpmfusion repos,

install the Linux kernel "header" files matching the current kernel for adding new hardware support to the system.  The distribution package containing the headers is probably: kernel-devel-6.0.9-300.fc37.x86_64.  Kernel packages installation has been done as follows.

[boris@Server37fedora ~]$ rpm -qa | grep kernel | grep 6.0.9






Setup rpmfusion :-

$ sudo dnf install   \ 

https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm 

$ sudo dnf    \     

install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

$ sudo dnf install VirtualBox kernel-devel-$(uname -r) akmod-VirtualBox

$ sudo akmods

$ sudo systemctl restart vboxdrv 

$ lsmod  | grep -i vbox

[boris@Server37fedora ~]$ lsmod  | grep -i vbox

vboxnetadp             28672  0

vboxnetflt             32768  0

vboxdrv               577536  2 vboxnetadp,vboxnetflt

Download  VBoxGuestAdditions_7.0.4.iso  link https://w0.dk/~chlor/vboxguestadditions/

After Guest setup shutdown guest and mount VBoxGuestAdditions_7.0.4.iso  via GUI of VitualBox 7 

Reboot guest and 

$ sudo mount /dev/sr0 /media

inside Vbox's VM

No comments:

Post a Comment