Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Virtual Box install help needed

  1. #1

    Default Virtual Box install help needed

    Please please be easy on me, I'm very much a noobe.

    I did a fresh default install of 11.1 on a newer compaq AMD 2gb machine and weening off of Windows.

    Suse seemed to install ok from the disk and the first program I need to get running is Virtual Box.

    I downloaded VB and installed the package "Panam" or similar name KDE requested and VB installed alright.

    I created the XP Pro machine within VB. The XP machine appears in the list window.

    When I click Start within VB to begin the XP installation I get the message

    "The VirtualBox Linux Kernel Driver (Vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Re-setup the kernel module by executing
    /etc/init.d/vboxdrv setup "

    So I open a console terminal,log in as root (SU) and type the said command.

    It fails and directs me to the vbox-install.log.

    That log says:

    "Makefile:172: **Error: unable to find the include directory for your current Linux Kernel. Specify KERN_INCL=<directory> and run make again. Stop."

    I used the default Suse setup so I guess what it's asking for would also be in a "typical" setup location.

    Is it possible for anyone to know where the information it's asking for is located and exactly what I should type in the terminal console window to compile this correctly?

    You can see I'm quite new to this and any help is very much appreciated. Thank you.

    Steve Fury

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,719
    Blog Entries
    20

    Default Re: Virtual Box install help needed

    make sure you have these packages

    make
    gcc
    kernel-source

    then run

    Code:
    /etc/init.d/vboxdrv setup
    This guide is for the OSE version but it's helpful
    VirtualBox Installation - openSUSE
    Leap 15_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3

    Default Re: Virtual Box install help needed

    Thank you Caf for that great solution. It compiled successfully.

    Now it seems the drive isn't accessible as I get this message when I try and install XP into VB:

    Failed to start the virtual machine XP Pro.
    Cannot open host device '/dev/sr1' for readonly access. Check the permissions of that device ('/bin/ls -l /dev/sr1'): Most probably you need to be member of the device group. Make sure that you logout/login after changing the group settings of the current user (VERR_ACCESS_DENIED).
    Unknown error creating VM (VERR_ACCESS_DENIED).

    I did a search in the forum and found a couple relevant hits but nothing about how to gain access to the drive.

    I was hoping I could plug in my external HP DVD drive for a work around. I was delighted 11.1 detected the drive and made it ready, but I still get the same error when I select it in VB.

    Any ideas how to make my drive or drive(s) availabe to VB?

    Thanks again !

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

    Default Re: Virtual Box install help needed

    Hi,
    Where did you download VirtualBox from? Have you accessed the VirtualBox website yet?

  5. #5
    Join Date
    Jun 2008
    Location
    Moses Lake, WA. USA
    Posts
    474

    Default Re: Virtual Box install help needed

    SteveFury wrote:

    >
    > Thank you Caf for that great solution. It compiled successfully.
    >
    > Now it seems the drive isn't accessible as I get this message when I
    > try and install XP into VB:
    >
    > Failed to start the virtual machine XP Pro.
    > Cannot open host device '/dev/sr1' for readonly access. Check the
    > permissions of that device ('/bin/ls -l /dev/sr1'): Most probably you
    > need to be member of the device group. Make sure that you logout/login
    > after changing the group settings of the current user
    > (VERR_ACCESS_DENIED).
    > Unknown error creating VM (VERR_ACCESS_DENIED).
    >
    > I did a search in the forum and found a couple relevant hits but
    > nothing about how to gain access to the drive.
    >
    > I was hoping I could plug in my external HP DVD drive for a work
    > around. I was delighted 11.1 detected the drive and made it ready, but I
    > still get the same error when I select it in VB.
    >
    > Any ideas how to make my drive or drive(s) availabe to VB?
    >
    > Thanks again !
    >

    Did you go to settings in the manager and enable mounting of the CD/DVD
    drive.
    /dev/sr1 is a cd/dvd drive. you can also mount it thru the devices menu
    once you get Windows, but you need it for install so I would suggest
    enabling it in the setting menu.

    Hope this helps.

    --
    Russ [openSUSE 11.1 (2.6.27.21-0.1-default [x86_64) KDE 4.2.4 release 2,
    Intel DX48BT2 Core 2 Dual E7200. 4 GB DDR III GeForce 8400 GS, 320GB Disc
    (2)]



  6. #6

    Default Re: Virtual Box install help needed

    Where did you download VirtualBox from?
    Linux_Downloads - VirtualBox

    Did you go to settings in the manager and enable mounting of the CD/DVD
    drive.
    If you mean on the VB GUI itself:
    Settings > CD/DVD-ROM > Mount CD/DVD Drive the answer is yes I did put a check in the box.

    I was able to log out > back in as Root, run VB and successfully install the other OS ... but I'll need access for general users.

  7. #7
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,719
    Blog Entries
    20

    Default Re: Virtual Box install help needed

    A solution is use k3b to create an .iso image of the xp disc and use that.

    But it should work from the actual cd too.

    CD pic
    Leap 15_KDE
    My Articles Was I any help? If yes: Click the star below

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

    Default Re: Virtual Box install help needed

    Quote Originally Posted by SteveFury View Post
    ...I was able to log out > back in as Root, run VB and successfully install the other OS ... but I'll need access for general users.
    Your general user(s) is a member of the vboxusers group, right?

  9. #9

    Default Re: Virtual Box install help needed

    A solution is use k3b to create an .iso image of the xp disc and use that.
    I tried running K3b but it did not recognize any optical drive attached.

    Your general user(s) is a member of the vboxusers group, right?
    I apologize but I'm really an (almost) green noobe. How or where can I get the group information or change it?

    Given the path the error message suggests:
    bin/ls -l /dev/sr1
    I logged in a GUI session of Root, used Dolphin and navigated to the file Bin/LS and selected Properties.

    I put checks in all the access boxes, reboot and still had the VB error. I logged back in as root and undone the checks I previously made and tried to set the group name to "me", which is the user login name. (Thinking "me" might be the group name)

    It always tried to enter "Messagebus" in the field so I set it back where it was to "root".

    I logged back out of the Root account and back into the user "Me" account and ran VB ..

    I ran VB again and to my astonishment I have the other OS installing as I type.
    I have no idea what the heck I did.

    I did so many logins-log outs switching accounts and I'm pretty sure I'm not in Root anymore but honestly I'm a bit confused myslelf

    LOL

    Anyway this is a fresh install so it won't be too hard to reinstall 11.1 if I screw things up too badly and get back to where I was.

  10. #10
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,719
    Blog Entries
    20

    Default Re: Virtual Box install help needed

    If you login as root your desktop is usually a Bomb! Wallpaper. It was at one time, but I never go there.
    Make sure you have run
    Code:
    zypper up
    from a su terminal. Maybe you have not updated? There was a bug in the shipped system which was repaired with a patch.
    Leap 15_KDE
    My Articles Was I any help? If yes: Click the star below

Page 1 of 2 12 LastLast

Posting Permissions

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