Installing Oracle VM VirtualBox on a USB Drive

Updated on January 11, 2017

Make VirtualBox Portable

The VirtualBox Manager window
The VirtualBox Manager window | Source

Oracle VM VirtualBox – A Freeware Virtual Machine Tool

VirtualBox is a great freeware tool available from Oracle that allows you to install various versions of Windows and distributions of Linux, BSD, Solaris as well as server editions of Mac OS X. This makes it very easy to test out different operating systems, software configurations. If one is curious about Linux, a Linux distro can be installed on a virtual hard drive image, separate from the Windows file system. Thus, the user doesn’t have to dual-boot or format their hard drive to install and run Linux.

This makes VirtualBox very useful in an educational aspect, when students might perhaps be learning about various operating systems and or preparing for CompTIA certification exams.

You Can Make VirtualBox Portable?

While all of that is grand and useful, what about making it portable, so that and virtual machines we use can be carried with us in our pocket on a flash or external hard drive? Imagine customizing your own OS, with applications, utilities, documents and settings. It would be great to keep this with you when you need it. It would be useful to use on public computers or workstations, as anything you do in the VM is not stored on the public computer’s hard drive.

So how can we do this? It’s quite easy as all it takes is a download or two, a flash/external hard drive and some time. The software we need is hosted at Portable-VirtualBox and is a free and open source tool. With it, you can install VirtualBox on a flash drive or an external hard drive. Any Windows computer you connect your drive to can then run the portable version of VirtualBox, allowing you to use your virtual machines anywhere and in the same configuration as you last used them.

Installation Of VirtualBox To A USB Drive

Click thumbnail to view full-size
The options window when Portable-VirtualBox runs.Selected options in Portable-VirtualBox.The portable copy of VirtualBox itself takes up around 155MB of space.  Any virtual machines you install will take up more space.
The options window when Portable-VirtualBox runs.
The options window when Portable-VirtualBox runs. | Source
Selected options in Portable-VirtualBox.
Selected options in Portable-VirtualBox. | Source
The portable copy of VirtualBox itself takes up around 155MB of space.  Any virtual machines you install will take up more space.
The portable copy of VirtualBox itself takes up around 155MB of space. Any virtual machines you install will take up more space. | Source

Steps For Installing VirtualBox On A USB Drive

*Before proceeding with these steps, make sure that you are installing VirtualBox from a PC that doesn’t have VirtualBox installed. For some reason, the Portable-VirtualBox application won’t run properly on a system with VirtualBox already installed and will only open the locally installed copy in such a case.*

If installing on a flash drive, choose the largest capacity and the fastest model available for your needs. I recommend 4GB minimum if installing a single virtual machine or operating system on a flash drive. External hard drives are typically faster than flash drives and offer more storage capacity for multiple virtual machines or operating systems.

  1. First we need to download the Portable-VirtualBox executable. This is a self-extracting archive and will prompt for a location where you would like to extract its contents when you open it. The drive you wish to install VirtualBox on is a suitable location.
  2. Next, you will be prompted to either allow the program to download VirtualBox itself from Oracle or to provide the location of the VirtualBox install file (Note: This is not the file we have downloaded from Portable-VirtualBox, this would be the installation file provided by Oracle). Either allow the program to download it or proved the location of the file on your computer if you have it downloaded.
  3. Now, on the same screen, there are four check-boxes. Mark the two that reference extracting the files for 32/64-bit systems. These will allow you to run VirtualBox on systems with either 32-bit or 64-bit processors. Mark the compress files option if you want to save some space on your drive. This isn’t necessary for you to choose however.
  4. Click OK and allow the program to do its business and when it is finished, you will have a fully functional, portable copy of VirtualBox that you can carry around in your pocket (or purse, backpack, bag…)!

This article is accurate and true to the best of the author’s knowledge. Content is for informational or entertainment purposes only and does not substitute for personal counsel or professional advice in business, financial, legal, or technical matters.


    0 of 8192 characters used
    Post Comment
    • profile image

      Tim Bucktu 

      2 years ago


      You need to uninstall VirtualBox on your Computer before setting up the Portable version...

    • profile image

      Mark B 

      3 years ago

      Crazy because I have tried both the latest and the beta. As soon as I run Portable-VirtualBox.exe, it goes RIGHT to the std Oracle VirtualBox Manager and never the portable installer. Has anyone else had this issue??


    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at:

    Show Details
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the or domains, for performance and efficiency reasons. (Privacy Policy)
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)
    ClickscoThis is a data management platform studying reader behavior (Privacy Policy)