Jump to content

Recommended Posts

Posted

<div class="KonaBody"><p><img src="http://osxdaily.com/wp-content/uploads/2012/03/ubuntu-linux-virtual-machine.jpg" alt="Ubuntu Linux in a Virtual Machine with VirtualBox" title="ubuntu-linux-virtual-machine" width="620" height="476" class="aligncenter size-full wp-image-28861" /></p>

<p>If you want to experiment with Linux without dual booting and potentially impacting your main operating system, the best way to do so is with virtualization. Virtualization allows you to run Linux directly atop your primary OS, whether it’s Mac OS X or Windows, in a separate virtual machine, with practically no potential for error. It’s completely free and fairly easy to set up, we’ll walk you through the entire process. </p>

<p><span id="more-28855"></span></p>

<p><strong>Requirements</strong></p>

<ul>

<li><a href="http://www.virtualbox.org/wiki/Downloads" target="_blank">Download VirtualBox</a> (free) and install it</li>

<li><a href="http://www.ubuntu.com/download/ubuntu/download" target="_blank">Download a 64-bit Ubuntu Linux ISO</a> (free) and save it to the desktop</li>

<li>Have at least 512MB RAM free and at least 5GB of hard disk space available</li>

</ul>

<p>Be sure to meet the above requirements before beginning. Once VirtualBox is installed and the Ubuntu ISO is downloaded, you can proceed with set up and installation.</p>

<h2 style="font-size:1.2em;">Installing Ubuntu Linux in VirtualBox</h2>

<ul>

<li>Launch VirtualBox and create a new virtual machine, name it something like “Ubuntu Linux” and set the Operating System to “Linux” and version to “Ubuntu” and set the base memory to at least 512MB or 1GB</li>

<p><img src="http://osxdaily.com/wp-content/uploads/2012/03/create-vm-for-linux.jpg" alt="Create virtual machine for Ubuntu Linux" title="create-vm-for-linux" width="600" height="346" class="aligncenter size-full wp-image-28858" /></p>

<li>Create a new virtual hard disk and check “Start-up Disk”, click Continue and choose VDI as the disk type</li>

<li>Optional: Set the storage details to be “Dynamically allocated” to preserve some initial disk space</li>

<li>Name the virtual disk something obvious like “Linux VM” and make it at least 5GB (8GB recommended) and click “Create” to produce the virtual hard drive</li>

<li>At the VirtualBox Manager screen, select the newly created “Ubuntu Linux” virtual machine and click on the “Settings” button</li>

<li>Click on the “Storage” tab and next to “IDE Controller” click the + icon that looks like a CD to add a new IDE Controller</li>

<li>Click “Choose Disk” and locate the Ubuntu ISO (named something like ” ubuntu-11.10-desktop-amd64.iso”) that you downloaded earlier, then click “OK” and close out of Settings</li>

<p><img src="http://osxdaily.com/wp-content/uploads/2012/03/create-linux-vm-choose-iso.jpg" alt="Create a Linux VM and choose installer ISO" title="create-linux-vm-choose-iso" width="600" height="403" class="aligncenter size-full wp-image-28857" /></p>

<li>Back at the VirtualBox Manager screen, select the Linux virtual machine and click on “Start” to begin booting the VM</li>

<p><img src="http://osxdaily.com/wp-content/uploads/2012/03/boot-ubunti-linux-virtual-machine.jpg" alt="Boot Ubuntu Linux virtual machine in VirtualBox" title="boot-ubunti-linux-virtual-machine" width="600" height="284" class="aligncenter size-full wp-image-28859" /></p>

<li>Let the VM boot and choose “Install Ubuntu” at the welcome screen, create a login and user name, set time zones, and click through the simple installation process until it begins</li>

<p><img src="http://osxdaily.com/wp-content/uploads/2012/03/install-ubuntu-linux-virtualbox.jpg" alt="Install Ubuntu Linux in VirtualBox" title="install-ubuntu-linux-virtualbox" width="600" height="474" class="aligncenter size-full wp-image-28860" />

</ul>

<p>How long it takes to install Ubuntu Linux in the virtual machine varies on the speed of the computer and the speed of the internet connection, but somewhere between 20 and 45 minutes is not unusual. When finished, Ubuntu Linux will boot into the desktop and you can start exploring and having fun.</p>

<p>Because Ubuntu is contained within a virtual machine, it’s practically impossible to screw up your host computer, so feel free to explore, try out new commands, install random software, and learn without fear of breaking anything. The only thing you can potentially mess up is the virtual machine itself, which is unlikely but could be simply deleted and reinstalled again if it happened.</p>

<p><img src="http://osxdaily.com/wp-content/uploads/2012/03/ubuntu-linux-desktop.jpg" alt="Ubuntu Linux desktop" title="ubuntu-linux-desktop" width="620" height="485" class="aligncenter size-full wp-image-28862" /></p>

<p>If you enjoyed this post, don’t miss our other VirtualBox how-to guides, including:</p>

<ul>

<li><a href="http://osxdaily.com/2011/09/04/internet-explorer-for-mac-ie7-ie8-ie-9-free/">Run free Internet Explorer test VM’s</a></li>

<li><a href="http://osxdaily.com/2011/09/15/how-to-install-run-windows-8-in-virtualbox/">Install Windows 8 in VirtualBox</a></li>

<li><a href="http://osxdaily.com/2012/03/03/try-windows-8-consumer-preview-virtualbox/">Run Windows 8 consumer preview</a></li>

<li><a href="http://osxdaily.com/2011/11/16/run-mac-os-x-lion-in-virtual-machine-on-snow-leopard/">Install OS X Lion in a VM</a></li>

<li> <a href="http://osxdaily.com/2011/11/17/install-run-mac-os-x-10-6-snow-leopard-in-virtual-machine-on-lion/">Run Mac OS X Snow Leopard atop OS X Lion</a></li>

<li><a href="http://osxdaily.com/2012/02/23/android-4-ics-virtualbox/">Run Android 4 ICS in a virtual machine</a></li>

</ul>

<p>VirtualBox works with just about any other operating system you can think of. Being a free solution, it’s performance is not as impressive as VMWare or Parallels though, and if you intend on using virtual machines for production it would be worth considering a paid solution for maximum performance. </p>

</div>

<p><a href="http://feedads.g.doubleclick.net/~a/tOH72J7q6wtjkjBEPMqrUlIEfmQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/tOH72J7q6wtjkjBEPMqrUlIEfmQ/0/di" border="0" ismap="true"></img></a><br/>

<a href="http://feedads.g.doubleclick.net/~a/tOH72J7q6wtjkjBEPMqrUlIEfmQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/tOH72J7q6wtjkjBEPMqrUlIEfmQ/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">

<a href="http://feeds.feedburner.com/~ff/osxdaily?a=TQFxZ2u_F34:622qaVc5Evs:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=TQFxZ2u_F34:622qaVc5Evs:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=TQFxZ2u_F34:622qaVc5Evs:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=TQFxZ2u_F34:622qaVc5Evs:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=TQFxZ2u_F34:622qaVc5Evs:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=TQFxZ2u_F34:622qaVc5Evs:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=TQFxZ2u_F34:622qaVc5Evs:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=qj6IDK7rITs" border="0"></img></a>

</div><img src="http://feeds.feedburner.com/~r/osxdaily/~4/TQFxZ2u_F34" height="1" width="1"/>

 

View the full article

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic


×
×
  • Create New...