VirtualBoxhttp://www.maclife.com/taxonomy/term/3602/all
enHow to Install a Guest Operating System Using VirtualBoxhttp://www.maclife.com/article/howtos/how_install_guest_operating_system_using_virtualbox
<!--paging_filter--><p><img src="/files/u12635/virtualbox_teaser.png" width="150" height="150" class="graphic-right" />VMWare Fusion and Parallels are the most utilized applications for virtualization. However, they can be costly.</p><p>Enter Oracle’s VirtualBox. This free tool gives you the same flexibility and features of VMWare Fusion and Parallels, but without the price tag. In this how-to, we’ll show you how to set up and install a guest operating system inside of VirtualBox.<br /><br /><strong>What is a virtual machine?</strong> If you are new to the virtualization computing space, a virtual machine is basically software that runs on top of another operating system (in this case, Mac OS X) that imitates actual, physical hardware that the guest operating system runs on. When you install a guest operating system in a virtual machine, that OS is not actually installed on your physical computer; rather, the OS lives in its own virtual environment. Virtual machines are the newest, easiest, and safest way to run multiple operating systems on your one computer. There’s no need to partition your hard drive, use BootCamp, or risk messing up your current Mac OS X configuration.&nbsp; <br /><br />To begin, you’ll need to download and install the latest version of VirtualBox from <a href="http://www.virtualbox.org/" target="_blank">Oracle’s VirtualBox website</a>. Once you do that, follow our step-by-step gallery below to get on your way to multiple-operating system happiness.<br /><br /></p>http://www.maclife.com/article/howtos/how_install_guest_operating_system_using_virtualbox#commentsvirtual machineVirtualBoxMacHow-TosGalleryTue, 29 Mar 2011 21:50:18 +0000Cory Bohon10470 at http://www.maclife.comInstall Linux on Your Machttp://www.maclife.com/article/howtos/install_linux_your_mac
<!--paging_filter--><h3>Because Windows and Mac OS X aren't the only two OSes in town.</h3><p>&nbsp;</p><p><strong>Difficulty Level:</strong> Tricky<br /> </p><p><strong>What You Need:</strong></p><p>&gt; A distribution (or &quot;distro&quot;) of Linux. We used Linux Mint (free, <a href="http://www.linuxmint.com" target="_blank">www.linuxmint.com</a>). (See &quot;Pick a Distro, Pick a Mac,&quot; below.)</p><p>&gt; An Intel Mac, preferably a desktop. We used an iMac. (See &quot;Pick a Distro, Pick a Mac,&quot; below.) </p><p>&gt; At least 32GB of free hard drive space.</p><p>&gt; The rEFIt boot manager (free, <a href="http://www.refit.sourceforge.net" target="_blank">refit.sourceforge.net</a>)</p><p>&gt; A blank DVD or CD</p><p>&nbsp;</p><p>Are you getting tired of Mac OS X or just really miss that feeling of struggling with your computer? Windows isn’t your only alternative. Linux holds the key to unleashing your inner geek, and even though installing it was daunting in the past, the new versions are easier than ever to use on your Mac. We will take you through the install process step by step.</p><p><a href="/files/u129772/opener_full_0.jpg" class="thickbox"><img height="238" src="/files/u129772/opener_380_0.jpg" width="380" /></a><br /><strong>How cool is this spinning-Desktop effect? And you thought Leopard was the only OS with eye candy...</strong><br /><br />Disclaimer: Back up your data before starting. This is always a good idea before making big changes to your computer, but it is paramount when fiddling with the configuration of the hard drive. Also, even though current versions of Linux distributions are more stable than ever, they can still be a bit buggy. For example, restarting the computer is currently impossible--you have to shut down and then turn the computer on again.</p><p>&nbsp;</p><h2>1. Install rEFIt<br /><br /></h2><p>Download the rEFIt DMG, open it, and double-click the rEFIt.mpkg file inside it to install. Unfortunately, in our tests, this often did not enable rEFIt completely. Open Terminal (in Applications/Utilities) and then type:<strong><br /><br />sudo /efi/rEFIt/enable.sh</strong><br /><br />Restart your Mac to make sure you have it installed properly. You should see a screen that says “rEFIt” before Mac OS X boots. (Don’t worry, you can uninstall this later if you decide you hate it.)</p><p>&nbsp;</p><h2>2. Create a Partition<br /><br /></h2><p>Linux needs a partition on your hard drive. In Leopard, creating one is incredibly easy. Open Boot Camp Assistant (in Applications/Utilities) and create a partition that you will boot Linux from. We suggest you use at least 20GB--by the time you install the Linux OS, hardware drivers, and extra applications, you’ll have used up around 10GB, and it’s always good to leave at least 10GB of free space. Boot Camp Assistant will assume this partition is for Windows, but that doesn’t matter--just ignore it.</p><p><a href="/files/u129772/step2_full_3.jpg" class="thickbox"><img height="255" src="/files/u129772/step2_380_3.jpg" width="380" /></a><br /><strong>Why, Tiger Mac, what big hard drives you have!</strong><br /><br />In Tiger, creating the partition is done slightly differently. Open Disk Utility (also in Applications/Utilities), choose the hard drive you want to partition, and then click Split. Choose the size you want your Linux partition to be, and then click Partition.<br /><br />If you already dual-boot Windows and Mac OS X, never fear, solutions are here! Boot your Mac into Windows and insert your Linux install disc (see step 3). When it auto-runs, click the Install Linux Mint Inside Windows option, and follow those instructions. Then skip to step 9.</p><p>&nbsp;</p><h2>3. Make a Linux Disc<br /><br /></h2><p>Download the ISO file of Linux Mint 7 from <a href="http://www.linuxmint.com" target="_blank">www.linuxmint.com</a>. (There’s a direct-download link, but using BitTorrent is much faster.) Then, insert a blank CD and open Disk Utility. Finally, click Burn, and choose the ISO file you just downloaded in the file browser.</p><p>&nbsp;</p><h2>4. Taste the Minty Freshness<br /><br /></h2><p>With your Linux Mint disc in the optical drive, reboot your Mac while holding down the C key, which forces it to boot from the CD. After everything loads (it takes a while), you will see the Desktop of Linux Mint. We encourage you to test this system out, because if it absolutely repulses you, you probably won’t want to install it. Of course, if you want the full experience (which will be much faster), you need to proceed to step 5.</p><p><a href="/files/u129772/step4_full_1.jpg" class="thickbox"><img height="238" src="/files/u129772/step4_380_1.jpg" width="380" /></a><br /><strong>You might have some problems with screen resolution, among other things, when booting from the CD. We will fix this after the complete install.</strong></p><p>&nbsp;</p><h2>5. Partition's Over<br /><br /></h2><p>The menu in Linux Mint has a pseudo-Spotlight built in. Click the menu (bottom-left of your screen) and type <em>gparted</em> in the search bar. Click the only search result, Partition Editor. Now you need to delete the partition you just created in Mac OS X. This may seem unintuitive, but it’s the only way to make sure all the partitions are in the right format.</p><p><a href="/files/u129772/step5_full_2.jpg" class="thickbox"><img height="259" src="/files/u129772/step5_380_2.jpg" width="380" /></a><br /><strong>Gparted in action: Let the filesystem wars begin.</strong><br /><br />Leave the partition labeled EFI alone, but right-click and delete the partition labeled BOOTCAMP, which should show up as /dev/sda3, unless you have multiple hard drives in your Mac. Remember to click Apply after this is finished, because gparted waits for your approval before taking its software chainsaw to your hard drive.</p><p>&nbsp;</p><h3><em>Pick a Distro, Pick a Mac<br /><br /></em></h3><p>Linux has a number of distributions. We chose Linux Mint because it’s relatively easy to configure and comes with things like Adobe Flash out of the box. Generally, for first-timers, if a Linux distro is a variant of Ubuntu, it should be fine.<br /><br />To complete the steps outlined here, you need an Intel Mac. We went with a Core 2 Duo iMac, but we also put Linux Mint on a Mac mini (a little harder, since we had to use a different driver for the mini’s Nvidia graphics card) and a unibody MacBook Pro. Using a unibody ’Book requires a few more tweaks to make the no-button trackpad work--see <a href="https://help.ubuntu.com/community/MacBook%20Aluminum" target="_blank">MacBook Aluminum</a> for details.</p><p>&nbsp;</p><h2>6. Installation Station<br /><br /></h2><p><a href="/files/u129772/step6_full_2.jpg" class="thickbox"><img height="281" src="/files/u129772/step6_380_1.jpg" width="380" /></a><br /><strong>Surprise, surprise, that big chunk of continuous free space is where are partition used to be.</strong><br /><br />After gparted has finished erasing the partition, it’ll show a block of free space where the partition used to be. This is the signal that you can start the install by double-clicking the Install icon on the Desktop. Go through the dialogs until you get to the partitioner. You’ll see a fancy colored slider with a set of options for where to install Linux. Choose Largest Continuous Free Space. Essentially, this allows the Linux installer to format the free space into swap space (which increases the amount of virtual memory you have) and an EXT3-formatted Linux partition.</p><p>&nbsp;</p><hr /><p>&nbsp;</p><h2>7. One Last Thing<br /><br /></h2><p>After you set your user information, you’ll see a screen that says, “Ready to install.” However, you’re most definitely not ready to install. There’s one last thing to do. Click the Advanced tab in the bottom-right of the window, and change the “Device for bootloader installation” drop-down menu to whatever partition you are going to have Linux on. Choose the same ID as the partition you erased with gparted in step 5--for most computers, that’s /dev/sda3.</p><p><img height="305" src="/files/u129772/step7_only.jpg" width="380" /><br /><strong>It's funny how a drop-down menu can completely make or break an OS install. Poetic justice?</strong><br /><br />This is incredibly important, because the Linux bootloader, called Grub, is notorious for messing with the way Mac OS X boots. So when you tell the installer to install Grub to your Linux partition, you allow your Mac to select which partition to boot and then go through Grub to your Linux partition.</p><p>After you finish this step, click OK to accept the changes, and then click Install.</p><p>&nbsp;</p><h3><em>Quick Tip<br /><br /></em></h3><p>You can access the files on your OS X partition with the Linux file browser. Open the volume labeled Macintosh HD (or equivalent), and type in your password when it prompts you. If a folder is marked with an “x,” you have to right-click it, then “Open it as root” to gain access.</p><p>&nbsp;</p><h2>8. Sync or Be Sunk<br /><br /></h2><p>After the install is finished, you can’t click Restart. Instead, click Continue Testing, click the menu button, and then click Exit. From there, you can choose to shut the computer down. And then the fun/hell of configuration starts. The first thing you need to do when you start your computer is sync your partitions. Luckily, rEFIt makes this really easy. At the rEFIt screen, navigate to Start Partitioning Tool and press Enter. If your partitions are not in sync, it will prompt you to sync them, and if they are in sync, you don’t have to do anything.</p><p><a href="/files/u129772/step8_full_1.jpg" class="thickbox"><img height="285" src="/files/u129772/step8_380_1.jpg" width="380" /></a><br /><strong>We definitely have a soft spot for penguins.</strong></p><p>&nbsp;</p><h2>9. Setting the Default OS<br /><br /></h2><p>You should probably boot into Mac OS X, just to check that order has been maintained in your absence. At this point, you have a few options for how to boot. If you feel like rEFIt is too obtrusive, and you have no wish to see it before Mac OS X starts as the default OS, you can delete the /efi folder (in Macintosh HD), which removes rEFIt. Then, go to System Preferences &gt; Startup Disk, and make sure Mac OS X is selected.<br /><br />Now, to boot into Linux, you have to hold the Option key at boot, and when the drives pop up, choose Windows. (Unfortunately, because Boot Camp decided to name the drive Windows back in step 2, there’s nothing you can do about the misnomer.)</p><p>&nbsp;</p><h2>10. Drivers' Ed<br /><br /></h2><p>Back in Linux Mint, the first thing you need to do is fix your seemingly broken drivers. To do this, open the menu, search for <em>hardware drivers</em>, and click the corresponding result. You should see a dialog about the proprietary drivers available for your system. Select all of them and activate each. This will boost graphics performance, enable Wi-Fi, and do a lot of other magical things that are so secret, we don’t even know about them. Then log out (Menu &gt; Logout) and log back in.</p><p><a href="/files/u129772/step10_full_1.jpg" class="thickbox"><img height="444" src="/files/u129772/step10_380_0.jpg" width="380" /></a><br /><strong>In the open-source community, proprietary is a synonym for Eeeevilll.</strong></p><p>&nbsp;</p><h3><em>Quick Tip<br /><br /></em></h3><p>To get a trippy rotating Desktop like the one shown at the top of this post, go to the Compiz Config Manager (Menu &gt; Preferences &gt; Compiz Config Manager) and activate the Cube plug-in.</p><p>&nbsp;</p><h2>11. Get Your Wi-Fi Workin'<br /><br /></h2><p>Even though you’ve technically enabled Wi-Fi, it most likely won’t work without some coaxing. To enable it for good, you need to create a new network connection. Open Network Connections (Menu &gt; search for network connections), then click the wireless tab, and click Add. Now you can either fill in your network information or put in random information and choose different networks later. Click Apply, and a Wi-Fi applet will pop up in the menubar. Now you can click it to pick different networks and connect to them manually.</p><p><a href="/files/u129772/step11_full_1.jpg" class="thickbox"><img height="382" src="/files/u129772/step11_280.jpg" width="280" /></a><br /><strong>It's OK to fake the new network connection info.</strong></p><p>&nbsp;</p><h2>12. That's It<br /><br /></h2><p>There you have it: a Mac running Linux. For optimal results, after your configuration, you should run mintUpdate (Menu &gt; search for update) and then shut down and power up your computer again. If you have problems after this generic installation, chances are they are driver issues, and you can check the Ubuntu reference guide for Macs (<a href="http://help.ubuntu.com/community/Intel_iMac" target="_blank">help.ubuntu.com/community/Intel_iMac</a>) for fixes. Happy geeking!</p><p>&nbsp;</p><h3><em>Linux VM with VirtualBox<br /><br /></em></h3><p>If you want Linux on your Mac but don’t want to dedicate an entire partition to it or go through the hassle of configuration, you can always install it in a virtual machine, or VM. VirtualBox, developed by Sun Microsystems, is generally the most reliable when it comes to virtualizing Linux desktops. Simply download the VirtualBox disk image at <a href="http://www.virtualbox.org/wiki/Downloads" target="_blank">www.virtualbox.org/wiki/Downloads</a>, open the application, create a new VM, and follow the step-by-step instructions.</p><p><a href="/files/u129772/virtualbox_full.jpg" class="thickbox"><img height="238" src="/files/u129772/virtualbox_380.jpg" width="380" /></a><br /><strong>Linux inside a Mac OS X window! Whoa!</strong><br /><br />You don’t even have to burn the Linux .iso to a CD, because VirtualBox supports booting from the .iso file itself. The drawback to running an OS in a virtual machine, however, is that it will eat up your system resources and will generally run substantially slower than if it had its own partition.</p><p>&nbsp;</p>http://www.maclife.com/article/howtos/install_linux_your_mac#commentshow-tolinuxLinux MintMac How-TosrEFItVirtualBoxMacHow-TosFri, 04 Sep 2009 08:56:00 +0000Arvind Srinivasan4768 at http://www.maclife.com