April 4, 2017

Fedora 25 -- Virtual Box

Virtual Box is an Oracle product. You can download a Fedora linux RPM - I chose the "AMD64" flavor (even though I have a 64 bit Intel system).
dnf install VirtualBox-5.1-5.1.18_114002_fedora25-1.x86_64.rpm

I ran into problems that I solved by rebooting to the latest kernel, then:

dnf install kernel-devel
Note: not "kernel-core-devel" as they suggest. Then:
/sbin/vboxconfig
This builds kernel modules and looks good. We see:
[tom@trona ~]$ ls -l /bin/*irtu*
lrwxrwxrwx 1 root root 4 Mar 15 09:11 /bin/virtualbox -> VBox
lrwxrwxrwx 1 root root 4 Mar 15 09:11 /bin/VirtualBox -> VBox
[tom@trona ~]$ ls -l /bin/VBox
-rwxr-xr-x 1 root root 4589 Aug 22  2016 /bin/VBox
[tom@trona ~]$ file /bin/VBox
/bin/VBox: POSIX shell script, ASCII text executable
So we can start the thing from the command line by typing "virtualbox". (Just typing "VBox" gets some strange error). It shows no virtual machines, but I can use Machine --> Add to add one of my old virtual machines.

Starting it gets into trouble looking for "vboxnet0 (adapter 2)". I edit the network settings, disable adapter 2, and select NAT for adapter 1, and it seems happy with that. And most importantly, once the virtual OS boots up, it can ping machines on the local network just fine.

My usual passwords for myself and root work. sync and halt to shut down.


Have any comments? Questions? Drop me a line!

Adventures in Computing / tom@mmto.org