ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

VirtualBox - operating systems within operating systems

Updated on January 12, 2009

What is it?

Virtualbox (now owned by Sun) allows you the capability of running another operating system within your current system. Through virtualization (mimicking a computer within a computer), one can use another operating system without changing your current system.

Equivalent software is put out by VMware, Qemu, Xen, Parallels, to list a few.

Overall Virtualbox is relatively easy to set up and use. In short order you can now test that operating system you want to experiment with. Or setup a basic no frills system so you design a portable application. Another idea is testing software, making sure it's safe or effectiveness of an antivirus in cleaning out a virus infection. All without compromising your main operating system.

VirtualBox will set up everything you need for Video display, base memory, Hard Disk, Audio, Network, Serial and USB ports. Your inputs are relatively simple, for more technically oriented people some of the other applications listed like Qemu, or VMware may be of more interest.

For common folk, as I mentioned VirutalBox is an easy setup.

 

Operating Systems supported/listed

Microsoft Windows:

  • Windows Versions from 3.1 to 2008 (includes XP and Vista) plus other Windows.

Linux:

  • Linux kernels 2.2 to 2.6
  • All flavors of Ubuntu (K,X, so on )
  • Arch Linux, Debian, openSUSE, Fedora, Gentoo, Mandriva, Red Hat, Xandros
  • Other Linux 

Solaris:

  • Solaris and Open Solaris

BSD

  • Free, Open, and Net BSD versions 

IBM OS/2

  • OS/2 Warp 3, 4, and 4.5  
  • eComStation
  • Other OS/2

Other

  • DOS
  • Netware
  • L4
  • QNX
  • other/unknown 
  • Other

Basically about everything you can toss at it. 

A walk through for installing a new operating system

We will now do a walk through for installing an Operating System in VirtualBox. 

VirtualBox

This is how my VirtualBox looks at the moment.  On your first install your operating systems on the Left column will be blank.
This is how my VirtualBox looks at the moment. On your first install your operating systems on the Left column will be blank.

Installation Steps

Creating a new Virtual Machine

Step by step guide

  1. On the top Toolbar with icons select New (blue star)
  2. The following pop-up box appears.
  3. Instructions on Back, and Next buttons
  4. Click Next when ready

 

 

  • Name your styles
  • For the Operating System pick your main environment
  • On Version pick the version equivalent to Operating sysem you wish to insall. See Operating versions supported.
  • Click Next

 

 

  • Pick your memory Size needed (VirtualBox does a recommended - I wouldn't go less unless needed)
  • Next

  • Now we need a Virtual Hard disk, unless you already have a virtual disk click New.

     

.

  • Next

 

 

 

 

.

  • Now type of Virtual Disk
  • I usually pick the recommended Dynamically expanding (which if your system is small keeps the disk requirments small, plus it's size is restricted by another option you will pick)

  • Location - need the location of the virtual drive somewheres else.  Then click the folder and select the location.  Otherwise the default location is picked (in my case it's another partition which you can pick under File - preferences)
  • Pick size you want the system to maximumly grow 

  • Next two steps provide you summary steps for you to review before committing your changes
  • The first an overview of your Hard Drive requirements
  • The second of the Machine.  
  • Both steps require you click Finish

   . 

Now to install our operating System

Select the New System.  Now this is a blank virtual disk. We need to install the operating system.  Click Settings Icon (Yellow clog wheel)
Select the New System. Now this is a blank virtual disk. We need to install the operating system. Click Settings Icon (Yellow clog wheel)

If your operating system requires the use of floppies to install, select that and you can either use a floppy drive. Or better still use a floppy.img file (I have been more successful doing it from an img file)

For our example I have a Ubuntu LiveCD on hand. So I have picked CD and use our actual Host CD/DVD drive. Make sure you use the proper letter assignment for the drive used.

Now click General on the Left column, select Advanced tab and select your Boot Order.

At the bottom for the Settings display there is hints and explanations for each step or selection as you Mouse over.

Click OK.  And from Main screen Double click your new System, or highlight and either press Enter or Start (green Arrow). 

 

Installation of New Operating System

Just follow your regular installation instructions.  Just like installing on a regular computer.
Just follow your regular installation instructions. Just like installing on a regular computer.

The Results

We are up and running. Note we have an active internet connection too.
We are up and running. Note we have an active internet connection too.

One Last Hurdle

When first using VirtualBox it will capture your Mouse and Keyboard when you click on the Virtual Display. To get out just use the right Ctrl button, Note: right Ctrl button is the default unless you change it.

However for a seamless operation we need to install VirtualBox guest addons. These allow you to enter/leave the Virtual System without the mouse and keyboard capture. Also resizing of the display. They are available for Linux, OS/2, Windows (not 98 or less). For more information consult VirtualBox.

Installation is from within the Guest Virtual system. For Linux you will need root permission. Windows just the regular install procedures.

Having a second operating system within a system allows flexibility to do some innovative operations. For me I needed to use two Skype accounts from one computer. Both Host and Guest systems had Skype installed. The Virtual Guest couldn't do video which was fine for me, but I could do still did two Skype accounts. Meanwhile the Host was receiving a video call, and all I was doing was relaying the audio portion.

 

Addons

Conclusion

Using VirtualBox can have it's advantages for you. Using those favorite old software programs (games or old applications). Testing various software applications in cross platform operations, setting up a virtual server. designing a portable application by maintain a clean operating system. Test the effectiveness of an antivirus program on an infected system (confined the virus in a sandbox). The choices and list goes on.

Using multiple instances of programs to run under different accounts (ie Skype) or those that prohibit multiple instances being opened.

Maybe you always wanted to try another operating system, just not wanting to totally commit to changing your current configuration. Dual Booting has it's place, but with Virtual systems are like having two computers for one, You can experiment without serious consequences to your main system. Allow usage of software incompatible with your current system.

Enough. Go have fun.

 

Comments

    0 of 8192 characters used
    Post Comment

    • eaglegordon profile imageAUTHOR

      eaglegordon 

      8 years ago

      Bill: In looking at VirtualBox's website and various operating system, plus some forums: The guest additions don't work for PCBSD. To get PCBSD to work in VirtualBox seems a challenge but it's doable.

      Here are some links you may want to check:

      http://forums.virtualbox.org/viewtopic.php?f=4&...

      http://forums.pcbsd.org/showthread.php?t=12664

    • eaglegordon profile imageAUTHOR

      eaglegordon 

      8 years ago

      Bill: Thank you for your comment. At the moment for PCBSD I have to answer No. Will I have to check into it.

    • profile image

      Bill S 

      8 years ago

      You took alot of time to put this together and I for one appreciate it!

      I was wondering though, do you know of any way to install guest additions in PCBSD under Virtualbox?

      Thanks again,

      Bill

    working

    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com 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: https://hubpages.com/privacy-policy#gdpr

    Show Details
    Necessary
    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 googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
    Features
    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)
    Marketing
    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.
    Statistics
    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)