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

Discussions related to using VirtualBox on Linux hosts.
supercell
Posts: 10
Joined: 24. Mar 2009, 16:57
Primary OS: Ubuntu 8.10
VBox Version: OSE Debian
Guest OSses: Windows XP Pro

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

Post 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....
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

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

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
supercell
Posts: 10
Joined: 24. Mar 2009, 16:57
Primary OS: Ubuntu 8.10
VBox Version: OSE Debian
Guest OSses: Windows XP Pro

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

Post by supercell »

During the install of VB will it inform me of which dependencies need to be installed?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

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

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
supercell
Posts: 10
Joined: 24. Mar 2009, 16:57
Primary OS: Ubuntu 8.10
VBox Version: OSE Debian
Guest OSses: Windows XP Pro

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

Post 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.
supercell
Posts: 10
Joined: 24. Mar 2009, 16:57
Primary OS: Ubuntu 8.10
VBox Version: OSE Debian
Guest OSses: Windows XP Pro

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

Post 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
supercell
Posts: 10
Joined: 24. Mar 2009, 16:57
Primary OS: Ubuntu 8.10
VBox Version: OSE Debian
Guest OSses: Windows XP Pro

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

Post 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
supercell
Posts: 10
Joined: 24. Mar 2009, 16:57
Primary OS: Ubuntu 8.10
VBox Version: OSE Debian
Guest OSses: Windows XP Pro

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

Post 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
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

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

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
supercell
Posts: 10
Joined: 24. Mar 2009, 16:57
Primary OS: Ubuntu 8.10
VBox Version: OSE Debian
Guest OSses: Windows XP Pro

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

Post 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.
supercell
Posts: 10
Joined: 24. Mar 2009, 16:57
Primary OS: Ubuntu 8.10
VBox Version: OSE Debian
Guest OSses: Windows XP Pro

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

Post 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#
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

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

Post by Sasquatch »

Why do you have nvidia-common installed? That isn't needed.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
PARC
Posts: 1
Joined: 25. Mar 2009, 22:50
Primary OS: Ubuntu 8.10
VBox Version: OSE self-compiled
Guest OSses: Windows 7, Vista, CentOS, Gentoo, Server 2008
Contact:

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

Post by PARC »

Supercell,

Did you download and install the most recent kernel-devel package, or ncurses package?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

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

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
supercell
Posts: 10
Joined: 24. Mar 2009, 16:57
Primary OS: Ubuntu 8.10
VBox Version: OSE Debian
Guest OSses: Windows XP Pro

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

Post 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! :(
Post Reply