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

Thread: Install ubuntu in virtualbox from USB

  1. #1
    Join Date
    Jan 2005
    Location
    South Africa
    Beans
    2,098
    Distro
    Ubuntu 12.04 Precise Pangolin

    Install ubuntu in virtualbox from USB

    I'm running Ubuntu 12.04 (desktop) and have virtualbox installed. I'm trying to install another Ubuntu in virtualbox using a memory stick and don't manage

    Installed is:
    Code:
    wim@i3-2120:~$ dpkg --get-selections |grep virtualbox
    virtualbox					install
    virtualbox-dkms					install
    virtualbox-guest-additions			install
    virtualbox-guest-additions-iso			install
    virtualbox-guest-dkms				install
    virtualbox-guest-utils				install
    virtualbox-guest-x11				install
    virtualbox-ose-guest-utils			install
    virtualbox-ose-guest-x11			install
    virtualbox-qt					install
    wim@i3-2120:~$
    First of all I can't select USB2.0; it tells me that 'this requires the Oracle VM VirtualBox Extension Pack to be installed'; did I miss a package in Synaptic? Secondly, when pressing F12 for boot options, there is no option for the memory stick (related with first issue?). When I move the mouse over the USB icon, it sees the memory stick (possibly not immediately).

    Any assistance is appreciated.
    If you don't make backups of your important data, your data is obviously not important to you.

  2. #2
    Join Date
    Feb 2008
    Beans
    4,261
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Install ubuntu in virtualbox from USB

    There are advantages to installing the VirtualBox from the VirtualBox web site, and then installing the Extension Pack from the same site. Then you would be able to use USB. I know, that's the Windows approach, but that's Oracle for you.

  3. #3

    Re: Install ubuntu in virtualbox from USB

    Unless you are testing a USB installation media, then I suggest allowing Virtualbox to use the ISO before installation (Under Settings > Storage and click the Drive Icon there, "Choose a Virtual CD/DVD disk file..." navigate to the ubuntu.iso and save those settings.
    When you start Virtualbox, press F12 and select "Other boot devices: > c) CD-ROM

    Hope that helps.


  4. #4
    Join Date
    Jan 2005
    Location
    South Africa
    Beans
    2,098
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Install ubuntu in virtualbox from USB

    Thanks for the replies; for now my question is solved. I will leave it open for a while till I have tried one of the proposed solutions and to 'allow' others to give their view.

    Quote Originally Posted by gordintoronto View Post
    There are advantages to installing the VirtualBox from the VirtualBox web site, and then installing the Extension Pack from the same site. Then you would be able to use USB.
    May I conclude that what I want to do is not possible (at this moment) with packages from the repository? Any other advantages (as the Oracle version is slightly newer)?

    Quote Originally Posted by gordintoronto View Post
    I know, that's the Windows approach, but that's Oracle for you.
    I don't understand. Is the extension pack proprietary? Or is it just the fact that Ubuntu overlooked the extension pack and that it therefor is not included in the repository.

    Quote Originally Posted by Habitual View Post
    Unless you are testing a USB installation media, then I suggest allowing Virtualbox to use the ISO before installation (Under Settings > Storage and click the Drive Icon there, "Choose a Virtual CD/DVD disk file..." navigate to the ubuntu.iso and save those settings.
    When you start Virtualbox, press F12 and select "Other boot devices: > c) CD-ROM
    I will give that a shot in the future; sounds easier Although I don't mind trying the Oracle route above if necessary.
    If you don't make backups of your important data, your data is obviously not important to you.

  5. #5
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: Install ubuntu in virtualbox from USB

    I think you're having problems because VirtualBox doesn't support booting from USB at all (even with the extension pack installed).

    To install a guest OS you need to do it from either an .iso file or a physical CD.
    Cheesemill

  6. #6
    Join Date
    Jan 2005
    Location
    South Africa
    Beans
    2,098
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Install ubuntu in virtualbox from USB

    Quote Originally Posted by Cheesemill View Post
    I think you're having problems because VirtualBox doesn't support booting from USB at all (even with the extension pack installed).

    To install a guest OS you need to do it from either an .iso file or a physical CD.
    Thanks; gave up on USB

    Quote Originally Posted by Habitual View Post
    Unless you are testing a USB installation media, then I suggest allowing Virtualbox to use the ISO before installation (Under Settings > Storage and click the Drive Icon there, "Choose a Virtual CD/DVD disk file..." navigate to the ubuntu.iso and save those settings.
    When you start Virtualbox, press F12 and select "Other boot devices: > c) CD-ROM

    Hope that helps.
    It did indeed help; tricky part was your second instruction, but I found it. There are two controllers in the storage tree (IDE and SATA). I picked the IDE one, clicked on the CD icon and could add a 'virtual cd/dvd'. Installing now and will mark as solved.

    Thanks everybody
    If you don't make backups of your important data, your data is obviously not important to you.

  7. #7
    Join Date
    Sep 2007
    Location
    Oklahoma, USA
    Beans
    2,166
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Install ubuntu in virtualbox from USB

    Quote Originally Posted by Wim Sturkenboom View Post
    I don't understand. Is the extension pack proprietary? Or is it just the fact that Ubuntu overlooked the extension pack and that it therefor is not included in the repository.
    Yes, the extension pack is proprietary. Before version 4.x came out, VBox had two editions of each version: the OSE (Open Source Edition) and the PUEL (Personal Use Evaluation License). Only the OSE version was in the repositories; to get the PUEL (which was still free as in beer) you had to go to Sun/Oracle for it.

    With version 4.0, the non-proprietary parts of the PUEL version were moved into the OSE, and the "OSE" term was dropped. The remaining stuff from PUEL became the extension pack, and again you have to get it direct from Oracle.

    They're now up to version 4.2, while the repositories remain frozen at older releases, so going to Oracle is advisable in any case.
    --
    Jim Kyle in Oklahoma, USA
    Linux Counter #259718
    Howto mark thread: https://wiki.ubuntu.com/UnansweredPo.../SolvedThreads

  8. #8
    Join Date
    Jan 2005
    Location
    South Africa
    Beans
    2,098
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Install ubuntu in virtualbox from USB

    Thanks; I thought it was all non-proprietary now; my mistake. I saw that Oracle was already further.

    I don't think it matters to much for me. I just need it to be able to play with different distros and to be able to help people here without screwing up my main OS.
    If you don't make backups of your important data, your data is obviously not important to you.

  9. #9
    Join Date
    Sep 2007
    Location
    Oklahoma, USA
    Beans
    2,166
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Install ubuntu in virtualbox from USB

    Apparently, USB 2.0 has some sort of patent problem, or perhaps it's simply that the code to make it work is licensed and Oracle has to keep some sort of restriction on it. At least that's the impression I've gotten from things said on their forum... Fortunately, their PUEL license allows commercial use of the extension pack so long as it's not being re-sold itself. It's the only EULA I've seen that is quite explicit about it!
    --
    Jim Kyle in Oklahoma, USA
    Linux Counter #259718
    Howto mark thread: https://wiki.ubuntu.com/UnansweredPo.../SolvedThreads

  10. #10

    Re: Install ubuntu in virtualbox from USB

    Quote Originally Posted by Wim Sturkenboom View Post
    ...tricky part was your second instruction, but I found it. There are two controllers in the storage tree (IDE and SATA). I picked the IDE one, clicked on the CD icon and could add a 'virtual cd/dvd'. Installing now and will mark as solved...
    Well, I had to leave you something for an "Aha!" moment now didn't I?


Page 1 of 2 12 LastLast

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
  •