Announcement

Collapse
No announcement yet.

Hi, issue using virtualbox

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Hi, issue using virtualbox

    I am running Kubuntu 14.04 lts and downloaded n installed virtualbox from here: https://www.virtualbox.org/wiki/Linux_Downloads, but I can't make it work. I get the error:
    The virtual machine 'Linux Tails' has terminated unexpectedly during startup with exit code 1 (0x1).

    Result Code: NS_ERROR_FAILURE (0x80004005)
    Component: MachineWrap
    Interface: IMachine {f30138d4-e5ea-4b3a-8858-a059de4c93fd}
    and:
    Kernel driver not installed (rc=-1908)

    The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing

    '/etc/init.d/vboxdrv setup'

    as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.



    hades@hades-desktop:~$ sudo apt-get install linux-headers-generic build-essential dkms
    [sudo] password for hades:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    build-essential is already the newest version.
    dkms is already the newest version.
    linux-headers-generic is already the newest version.
    The following packages were automatically installed and are no longer required:
    linux-image-3.13.0-32-generic linux-image-3.13.0-57-generic
    linux-image-3.13.0-59-generic linux-image-extra-3.13.0-32-generic
    linux-image-extra-3.13.0-57-generic linux-image-extra-3.13.0-59-generic
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    I have VB running on 2 other laptops with Kubuntu so I know it will run.
    Can someone help?
    Clay

    #2
    Tried uninstalling and get this:
    hades@hades-desktop:~$ sudo apt-get remove virtualbox
    [sudo] password for hades:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package 'virtualbox' is not installed, so not removed
    The following packages were automatically installed and are no longer required:
    linux-image-3.13.0-32-generic linux-image-3.13.0-57-generic
    linux-image-3.13.0-59-generic linux-image-extra-3.13.0-32-generic
    linux-image-extra-3.13.0-57-generic linux-image-extra-3.13.0-59-generic
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    But I did install it. I even followed the instructions at the Oracle website, no help.

    And how do I do this from the oracle site:
    "Add the following line to your /etc/apt/sources.list:
    deb http://download.virtualbox.org/virtualbox/debian trusty contrib"
    Last edited by Clayman1000x; Aug 30, 2015, 12:14 PM.

    Comment


      #3
      Oh, and how do I turn the search function back on in Muon Discover app.

      Comment


        #4
        Originally posted by Clayman1000x View Post
        ...

        And how do I do this from the oracle site:
        "Add the following line to your /etc/apt/sources.list:
        deb http://download.virtualbox.org/virtualbox/debian trusty contrib"
        Open the terminal Konsole and change directories to /etc/apt.
        Code:
        $ cd /etc/apt
        Open kate as root. You will be prompted for your password.
        Code:
        $ kdesudo kate
        From Kate:
        File --> Open
        You will see sources.list. Select it to open it.
        Add deb http://download.virtualbox.org/virtualbox/debian trusty contrib to the bottom of your sources.list. Click save and close Kate.

        Add the Oracle public key and register.
        Code:
        $ wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
        Install VirtualBox.
        sudo apt-get update followed with sudo apt-get install virtualbox-4.3
        Last edited by life0riley; Aug 30, 2015, 05:18 PM.
        sigpic

        Comment


          #5
          Reading package lists... Done
          N: Ignoring file 'deb http:⁄⁄download.virtualbox.org⁄virtualbox⁄debian trusty contrib' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension

          and

          hades@hades-desktop:~$ sudo apt-get install virtualbox-4.3
          Reading package lists... Done
          Building dependency tree
          Reading state information... Done
          N: Ignoring file 'deb http:⁄⁄download.virtualbox.org⁄virtualbox⁄debian trusty contrib' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
          N: Ignoring file 'deb http:⁄⁄download.virtualbox.org⁄virtualbox⁄debian trusty contrib' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
          E: Unable to locate package virtualbox-4.3
          E: Couldn't find any package by regex 'virtualbox-4.3'



          I guess something with the sources list is off

          Comment


            #6
            Reading package lists... Done
            hades@hades-desktop:~$ sudo apt-get install virtualbox-4.3
            Reading package lists... Done
            Building dependency tree
            Reading state information... Done
            E: Unable to locate package virtualbox-4.3
            E: Couldn't find any package by regex 'virtualbox-4.3'

            According to my program list, VB 5.0.2 r102096 is installed, just doesn't work.
            Last edited by Clayman1000x; Aug 30, 2015, 07:44 PM.

            Comment


              #7
              Please post the output of the following.
              Code:
              $ cat /etc/apt/sources.list
              Last edited by life0riley; Aug 30, 2015, 07:56 PM.
              sigpic

              Comment


                #8
                Originally posted by Clayman1000x View Post
                Reading package lists... Done
                hades@hades-desktop:~$ sudo apt-get install virtualbox-4.3
                Reading package lists... Done
                Building dependency tree
                Reading state information... Done
                E: Unable to locate package virtualbox-4.3
                E: Couldn't find any package by regex 'virtualbox-4.3'

                According to my program list, VB 5.0.2 r102096 is installed, just doesn't work.
                Sorry. I should have asked you what build of VirtualBox you installed. It looks like you installed virtualbox-5.0.

                Please post the output of the following in addition to the output of cat etc/apt/sources.list. Highlight the output and click the # in the tool bar to wrap [CODE] tags around the selected text. It makes it easier to read.
                Code:
                dpkg -s virtualbox-5.0
                Last edited by life0riley; Aug 30, 2015, 08:36 PM.
                sigpic

                Comment


                  #9
                  Originally posted by Clayman1000x View Post
                  I am running Kubuntu 14.04 lts and downloaded n installed virtualbox from here: https://www.virtualbox.org/wiki/Linux_Downloads, but I can't make it work. I get the error:
                  The virtual machine 'Linux Tails' has terminated unexpectedly during startup with exit code 1 (0x1).

                  Result Code: NS_ERROR_FAILURE (0x80004005)
                  Component: MachineWrap
                  Interface: IMachine {f30138d4-e5ea-4b3a-8858-a059de4c93fd}
                  and:
                  Kernel driver not installed (rc=-1908)

                  The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing

                  '/etc/init.d/vboxdrv setup'

                  as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.

                  ...
                  I should have looked at your first post closer. Do you have dkms installed?
                  Code:
                  $ sudo apt-get install dkms
                  You install this first before installing VirtualBox.
                  sigpic

                  Comment


                    #10
                    OK, here goes:
                    Code:
                    hades@hades-desktop:~$ cat /etc/apt/sources.list
                    #deb cdrom:[Kubuntu 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.2)]/ trusty main multiverse restricted universe
                    
                    
                    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
                    # newer versions of the distribution.
                    deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
                    deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
                    
                    
                    ## Major bug fix updates produced after the final release of the
                    ## distribution.
                    deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
                    deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
                    
                    
                    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
                    ## team. Also, please note that software in universe WILL NOT receive any
                    ## review or updates from the Ubuntu security team.
                    deb http://us.archive.ubuntu.com/ubuntu/ trusty universe
                    deb-src http://us.archive.ubuntu.com/ubuntu/ trusty universe
                    deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
                    deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
                    
                    
                    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
                    ## team, and may not be under a free licence. Please satisfy yourself as to 
                    ## your rights to use the software. Also, please note that software in 
                    ## multiverse WILL NOT receive any review or updates from the Ubuntu
                    ## security team.
                    deb http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
                    deb-src http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
                    deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse                                                                
                    deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse                                                            
                                                                                     
                    ## N.B. software from this repository may not have been tested as
                    ## extensively as that contained in the main release, although it includes                                                        
                    ## newer versions of some applications which may provide useful features.                                                         
                    ## Also, please note that software in backports WILL NOT receive any review                                                       
                    ## or updates from the Ubuntu security team.                     
                    deb http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse                                     
                    deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse                                 
                                                                                     
                    deb http://security.ubuntu.com/ubuntu trusty-security main restricted                                                             
                    deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted                                                         
                    deb http://security.ubuntu.com/ubuntu trusty-security universe   
                    deb-src http://security.ubuntu.com/ubuntu trusty-security universe
                    deb http://security.ubuntu.com/ubuntu trusty-security multiverse
                    deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse
                    
                    
                    ## Uncomment the following two lines to add software from Canonical's
                    ## 'partner' repository.
                    ## This software is not part of Ubuntu, but is offered by Canonical and the
                    ## respective vendors as a service to Ubuntu users.
                    # deb http://archive.canonical.com/ubuntu trusty partner
                    # deb-src http://archive.canonical.com/ubuntu trusty partner
                    
                    
                    ## This software is not part of Ubuntu, but is offered by third-party
                    ## developers who want to ship their latest software.
                    deb http://extras.ubuntu.com/ubuntu trusty main
                    deb-src http://extras.ubuntu.com/ubuntu trusty main
                    Code:
                    hades@hades-desktop:~$ dpkg -s virtualbox-5.0
                    Package: virtualbox-5.0
                    Status: install ok installed
                    Priority: optional
                    Section: contrib/misc
                    Installed-Size: 150667
                    Maintainer: Oracle Corporation <info@virtualbox.org>
                    Architecture: amd64
                    Version: 5.0.2-102096~Ubuntu~trusty
                    Replaces: virtualbox
                    Provides: virtualbox
                    Depends: libc6 (>= 2.15), libcurl3 (>= 7.16.2), libdevmapper1.02.1 (>= 2:1.02.20), libgcc1 (>= 1:4.1.1), libgl1-mesa-glx | libgl1, libpng12-0 (>= 1.2.13-4), libpython2.7 (>= 2.7), libqt4-network (>= 4:4.5.3), libqt4-opengl (>= 4:4.7.2), libqtcore4 (>= 4:4.8.0), libqtgui4 (>= 4:4.8.0), libsdl1.2debian (>= 1.2.11), libssl1.0.0 (>= 1.0.0), libstdc++6 (>= 4.6), libvpx1 (>= 1.0.0), libx11-6, libxcursor1 (>> 1.1.2), libxext6, libxinerama1, libxml2 (>= 2.7.4), libxmu6, libxt6, zlib1g (>= 1:1.1.4), psmisc, adduser
                    Pre-Depends: debconf (>= 1.1) | debconf-2.0
                    Recommends: libasound2, libpulse0, libsdl-ttf2.0-0, dkms, linux-headers, gcc, make, binutils, pdf-viewer, libgl1
                    Conflicts: virtualbox, virtualbox-guest-additions-iso, virtualbox-ose
                    Conffiles:
                     /etc/init.d/vboxautostart-service c51cfd00c697ebe99475b4010a4561ef
                     /etc/init.d/vboxdrv a38b224fea6d509b929fe41df146f2f6
                     /etc/init.d/vboxballoonctrl-service 373076249661ea7de28c1b96f0012349
                     /etc/init.d/vboxweb-service 82052f92f0f4b3c8b0a4a29757b9e5bd
                    Description: Oracle VM VirtualBox
                     VirtualBox is a powerful PC virtualization solution allowing you to run a
                     wide range of PC operating systems on your Linux system. This includes
                     Windows, Linux, FreeBSD, DOS, OpenBSD and others. VirtualBox comes with a broad
                     feature set and excellent performance, making it the premier virtualization
                     software solution on the market.
                    Python-Version: 2.7
                    This said 5.0 is installed but 'sudo apt-get remove virtualbox' states that it is not, whats up with that?

                    Code:
                    hades@hades-desktop:~$ sudo apt-get install dkms
                    [sudo] password for hades: 
                    Reading package lists... Done
                    Building dependency tree       
                    Reading state information... Done
                    dkms is already the newest version.
                    The following packages were automatically installed and are no longer required:
                      linux-image-3.13.0-32-generic linux-image-3.13.0-57-generic
                      linux-image-3.13.0-59-generic linux-image-extra-3.13.0-32-generic
                      linux-image-extra-3.13.0-57-generic linux-image-extra-3.13.0-59-generic
                    Use 'apt-get autoremove' to remove them.
                    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                    How would I execute this line?
                    '/etc/init.d/vboxdrv setup'
                    Last edited by Clayman1000x; Aug 31, 2015, 07:02 AM. Reason: corrections n updates ?

                    Comment


                      #11
                      I don't see anything obviously wrong with your /etc/apt/sources.list, but I don't see the entry deb http://download.virtualbox.org/virtualbox/debian trusty contrib per instructions. Did you remove that after installing?
                      What steps, in sequence, did you perform to install VirtualBox? Did you follow the instructions from the Oracle website starting with the paragraph topic heading Debian-based Linux distributions or did you just download the .deb file and try to install it?

                      Originally posted by Clayman1000x View Post
                      ...
                      [/CODE]
                      Code:
                      hades@hades-desktop:~$ dpkg -s virtualbox-5.0
                      Package: virtualbox-5.0
                      Status: install ok installed
                      Priority: optional
                      Section: contrib/misc
                      Installed-Size: 150667
                      Maintainer: Oracle Corporation <info@virtualbox.org>
                      Architecture: amd64
                      Version: 5.0.2-102096~Ubuntu~trusty
                      Replaces: virtualbox
                      Provides: virtualbox
                      Depends: libc6 (>= 2.15), libcurl3 (>= 7.16.2), libdevmapper1.02.1 (>= 2:1.02.20), libgcc1 (>= 1:4.1.1), libgl1-mesa-glx | libgl1, libpng12-0 (>= 1.2.13-4), libpython2.7 (>= 2.7), libqt4-network (>= 4:4.5.3), libqt4-opengl (>= 4:4.7.2), libqtcore4 (>= 4:4.8.0), libqtgui4 (>= 4:4.8.0), libsdl1.2debian (>= 1.2.11), libssl1.0.0 (>= 1.0.0), libstdc++6 (>= 4.6), libvpx1 (>= 1.0.0), libx11-6, libxcursor1 (>> 1.1.2), libxext6, libxinerama1, libxml2 (>= 2.7.4), libxmu6, libxt6, zlib1g (>= 1:1.1.4), psmisc, adduser
                      Pre-Depends: debconf (>= 1.1) | debconf-2.0
                      Recommends: libasound2, libpulse0, libsdl-ttf2.0-0, dkms, linux-headers, gcc, make, binutils, pdf-viewer, libgl1
                      Conflicts: virtualbox, virtualbox-guest-additions-iso, virtualbox-ose
                      Conffiles:
                       /etc/init.d/vboxautostart-service c51cfd00c697ebe99475b4010a4561ef
                       /etc/init.d/vboxdrv a38b224fea6d509b929fe41df146f2f6
                       /etc/init.d/vboxballoonctrl-service 373076249661ea7de28c1b96f0012349
                       /etc/init.d/vboxweb-service 82052f92f0f4b3c8b0a4a29757b9e5bd
                      Description: Oracle VM VirtualBox
                       VirtualBox is a powerful PC virtualization solution allowing you to run a
                       wide range of PC operating systems on your Linux system. This includes
                       Windows, Linux, FreeBSD, DOS, OpenBSD and others. VirtualBox comes with a broad
                       feature set and excellent performance, making it the premier virtualization
                       software solution on the market.
                      Python-Version: 2.7
                      This said 5.0 is installed but 'sudo apt-get remove virtualbox' states that it is not, whats up with that?

                      ...
                      This is virtualbox-5.0. You need to do the following if you want to remove it.
                      Code:
                      $ sudo apt-get remove virtualbox-5.0
                      Originally posted by Clayman1000x View Post
                      ...

                      How would I execute this line?
                      '/etc/init.d/vboxdrv setup'
                      Code:
                      $ sudo /etc/init.d/vboxdrv setup
                      sigpic

                      Comment


                        #12
                        The easiest way to get everythijng you need installed in one shot is to use a .deb file.

                        Code:
                        sudo apt-get install gdebi
                        I added the following alias to my .bashrc because I hate typing
                        Code:
                        alias gdebi='sudo gdebi'
                        Go to https://www.virtualbox.org/wiki/Linux_Downloads choose your flavor ubuntu i386 for 32-bit or amd64 for 64 bit. Save the file to your Downloads folder
                        Open terminal. navigate to /home/{your usename}/Downloads.
                        ls to get a directory listing
                        type sudo gdebi virtualbox (press tab to finish the line)
                        Enter your sudo pw when asked. Sit back and let it finish. After installed, download and install the extension pack.

                        I did this with Vbox 5.0 and have had no problems. Use .deb over apt-get when available. Less hassles with dependencies

                        Comment


                          #13
                          ​Executing this line fixed it for me this time, thanks for the help.
                          /etc/init.d/vboxdrv setup

                          I used this the first time i tried to run it, I left in the ' marks, didn't realize they were not supposed to be there, that explains the error.
                          '/etc/init.d/vboxdrv setup'
                          Last edited by Clayman1000x; Sep 01, 2015, 09:06 AM.

                          Comment


                            #14
                            Glad you resolved it.
                            sigpic

                            Comment

                            Working...
                            X