Page 19 of 24 FirstFirst ... 91718192021 ... LastLast
Results 181 to 190 of 231

Thread: How To: Install VirtualBox on Ubuntu 8.04LTS (Hardy Heron) [Tutorial]

  1. #181
    Join Date
    May 2008
    Location
    jordan
    Beans
    311
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: How To: Install VirtualBox on Ubuntu 8.04LTS (Hardy Heron) [Tutorial]

    thanks a lot, but i need to ask if this package depend on anther
    package's

  2. #182
    Join Date
    Jun 2008
    Beans
    202
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: How To: Install VirtualBox on Ubuntu 8.04LTS (Hardy Heron) [Tutorial]

    Hi,
    I am getting following error when I plug my USB Mass storage device

    " Failed to attach USB device USBest Tech..... Device [01XX] to Virtual machine XP.
    Not permitted to open the USB device, check usbfs options
    Result code: 0x80004005
    component: console
    interface: ............"

    I have checked the group "usbfs" and myself got added in it. Still, I am getting this message.

    Host: Ubuntu 8.04
    Guest OS: Windows XP SP2

    Please help me to solve it.
    With Thanks,
    PrAbAtH

  3. #183
    Join Date
    Jun 2008
    Beans
    202
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: How To: Install VirtualBox on Ubuntu 8.04LTS (Hardy Heron) [Tutorial]

    Hi,
    I followed the below steps and got it.
    Setup USB:
    Step1:
    In Terminal
    sudo gedit /etc/init.d/mountdevsubfs.sh
    Step 2:
    Inside - the lines
    #
    # Magic to make /proc/bus/usb work
    #
    #mkdir -p /dev/bus/usb/.usbfs
    #domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
    #ln -s .usbfs/devices /dev/bus/usb/devices
    #mount --rbind /dev/bus/usb /proc/bus/usb
    Changed to:
    # Magic to make /proc/bus/usb work
    #
    mkdir -p /dev/bus/usb/.usbfs
    domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
    ln -s .usbfs/devices /dev/bus/usb/devices
    mount --rbind /dev/bus/usb /proc/bus/usb

    Step 3:
    Save and Exit.

    Step 4:
    Created a group called "usbfs" and "vboxusers" and added myself to it.
    Step 5:
    In terminal:
    sudo gedit /etc/fstab
    In file, pasted the following lines, and changed the group ID according to the group ID that was shown for the group "usbfs".
    # 1001 is the USB group ID
    none /proc/bus/usb usbfs devgid=1001,devmode=664 0 0
    Step 6:
    Save and close file.
    Step 7:
    In terminal
    VBoxManage list usbhost
    Step 8:
    Used the output of above command to set up the filters for USB devices under VirtualBox.
    Step 9:
    In terminal
    gksudo gedit /etc/udev/rules.d/40-permissions.rules
    Step 10:
    Change the line
    # USB devices (usbfs replacement)
    SUBSYSTEM=="usb_device", MODE="0664"
    to

    # USB devices (usbfs replacement)
    SUBSYSTEM=="usb_device", GROUP="vboxusers", MODE="0664"
    Step 11:
    Reboot

  4. #184
    Join Date
    May 2008
    Location
    Edmonton, AB, Canada
    Beans
    96
    Distro
    Ubuntu

    Re: How To: Install VirtualBox on Ubuntu 8.04LTS (Hardy Heron) [Tutorial]

    Hey Everyone,

    The tutorial is great, i managed to get my USB flash drives connected to my Virtual-XP.

    The webcam on the other hand took a step backward. It worked fine with Cheese before following these steps, but now it doesnt work at all. If i use Cheese, i get a TV test pattern with TV-static in the bottom right corner. Virtual-XP recognizes the webcam, but when i try to use it, it says "Creation of the video preview failed. Please check the device connection and make sure that the device is not being used by another application or user."

    Code:
    $ VBoxManage list usbhost
    
    UUID:               0e674c19-8db1-4ef0-80ef-bdc11649f183
    VendorId:           0x5986 (5986)
    ProductId:          0x0200 (0200)
    Revision:           0.4 (0004)
    Product:            Lenovo Easy Camera
    Address:            /proc/bus/usb/004/003
    Current State:      Available
    Anyone have any ideas?

  5. #185
    Join Date
    Mar 2008
    Location
    Portugal
    Beans
    322
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: How To: Install VirtualBox on Ubuntu 8.04LTS (Hardy Heron) [Tutorial]

    Quote Originally Posted by SendDerek View Post
    This guide is intended to help users fully install VirtualBox and all of it's features which don't work out of the box such as USB support. I also have this tutorial (and others) on my blog. It's designed to be quick and painless, so let's get started:


    Download VirtualBox:
    Use the following links to download VirtualBox according to your CPU architecture. If you don't know what this means, you'd probably just better go with the i386 pacakge.

    i386:
    http://www.virtualbox.org/download/1...hardy_i386.deb
    AMD64
    http://www.virtualbox.org/download/1...ardy_amd64.deb

    Note: The VirtualBox that you have in the Add/Remove Programs list is different because it is the Open Source Edition. This is generally more difficult to configure, so use the normal VirtualBox program found in the link above.

    Install VirtualBox:
    Double-click on the package you just downloaded and you will be prompted to install it.

    Setup Permissions:
    This can be done in two different ways. The graphical way or the command line way.

    Via Command Line:

    [In Terminal]
    Code:
    sudo usermod -G vboxusers -a username
    Via Graphical Menus:

    Goto System -> Administration -> Users and Groups.

    Click on the "Unlock" button and then enter in your password.

    Click on the "Manage Groups" button.

    Find the "vboxusers" group which is probably at the very bottom of the list, highlight it by clicking again, and click once more on "Properties".

    Make sure there's a check mark next to your user's name, and you're finished.

    Setup USB:
    USB is disabled by default, so you'll probably want to enable it. Otherwise you'll get an error when you go into the "Settings" of your virtual machine. To correct this, you'll need to edit the mountdevsubfs.sh file:

    [In Terminal]
    Code:
    sudo gedit /etc/init.d/mountdevsubfs.sh
    Inside, you'll see a block of code that looks like this:
    #
    # Magic to make /proc/bus/usb work
    #
    #mkdir -p /dev/bus/usb/.usbfs
    #domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
    #ln -s .usbfs/devices /dev/bus/usb/devices
    #mount --rbind /dev/bus/usb /proc/bus/usb

    Change it to look like this (uncomment out the region by deleting the "#'s"):

    #
    # Magic to make /proc/bus/usb work
    #
    mkdir -p /dev/bus/usb/.usbfs
    domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
    ln -s .usbfs/devices /dev/bus/usb/devices
    mount --rbind /dev/bus/usb /proc/bus/usb

    Save the changes, log out, and then log back in again for the changes to take place.

    Other:
    The VirtualBox Guest Additions image (.iso) file is located here:
    http://www.virtualbox.org/download/1...ions_1.5.6.iso

    Minor Troubleshooting:
    With these instructions, I was able to get my virtual machine working perfectly in VirtualBox. If you have any problems, please let me know by commenting below. I will help to resolve your issue and then place it with the solution in this section of the tutorial. Thank you.

    Package Dependencies
    If you run across a problem with dependencies (like libxercese27 which is included in the libxalan110 package), you'll have at this point to either install it first or go ahead with the installation and run "sudo apt-get -f install" to correct the problems.
    Thanks Princey

    Compilation of the kernel module FAILED! Error
    While trying to install VirtualBox you receive an error like this:
    Code:
    "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 were not found. Install them and execute '/etc/init.d/vboxdrv' setup as root."
    Run the command "sudo /etc/init.d/vboxdrv setup" and see if that helps. (not yet confirmed)
    Hi Derek - done as you suggest - but still get this error message - any ideas

    * Stopping VirtualBox kernel module * done.
    * Recompiling VirtualBox kernel module
    * Look at /var/log/vbox-install.log to find out what went wrong

  6. #186
    Join Date
    May 2008
    Beans
    40

    Unhappy Re: How To: Install VirtualBox on Ubuntu 8.04LTS (Hardy Heron) [Tutorial]

    i did the instructions and when i go to terminal and type virtualbox it says it is not installed. what do i do?

  7. #187
    Join Date
    Sep 2006
    Location
    Chicago
    Beans
    355

    Re: How To: Install VirtualBox on Ubuntu 8.04LTS (Hardy Heron) [Tutorial]

    Quote Originally Posted by ripin1 View Post
    i did the instructions and when i go to terminal and type virtualbox it says it is not installed. what do i do?
    I'm getting the same error after following this tutorial and am a bit curious myself.
    UbuntuBeginnersTeam
    UbuntuSecurity
    Blawg
    Questions pertaining to "stealthed" ports kind of make me LOL IRL

  8. #188
    Join Date
    Jan 2008
    Location
    Naples Florida
    Beans
    131
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: How To: Install VirtualBox on Ubuntu 8.04LTS (Hardy Heron) [Tutorial]

    I have everything(system) working great except the USB devices, it says 'device unavailable' or status 'unavailable' the usb devices are there but dull and unavailable. any ideas?
    running hardy
    xVM Virtualbox

  9. #189
    Join Date
    Jul 2008
    Beans
    30

    Re: How To: Install VirtualBox on Ubuntu 8.04LTS (Hardy Heron) [Tutorial]

    Quote Originally Posted by prabath_fun View Post
    Step 9:
    In terminal
    gksudo gedit /etc/udev/rules.d/40-permissions.rules
    Step 10:
    Change the line
    # USB devices (usbfs replacement)
    SUBSYSTEM=="usb_device", MODE="0664"
    to

    # USB devices (usbfs replacement)
    SUBSYSTEM=="usb_device", GROUP="vboxusers", MODE="0664"
    Step 11:
    Reboot
    1.there is no such line in my 40-permissions.rules
    2.also when i run the command to see my usb devices in terminal all statuses are "unavailable"
    3.i have followed all steps i have found in several howtos(and here ofc) but when i am in xp(VM) and go Devices----> USB all my Usb devices are listed but grayed out, thus untickable
    4. it might be useful to inform u that just by selecting add usb filter in VB USB GUI it succesfully had the information of all my usb devices, so i dint have to add anything out of the terminal output of the Usb-listing command
    5. usb devices are Sony ericsson K800i(i want to be able to import my contacts) and a samsung printer
    any1 have a clue

    help would be highly appreciated

  10. #190
    Join Date
    Jun 2008
    Beans
    202
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: How To: Install VirtualBox on Ubuntu 8.04LTS (Hardy Heron) [Tutorial]

    Hi Dr.Fritz,
    If you are using Ubuntu8.04(Hardy), then you have to edit
    "/etc/udev/rules.d/40-basic-permissions.rules" file as specified.
    After editing this you can either add USB from add filter Icon in VirtualBox (you can do this, only, when your Virtual Machine is not running) or use "VBoxManage list usbhost" command in terminal to get USB device details.
    I am using my USB Mass storage device without any problem.
    I have not tried phone memory, yet. One point - To make use of Phone memory (K800), check that your phone is in "File transfer" mode for file transfer. To import contacts in XP-VM, you may need some tool for it. Ex.My Phone Explorer and Phone should be in "Phone Mode".
    I have W810i, I will try and update you.

Page 19 of 24 FirstFirst ... 91718192021 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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