The officially official Devuan Forum!

You are not logged in.

#1 2017-11-01 05:43:30

makh
Member
Registered: 2017-10-08
Posts: 51  

[Solved] Virtualbox guest additions - not working (Ascii)

Hi

I have installed the guest cd components, but they are not working in ascii: like shared folder.

I am having devuan ascii installed inside virtualbox 5.1.30

also I get for:

cat /etc/debian_version
9.2
cat /etc/devuan_version
jessie

Thankyou

Last edited by makh (2017-11-03 14:05:31)


HP Probook 440 G2: Arch, Debian Stable
Others: Devuan, Centos, Ubuntu, Opensuse
GUI: Openbox, Xfce, Cinnamon
Chroot: Debian, Ubuntu, Fedora

Offline

#2 2017-11-03 03:18:14

fog
Member
Registered: 2017-10-09
Posts: 28  

Re: [Solved] Virtualbox guest additions - not working (Ascii)

makh wrote:

Hi

I have installed the guest cd components, but they are not working in ascii: like shared folder.

I am having devuan ascii installed inside virtualbox 5.1.30

also I get for:

cat /etc/debian_version
9.2
cat /etc/devuan_version
jessie

Thankyou

I have ASCII (VB 5.1.30) and CERES (VB 5.2.0) installed in virtual box. All components work including shared folders.
How are you creating shared folders?
I hope that you set shared folders while VM guest is turned off?
What is your VM host?

Offline

#3 2017-11-03 13:06:35

makh
Member
Registered: 2017-10-08
Posts: 51  

Re: [Solved] Virtualbox guest additions - not working (Ascii)

Hi

I actually cloned the jessie, then upgraded to ascii. Then installed the guest cd after the upgrade.

I dont see any issue except that the guest addons arent working...

My folder creation was same as for jessie, no difference.

My host OS is Arch.

Edit 1: I reinstalled the guest additions:

# sh VBoxLinuxAdditions.run 
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.1.30 Guest Additions for Linux...........
VirtualBox Guest Additions installer
Removing installed version 5.1.30 of VirtualBox Guest Additions...
vboxadd.sh: Stopping VirtualBox Additions.
Copying additional installer modules ...
Installing additional modules ...
vboxadd.sh: Starting the VirtualBox Guest Additions.
Failed to set up service vboxadd, please check the log file
/var/log/VBoxGuestAdditions.log for details.

# cat /var/log/VBoxGuestAdditions.log

vboxadd.sh: failed: modprobe vboxguest failed.

Edit: Installing the dkms and the kernel header solved the issue.

Thankyou

Last edited by makh (2017-11-03 14:05:08)


HP Probook 440 G2: Arch, Debian Stable
Others: Devuan, Centos, Ubuntu, Opensuse
GUI: Openbox, Xfce, Cinnamon
Chroot: Debian, Ubuntu, Fedora

Offline

#4 2017-11-03 18:57:12

fog
Member
Registered: 2017-10-09
Posts: 28  

Re: [Solved] Virtualbox guest additions - not working (Ascii)

makh wrote:

Hi

I actually cloned the jessie, then upgraded to ascii. Then installed the guest cd after the upgrade.

I dont see any issue except that the guest addons arent working...

My folder creation was same as for jessie, no difference.

My host OS is Arch.

Edit 1: I reinstalled the guest additions:

# sh VBoxLinuxAdditions.run 
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.1.30 Guest Additions for Linux...........
VirtualBox Guest Additions installer
Removing installed version 5.1.30 of VirtualBox Guest Additions...
vboxadd.sh: Stopping VirtualBox Additions.
Copying additional installer modules ...
Installing additional modules ...
vboxadd.sh: Starting the VirtualBox Guest Additions.
Failed to set up service vboxadd, please check the log file
/var/log/VBoxGuestAdditions.log for details.

# cat /var/log/VBoxGuestAdditions.log

vboxadd.sh: failed: modprobe vboxguest failed.

Edit: Installing the dkms and the kernel header solved the issue.

Thankyou

your screenshot indicates that you have installed VB from Oracle. You can also try Devuan's version of VB with all needed components. This way you may avoid problems related to the future upgrades.

Offline

#5 2017-11-04 02:24:18

makh
Member
Registered: 2017-10-08
Posts: 51  

Re: [Solved] Virtualbox guest additions - not working (Ascii)

Hi @fog

cat /etc/apt/sources.list

## package repositories

# Compatible Debian 9:
#
deb http://auto.mirror.devuan.org/merged ascii main contrib non-free
deb http://auto.mirror.devuan.org/merged ascii-updates main contrib non-free
deb http://auto.mirror.devuan.org/merged ascii-security main contrib non-free

# Devuan repositories
deb http://packages.devuan.org/merged ascii main non-free contrib
#deb-src http://packages.devuan.org/merged ascii main non-free contrib

apt search virtualbox
shows no package for virtual box

also see:
http://devuanpackages.viralds.it/search … virtualbox
No ascii package.

Thankyou


HP Probook 440 G2: Arch, Debian Stable
Others: Devuan, Centos, Ubuntu, Opensuse
GUI: Openbox, Xfce, Cinnamon
Chroot: Debian, Ubuntu, Fedora

Offline

#6 2017-11-04 03:05:19

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

Re: [Solved] Virtualbox guest additions - not working (Ascii)

Try ascii backports.  It is in Debian stretch backports so should be in ascii's.

Offline

#7 2017-11-04 05:03:50

fog
Member
Registered: 2017-10-09
Posts: 28  

Re: [Solved] Virtualbox guest additions - not working (Ascii)

golinux wrote:

Try ascii backports.  It is in Debian stretch backports so should be in ascii's.

yes:

apt search virtualbox
Sorting... Done
Full Text Search... Done
virtualbox/ascii-backports,now 5.1.30-dfsg-1~bpo9+1 amd64 [installed]
  x86 virtualization solution - base binaries

virtualbox-dkms/ascii-backports,now 5.1.30-dfsg-1~bpo9+1 all [installed,automatic]
  x86 virtualization solution - kernel module sources for dkms

virtualbox-guest-dkms/ascii-backports,now 5.1.30-dfsg-1~bpo9+1 all [installed]
  x86 virtualization solution - guest addition module source for dkms

virtualbox-guest-source/ascii-backports 5.1.30-dfsg-1~bpo9+1 all
  x86 virtualization solution - guest addition module source

virtualbox-guest-utils/ascii-backports,now 5.1.30-dfsg-1~bpo9+1 amd64 [installed,automatic]
  x86 virtualization solution - non-X11 guest utilities

virtualbox-guest-x11/ascii-backports,now 5.1.30-dfsg-1~bpo9+1 amd64 [installed]
  x86 virtualization solution - X11 guest utilities

virtualbox-qt/ascii-backports,now 5.1.30-dfsg-1~bpo9+1 amd64 [installed,automatic]
  x86 virtualization solution - Qt based user interface

virtualbox-source/ascii-backports 5.1.30-dfsg-1~bpo9+1 all
  x86 virtualization solution - kernel module source

hope this will help

Offline

#8 2017-11-04 07:42:57

makh
Member
Registered: 2017-10-08
Posts: 51  

Re: [Solved] Virtualbox guest additions - not working (Ascii)

Hello

But the version is not compatible to virtualbox 5.2. Any ways ...

Thankyou all for your kind help.


HP Probook 440 G2: Arch, Debian Stable
Others: Devuan, Centos, Ubuntu, Opensuse
GUI: Openbox, Xfce, Cinnamon
Chroot: Debian, Ubuntu, Fedora

Offline

#9 2017-11-04 15:34:45

fog
Member
Registered: 2017-10-09
Posts: 28  

Re: [Solved] Virtualbox guest additions - not working (Ascii)

makh wrote:

Hello

But the version is not compatible to virtualbox 5.2. Any ways ...

Thankyou all for your kind help.

Well ASCII comes with the VB version that you installed (see above) that is 5.1.30.
If you want to try VB 5.2 then get it from Oracle. While VB depends on kernel in terms of compatibility, I would think that VB 5.2 is compatible with kernel 4.9 that comes with ASCII.

If 5.2 is not compatible with linux 4.9 either build your own kernel and problem solved

.. or upgrade ASCII to CERES:

apt search virtualbox
Sorting... Done
Full Text Search... Done
boinc-virtualbox/unstable 7.8.3+dfsg-2 amd64
  metapackage for virtualbox-savvy projects

virtualbox/unstable,now 5.2.0-dfsg-2 amd64 [installed]
  x86 virtualization solution - base binaries

virtualbox-dkms/unstable,now 5.2.0-dfsg-2 all [installed,automatic]
  x86 virtualization solution - kernel module sources for dkms

virtualbox-ext-pack/unstable 5.2.0-2 all
  extra capabilities for VirtualBox, downloader.

virtualbox-guest-additions-iso/unstable 5.2.1-118452-1 all
  guest additions iso image for VirtualBox

virtualbox-guest-dkms/unstable,now 5.2.0-dfsg-2 all [installed]
  x86 virtualization solution - guest addition module source for dkms

virtualbox-guest-source/unstable 5.2.0-dfsg-2 all
  x86 virtualization solution - guest addition module source

virtualbox-guest-utils/unstable,now 5.2.0-dfsg-2 amd64 [installed,automatic]
  x86 virtualization solution - non-X11 guest utilities

virtualbox-guest-x11/unstable,now 5.2.0-dfsg-2 amd64 [installed]
  x86 virtualization solution - X11 guest utilities

virtualbox-qt/unstable,now 5.2.0-dfsg-2 amd64 [installed,automatic]
  x86 virtualization solution - Qt based user interface

virtualbox-source/unstable 5.2.0-dfsg-2 all
  x86 virtualization solution - kernel module source

I am running both ASCII and CERES in VM and both are really stable. I have installed latest custom 4.13.11 kernels in both ASCII and CERES though.
Another option would be to temporary enable CERES sources in ASCII to install Devuan's VB 5.2 again with possible kernel upgrade.

Last edited by fog (2017-11-04 15:39:01)

Offline

#10 2017-11-04 17:38:58

makh
Member
Registered: 2017-10-08
Posts: 51  

Re: [Solved] Virtualbox guest additions - not working (Ascii)

Thanks


HP Probook 440 G2: Arch, Debian Stable
Others: Devuan, Centos, Ubuntu, Opensuse
GUI: Openbox, Xfce, Cinnamon
Chroot: Debian, Ubuntu, Fedora

Offline

Board footer