Page 1 of 2

Will Vbox 2.1.4 work on Ubuntu 8.10 server (Intrepid Ibex)?

Posted: 24. Mar 2009, 19:09
by supercell
Virtual Box does not specify Desktop, or Server. Will it work on either? Will it work on the latest kernel (2.6.27-11-server)?

Thank you in advance....

Re: Will Vbox 2.1.4 work on Ubuntu 8.10 server (Intrepid Ibex)?

Posted: 24. Mar 2009, 19:12
by Sasquatch
It will work, but there are some X dependencies that need to be installed. After VB is installed, you can remove the dependencies if you like. Be careful that it doesn't remove VB with it.

Re: Will Vbox 2.1.4 work on Ubuntu 8.10 server (Intrepid Ibex)?

Posted: 24. Mar 2009, 19:14
by supercell
During the install of VB will it inform me of which dependencies need to be installed?

Re: Will Vbox 2.1.4 work on Ubuntu 8.10 server (Intrepid Ibex)?

Posted: 24. Mar 2009, 19:23
by Sasquatch
Yes, it should do that. If you install it using dpkg instead of apt-get (if you added the Sun VB repo) or gdebi, then those dependencies will not be installed until you run apt-get install -f. Be sure that you are able to create kernel modules. VB will still be able to run without the X dependencies. You have to configure everything from the CLI so keep that in mind.

Re: Will Vbox 2.1.4 work on Ubuntu 8.10 server (Intrepid Ibex)?

Posted: 24. Mar 2009, 19:42
by supercell
Having issues trying to install. Any ideas?

#/etc/init.d/vboxdrv setup

Attempting to install using DKMS
removing old DKMS module vboxdrv version 2.1.4
-------- Uninstall Beginning --------
Module: vboxdrv
Version: 2.1.4
Kernel: 2.6.27-11-generic (i686)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

vboxdrv.ko:
- Uninstallation
- Deleting from: /lib/modules/2.6.27-11-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.

depmod....

DKMS: uninstall Completed.

------------------------------
Deleting module version: 2.1.4
completely from the DKMS tree.
------------------------------
Done.

Creating symlink /var/lib/dkms/vboxdrv/2.1.4/source ->
/usr/src/vboxdrv-2.1.4

DKMS: add Completed.

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=2.6.27-11-server -C /lib/modules/2.6.27-11-server/build M=/var/lib/dkms/vboxdrv/2.1.4/build.....(bad exit status: 2)

Error! Bad return status for module build on kernel: 2.6.27-11-server (i686)
Consult the make.log in the build directory
/var/lib/dkms/vboxdrv/2.1.4/build/ for more information.
0
0
Failed to install using DKMS, attempting to install without
Makefile:154: *** Error: /usr/src/linux (version 2.6.27.10) does not match the current kernel (version 2.6.27-11-server). Stop.


-------- Uninstall Beginning --------
Module: vboxdrv
Version: 2.1.4
Kernel: 2.6.27-11-generic (i686)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

vboxdrv.ko:
- Uninstallation
- Deleting from: /lib/modules/2.6.27-11-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.

depmod....

DKMS: uninstall Completed.

------------------------------
Deleting module version: 2.1.4
completely from the DKMS tree.
------------------------------
Done.

Creating symlink /var/lib/dkms/vboxdrv/2.1.4/source ->
/usr/src/vboxdrv-2.1.4

DKMS: add Completed.

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=2.6.27-11-server -C /lib/modules/2.6.27-11-server/build M=/var/lib/dkms/vboxdrv/2.1.4/build.....(bad exit status: 2)

Error! Bad return status for module build on kernel: 2.6.27-11-server (i686)
Consult the make.log in the build directory
/var/lib/dkms/vboxdrv/2.1.4/build/ for more information.
0
0
Failed to install using DKMS, attempting to install without
Makefile:154: *** Error: /usr/src/linux (version 2.6.27.10) does not match the current kernel (version 2.6.27-11-server). Stop.

Re: Will Vbox 2.1.4 work on Ubuntu 8.10 server (Intrepid Ibex)?

Posted: 24. Mar 2009, 19:45
by supercell
Kernel is current:

#/usr/src# uname -a
Linux ubuntuvmtestsvr 2.6.27-11-server #1 SMP Thu Jan 29 20:19:41 UTC 2009 i686 GNU/Linux

Re: Will Vbox 2.1.4 work on Ubuntu 8.10 server (Intrepid Ibex)?

Posted: 24. Mar 2009, 19:50
by supercell
More information:

/usr/src# ls
linux-headers-2.6.27-11 linux-headers-2.6.27-11-generic linux-source-2.6.27 linux-source-2.6.27.tar.bz2 vboxdrv-2.1.4 vboxnetflt-2.1.4

Re: Will Vbox 2.1.4 work on Ubuntu 8.10 server (Intrepid Ibex)?

Posted: 24. Mar 2009, 19:54
by supercell
/lib/modules# ls
2.6.27-11-generic 2.6.27-11-server 2.6.27-7-server 2.6.27-9-generic 2.6.27-9-server

Re: Will Vbox 2.1.4 work on Ubuntu 8.10 server (Intrepid Ibex)?

Posted: 24. Mar 2009, 21:15
by Sasquatch
Did you install the kernel headers for your running kernel? You also want to install build-essential if you haven't done that yet. Your error is in the VirtualBox FAQ and manual. The solution at least.

Re: Will Vbox 2.1.4 work on Ubuntu 8.10 server (Intrepid Ibex)?

Posted: 24. Mar 2009, 21:55
by supercell
I installed linux-source-2.6.27. Did not install build-essential (will do that now). Trying to find my error in the two locations you submitted... no luck finding them yet.

Re: Will Vbox 2.1.4 work on Ubuntu 8.10 server (Intrepid Ibex)?

Posted: 24. Mar 2009, 22:31
by supercell
Installed build-essential successfully.

When installing kernel headers I received the following:

root@ubuntuvmtestsvr:/home# apt-get install linux-headers-2.6.27-11-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libscrollkeeper0
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
linux-headers-2.6.27-11-server
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 633kB of archives.
After this operation, 8004kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com intrepid-updates/main linux-headers-2.6.27-11-server 2.6.27-11.27 [633kB]
Fetched 633kB in 4s (149kB/s)
Selecting previously deselected package linux-headers-2.6.27-11-server.
(Reading database ... 105166 files and directories currently installed.)
Unpacking linux-headers-2.6.27-11-server (from .../linux-headers-2.6.27-11-server_2.6.27-11.27_i386.deb) ...
Setting up linux-headers-2.6.27-11-server (2.6.27-11.27) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms
* Running DKMS auto installation service for kernel 2.6.27-11-server

* vboxdrv (2.1.4)...
vboxdrv (2.1.4): Installing module.
.......(bad exit status: 10)
Build failed. Installation skipped.
...fail!
run-parts: executing /etc/kernel/header_postinst.d/nvidia-common

root@ubuntuvmtestsvr:/home#

Re: Will Vbox 2.1.4 work on Ubuntu 8.10 server (Intrepid Ibex)?

Posted: 25. Mar 2009, 12:35
by Sasquatch
Why do you have nvidia-common installed? That isn't needed.

Re: Will Vbox 2.1.4 work on Ubuntu 8.10 server (Intrepid Ibex)?

Posted: 25. Mar 2009, 23:22
by PARC
Supercell,

Did you download and install the most recent kernel-devel package, or ncurses package?

Re: Will Vbox 2.1.4 work on Ubuntu 8.10 server (Intrepid Ibex)?

Posted: 26. Mar 2009, 00:33
by Sasquatch
PARC, the kernel-source isn't needed. Kernel-devel doesn't exist on Ubuntu, it's a Fedora package name. ncurses isn't needed, VB runs on a clean install of Ubuntu. He only needs kernel-headers and build-essential to be installed.

Supercell, why do you also have a generic kernel? If you boot the generic kernel, the header files from server won't work. And to make upgrading easier, install linux-headers-server instead.

Re: Will Vbox 2.1.4 work on Ubuntu 8.10 server (Intrepid Ibex)?

Posted: 26. Mar 2009, 23:19
by supercell
Yes, reinstalled Ubuntu 8.10 server and this time apt-get installed kernel-headers, virtualbox-2.1 (not from .deb install). dkms found the correct kernel source and it looks now as though all it going well. I am installing the ubuntu-desktop now to utilize the gui version of VB. This kernel is not the latest. I am wondering if dkms will do the job when the kernel is updated. If not, I will install the latest kernel-headers and hope for the best! I will keep you updated.

Nothing worse that reading though all the Re:'s only to find that the solution was never posted! :(