Results 1 to 10 of 10

Thread: updated virtualbox-ose to binary version - install failing

  1. #1

    Default updated virtualbox-ose to binary version - install failing

    I am running opensuse 11.1 and i had the ose version of virtual box installed and working just fine. I decide i wanted to have usb access. I download the current version of the binarys, removed ose version as instructed.

    ran the rpm install of file:
    VirtualBox-2.2.0_45846_openSUSE111-1.i586.rpm

    during the install i get the following errors. if anyone has any ideas, please pass any information along.

    Thanks,

    Log and output from rpm installation.

    Linux1:/home/bkelly/Documents/My Documents/Downloads/VirtualBox # cat /var/log/vbox-install.log
    Makefile:167: *** Error: unable to find the include directory for your current Linux kernel. Specify KERN_INCL=<directory> and run Make again. Stop.
    Linux1:/home/bkelly/Documents/My Documents/Downloads/VirtualBox # rpm -ivh VirtualBox-2.2.0_45846_openSUSE111-1.i586.rpm
    Preparing... ########################################### [100%]
    package VirtualBox-2.2.0_45846_openSUSE111-1.i586 is already installed
    Linux1:/home/bkelly/Documents/My Documents/Downloads/VirtualBox # rpm -ivh VirtualBox-2.2.0_45846_openSUSE111-1.i586.rpm
    Preparing... ########################################### [100%]
    1:VirtualBox ########################################### [100%]

    Creating group 'vboxusers'. VM users must be member of that group!

    No precompiled module for this kernel found -- trying to build one. Messages
    emitted during module compilation will be logged to /var/log/vbox-install.log.

    Compilation of the kernel module FAILED! VirtualBox will not start until this
    problem is fixed. Please consult /var/log/vbox-install.log to find out why the
    kernel module does not compile. Most probably the kernel sources are not found.
    Install them and execute

    /etc/init.d/vboxdrv setup

    as root.

    Linux1:/home/bkelly/Documents/My Documents/Downloads/VirtualBox #

    # cat /var/log/vbox-install.log
    ** Compiling vboxdrv
    Makefile:167: *** Error: unable to find the include directory for your current Linux kernel. Specify KERN_INCL=<directory> and run Make again. Stop.

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: updated virtualbox-ose to binary version - install faili

    You need to install the kernel-source package so that virtualbox can compile a driver for the kernel.

  3. #3
    Join Date
    Jun 2008
    Location
    UK
    Posts
    5,500

    Default Re: updated virtualbox-ose to binary version - install faili

    When you uninstalled OSE, you may have uninstalled some prereqs or they are missing anyway. Suggest you read this wiki page, for a list of dependent packages go to the section "Installation from VirtualBox home page (OSE and non-OSE)". Make sure to install any missing packages.

    Re-run /etc/init.d/VirtualBox setup

    If that doesn't do it, re-install the VirtualBox rpm, and repeat the setup.

    Before you run VirtualBox, if you have a hidden file in your home directory ~/.VirtualBox I suggest you delete it. Also delete any hidden file in /tmp that has vbox in its name.

    If you have any problems getting USB to work, search the forum here on "virtualbox" and you will see various solutions. If you cannot decide which is appropriate, post back here and tell us what you tried.

  4. #4
    Join Date
    Jun 2008
    Location
    UK
    Posts
    5,500

    Default Re: updated virtualbox-ose to binary version - install faili

    Quote Originally Posted by consused View Post
    ...Before you run VirtualBox, if you have a hidden file in your home directory ~/.VirtualBox I suggest you delete it.
    Oops sorry, but DON'T delete that directory if it contains your .vdi disk files of your guest operating systems. If so, I suggest you move those files to another directory (you can set one up) in your home directory.

    Don't forget to update VirtualBox>File>Preference>Hard Disk Folder with the new directory. It's easier to manage them there and you can then delete ~/.VirtualBox to clean out any old stuff from previous versions. You will have to setup your virtual machine definitions again, but that is easily done with VirtualBox.

    Hope you saw this in time.

  5. #5

    Default Re: updated virtualbox-ose to binary version - install faili

    I followed the steps supplied and i was able to install the package with no issues. I am now running the binary verison VirtualBox-2.2.0_45846_openSUSE111-1.i586.rpm.

    no worries with the delete of the .vdi file. I was thinking about saving it but i decided to recreate it in the end.

    I am now building the new guest system, and I will see what happens with the usb devices.

    Thanks for the help. If i have issues with the usb part i may reach out again.

  6. #6
    Join Date
    Jun 2008
    Location
    UK
    Posts
    5,500

    Default Re: updated virtualbox-ose to binary version - install faili

    Good news, well done, and thanks for feedback. USB should now work "out of the box". It does for me, but not for everyone. So, good luck...

  7. #7

    Default Re: updated virtualbox-ose to binary version - install faili

    i have another question maybe you can answer; with all the messing around i did with reinstalling the ose and that, now when i boot the grub menu at the boot time has a default, debug, and pae version opensuse 11.1... I am guessing i have multiple version of the kernal installed.

    will this cause me issues down the road and how would i clean this up or should i leave it along?

    Thanks

    Bkelly

  8. #8
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: updated virtualbox-ose to binary version - install faili

    Leave it alone. If you have > 2GB of memory you might want to try the PAE kernel, but if you have all your RAM (or almost all) visible, leave well enough alone.

  9. #9
    Join Date
    Jun 2008
    Location
    UK
    Posts
    5,500

    Default Re: updated virtualbox-ose to binary version - install faili

    Follow advice from @ken_yap on that, he has great experience. To reassure you, even though I have <2GB, openSUSE installed pae kernel by default, I use that and subsequently installed "default" kernel to try. I have both and no problems so far.

  10. #10

    Default Re: updated virtualbox-ose to binary version - install faili

    Yep, I agree. I am planning to leave alone. I see no affects on the running of the o/s.

    If is not broke do not try to fix it.

    Thanks

    Bkelly

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •