You are not logged in.

#1 2020-01-11 10:15:29

unnilquadium
Member
Registered: 2017-08-27
Posts: 86

[SOLVED]Installing an old version of VirtualBox

I need to install an old version of virtualbox, since starting with version 6.1.0 virtualbox requires a processor with vt-x, which mine does not have.

I've tried downgrading but I get an error with the vboxdrv that says the driver in the kernel doesn't match the downgraded version of virtualbox.

I've also tried installing dkms and install virtualbox with virtualbox-host-dkms, but I get the same error.

Is there a way to get an older version working, with an older driver or any other way? How can I do that?

Thank you!

Last edited by unnilquadium (2020-01-12 18:53:32)

Offline

#2 2020-01-11 14:14:34

pacorrop
Member
Registered: 2010-02-05
Posts: 14

Re: [SOLVED]Installing an old version of VirtualBox

Forgive my skepticism, but I don't believe you can't downgrade virtualbox and virtualbox-host-dkms.

1 Uninstall anything virtualbox related. Ensure there's no vboxdrv file in the file system then.

2 Go to https://archive.archlinux.org/packages/v/virtualbox/ and to https://archive.archlinux.org/packages/ … -host-dkms and download any older version you want. If you use dkms you may need to install also the package dkms.

3 Use pacman -U to install the downloaded files

If you don't succeed, post the exact commands you use so we can help you.

Last edited by pacorrop (2020-01-11 14:15:15)

Offline

#3 2020-01-11 22:50:40

unnilquadium
Member
Registered: 2017-08-27
Posts: 86

Re: [SOLVED]Installing an old version of VirtualBox

pacorrop wrote:

Forgive my skepticism, but I don't believe you can't downgrade virtualbox and virtualbox-host-dkms.

1 Uninstall anything virtualbox related. Ensure there's no vboxdrv file in the file system then.

2 Go to https://archive.archlinux.org/packages/v/virtualbox/ and to https://archive.archlinux.org/packages/ … -host-dkms and download any older version you want. If you use dkms you may need to install also the package dkms.

3 Use pacman -U to install the downloaded files

If you don't succeed, post the exact commands you use so we can help you.

I downloaded the virtualbox and virtualbox-host-modules-arch, both version 6.0.6

After completly removing virtualbox 6.1.0 I installed the downloaded packages with pacman -U and rebooted, as suggested by the wiki;

After that I tried to load the driver as instructed by the wiki with

# modprobe vboxdrv

At this point I got the error saying the vboxdrv doesn't match the version of virtualbox and no virtual machine starts.

I also tried everything with dkms and virtualbox-host-dkms. The result is the same.

Is there any way to get that vboxdrv to work with an older version of virtualbox. Perhaps using a driver not in the kernel?

Offline

#4 2020-01-11 23:16:03

loqs
Member
Registered: 2014-03-06
Posts: 18,045

Re: [SOLVED]Installing an old version of VirtualBox

Please post the output of the following

# modprobe vboxdrv
dmesg
pacman -Qs virtualbox

To confirm my understanding you wish to run virtualbox on a bare metal arch install as a virtual machine host?

Offline

#5 2020-01-12 18:53:08

unnilquadium
Member
Registered: 2017-08-27
Posts: 86

Re: [SOLVED]Installing an old version of VirtualBox

I managed to get it working again using the linux-lts kernel, so I'm marking it as solved.

Thank you!

Offline

Board footer

Powered by FluxBB