TweetFollow Us on Twitter

Virtual Computing With Parallels Desktop

Volume Number: 22 (2006)
Issue Number: 11
Column Tag: Virtualization

Virtual Computing With Parallels Desktop

How to leverage Parallels Desktop for Mac to run Windows and Linux VMs

by Mary Norbury

Buzzword

Why is virtualization becoming the new industry buzzword? It's certainly not new. IBM has been developing virtual machine systems since the mid-1960's when they virtualized server memory. In the mid-1980s, we saw CPU and I/O virtualization and the 1990s brought the technology to open (Unix based) systems. Cluster and grid computing have long provided resource virtualization solutions. Linux distributions such as Novell, Redhat and Sun are embedding the Xen VM (virtual machine) monitor into their enterprise server editions. With Microsoft also entering the virtualization arena with its acquisition of Softricity and partnership with Xen through Xensource, the market is heating up with new possibilities and choices.

Enter Apple with their new Intel line of mobile, desktop and server computers and virtualization comes to the Mac.

Apples and Oranges

It was no surprise that Apple introduced Boot Camp; clearly someone was going to accomplish booting Windows natively on an Intel Mac so it made sense that Apple created their own neat solution. This had such a major impact on how Mac users view Windows interoperability that Microsoft will no longer offer upgrades or full releases of Virtual PC for Mac. Emulation is out because we don't need it anymore.

Installing Boot Camp is a bit more difficult than Parallels and there are some pitfalls: you can't install it on your Mac if you've already got a partition so you'll need to restore it to a single volume; you're limited to creating a static partition less than 32 GB and formatting it as FAT32 rather than NTFS if you want to write to the partition after installing Windows (if it's larger than 32 GB then you'll have to format it as NTFS and it will then become read-only for Mac OS X); the partition you create is static in size; you can only install Windows XP Pro or Home and you can't multi-boot different versions of Windows since Boot Camp only supports dual-boot [Ed. Note - but you can overcome this: see Criss Meyers' article, "Triple Boot Your Mac" in this month's issue!]. The newest beta of Boot Camp v.1.1.1 fixes some bugs, adds support for the Mac Pro line and includes a preset button for the 32 GB size option. You can upgrade your existing Boot Camp install as long as you don't intend to change the partition size (http://www.apple.com/macosx/bootcamp/).

This begs the question about installing Linux on Intel Macs using Boot Camp. This is possible, but creating a bootable Linux partition is a bit trickier because you want to make sure you don't change the partition table during install; Boot Camp creates a hybrid partition table where XP's legacy MBR (Master Boot Record) and the Mac OS X GPT (GUID Partition Table) can co-exist and play nice. Since Boot Camp was only intended for an XP dual boot setup, adding Linux can be a challenge. But to nitpick, Mac users have been able to dual boot Yellow Dog Linux on PowerPC's since 1999 so the Intel Mac and Boot Camp complicate the Linux experience rather than enhance it.

On the other hand, Boot Camp is undeniably faster than Parallels because it runs natively and gives Windows full access to the CPU, graphics and other hardware. Parallels is a virtual machine environment and therefore only sees a dual core system as a single core with an 8 MB graphics card, no matter how good of a video card you have installed.

Why Be Limited To Windows?

A colleague and MacTech author Dean Shavit, who writes "The Source Hound" column, states in his bio that he hates to pay for software. Hmmmm...well, we're all for "free," and feel especially blessed when, on rare occasions, "free" equals "awesome". Boot Camp is free and fast and pretty damn good....but Parallels Desktop accomplishes more than allowing a dual-boot with Windows XP or a difficult triple boot system with Windows XP and Linux. With Parallels, you can run multiple virtual machines simultaneously and you don't have to boot the Host (Mac OS X) OS. You aren't limited by your personal choice of operating system. You can move seamlessly between Host and Guests. Is this worth paying for? Hell, yes.

Nitty Gritty

Parallels Desktop for Mac is available from http://www.parallels.com with a trial key or purchase for $79.99.

Download the package and follow the instructions for installation. Launch Parallels.app and select the New VM... button to create a new virtual machine. You'll be asked which type of VM configuration you want to create (typical, custom or blank). The Configuration Editor can be used later to reconfigure settings.

Choose the Guest OS type and the version:



Figure 1. Create a new VM and choose configuration type



Figure 2. Choose the Guest OS type and Guest OS version

Name your virtual machine and choose a location to save the configuration file (let Parallels Desktop create the .pvs VM config file for you automatically). Two files make up a VM: the .pvs configuration file and a hard disk image file. Parallels Desktop can run one VM (or one config file) at a time. Launch Parallels Desktop for each individual Guest OS.



Figure 3. Virtual machine name and configuration file location

In the Property Page, you'll activate Parallels Desktop (Help - Activate Product...) with your trial key or your full registration activation key. Then, still in the Property Page, you'll make some changes to enable booting from your guest OS install CD. Under Configuration, locate the Guest OS line under File Location and click on the Boot Sequence link to open the Booting Options tab.



Figure 4. Property page

Choose the radio button to boot from the CD first.

Highlight the CD/DVD drive in the Resource pane and make sure the device is enabled and will connect at startup. If you are installing from an .iso image, an .img or an .fdd (floppy disk image), select the Use image file radio button and specify the path to the distribution file in the image file field that appears when the image file radio button is selected.



Figure 5. Change booting sequence in Configuration Editor

Select the Memory option in the Resource pane and adjust the memory allocation. Windows XP or Server 2003 will run best with a minimum of 512 MB. Give it as much as you can afford. If you have 2GB RAM on your OS X system, give the VM 1GB. Linux flavors will demand less (256 MB minimum).

Highlight the Hard Disk Resource in the left pane and choose the Advanced tab. You'll see that my choice of a Typical creation of a virtual machine set the virtual disk size as 8000 MB with an expanding format. Note that the actual size of the disk image file (after full installation) is 1330 MB but will grow as new data is added so you don't have to worry about allocating enough hard drive space to the virtual disk before installing.



Figure 6. Adjust memory allocation and check hard disk options

Click the OK button to return to the Property Page. Click the Save button along the bottom of the window to save the VM configuration. Insert your guest install CD and click the green Power On arrow button to boot the VM and begin install. Parallels Desktop will detect the CD and start installation.



Figure 7. Windows Server 2003 installation

During any Windows OS installation, you'll be confronted with the Microsoft Licensing Agreement screen, which requires an F8 key input to agree to the terms in order to proceed with the installation. On laptops, this is accomplished by enabling the "Use the F1-F12 keys to control software features" in the Mac OS X keyboard pref pane. Once enabled, you can use the fn-F8 key combination to agree to the MS Licensing Agreement and complete the installation. On desktop models that come with the Apple Keyboard, simply turn off (deselect) the F8 keys shortcut in the Keyboard Shortcuts pref pane and the F8 key will be functional in the Guest OS window.



Figure 8. Windows Server 2003 booting up

Once installation is finished and you've created your account information, you can log into your new Guest OS by sending key combinations through the VM menu (Send Keys - Ctrl+Alt+Del). Start and stop the Guest OS by using the Power On (green arrow) and Power Off (red square) buttons on the toolbar on the right edge of the Parallels Desktop window (you can move the toolbar to the top or the left; go to Preferences - User Interface).

The next practical step is to run the many Windows OS patches from Internet Explorer (Tools - Windows Update from the IE menu bar), turn on automatic updates (Start button - Settings - Control Panel - Automatic Updates), turn on the firewall (Start button - Settings - Network Connections - Local Area Connection - Properties button - Advanced tab - Windows Firewall Settings button) and install an anti-virus software package. But don't worry: even if your PC virtual machine gets a virus, it won't spread to your Mac host. If you take advantage of a shared folder, however, be aware that you are opening a tunnel between a low risk world and a high risk one. Viruses may not exist for Mac OS X right now but in the future, the operating system may become a bigger target by virtue of this new ability to become bedfellows with operating systems fraught with vulnerabilities. If you choose to run an alternative OS on your Mac and plan to share files, then practice safe computing: keep all operating systems and applications up to date, run appropriate anti-virus software (take a look at ClamXAV for Mac at http://www.markallan.co.uk/clamXav/, open source and free!), and close all but necessary ports.

After taking care of this business, you can install Parallels Tools (available from the VM menu) which provides: better mouse synchronization (you can move seamlessly between the Guest OS console and the Finder without using hot key combinations to capture or release input), enhanced video performance, time and clipboard synchronization, a disk compacting tool and a shared folders tool. You'll need to be logged in to the Guest OS to install Parallel Tools.



Figure 9. Install Parallels Tools

After completing the installation of Parallel Tools, shut down the Guest OS (do a graceful shutdown from inside the Guest OS or you may generate shut down errors when using the Power Off button in Parallels Desktop). You'll be returned to the Property Page. Click the Edit button on the bottom of the Property Page to return to the Configuration Editor. Highlight Shared Folders in the Resource pane on the left, select the checkbox for Enable shared folders and click the + button to open the Shared Folder Properties screen. Specify a Name and Path on your Mac OS X system for the shared folder (a shared folder on the Mac OS X desktop is convenient and sensible; create one if you haven't already done so) and select the Enabled option at the bottom left of the pane. Click the OK button.



Figure 10. Create a shared folder

You're now at the Property Page again: click the Save button along the bottom of the window.

Power on your VM and log into your Guest OS. You should now see a Parallels Shared Folder on the desktop. Double-clicking it will open Windows Explorer. You can browse and write to the contents of the share from there.

If you have View Hidden Files and Folders set in the View tab of the Folder Options in Windows, you will see OS X's .ds store files.



Figure 11. Shared folder

Or, you can write directly to the Windows disk. Each VM is assigned an independent IP address. Go to the Windows run line (Start - Run) and type cmd. At the prompt, type ipconfig and make note of the IP address. Enable a shared folder (My Documents on the Windows desktop, for example) and give yourself permissions to write to it. In the Mac OS X Finder, select 'Go' from the menu and choose 'Connect to Server'. Type in the VM IP address using the smb protocol (ex. smb://10.0.1.8). Click the 'Connect' button. Enter your Windows login and password with permissions to the share you created. Select the share in the next window and click 'OK'. The share will mount on your OS X desktop.

Another very cool feature is the ability to copy/paste between Mac OS X and Windows. No rebooting, no special keystrokes required.

You can also view devices connected to your system. Select VM in the menu bar and choose Devices.



Figure 12. List of devices seen by VM

Parallels Compressor is a tool that allows you to manage the size of your virtual hard drives. Select it from the VM menu and click the Manual button to control how the drive is optimized: Express or Advanced. The Advanced Option allows for fine-tuning level of compression.



Figure 13. Parallels advanced compressor options

Linux distros are handled with similar ease:

  • Create a new VM with the default Typical VM Configuration.

  • Choose the Guest OS type (FreeBSD) and the version (Other FreeBSD since I downloaded FreeBSD 6.1, in my example. Get it at http://www.freebsd.org).

  • Name the Guest OS VM (FreeBSD) and save the configuration file.

  • In the Property Page, under Configuration, locate the Guest OS line under File Location and click on the Boot Sequence link to open the Booting Options tab.

  • Increase the default memory allocation to 512 MB.

  • Select the CD/DVD Resource option in the left pane of the Configuration Editor and choose the Use image file radio button. Select the path to the .iso image file.



    Figure 14. FressBSD image file

    If you have not installed FreeBSD before, puhleeze read the handbook before and during installation: <http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html>

    When installing packages, you will most likely have to switch "discs". Go to Devices in the Parallels Desktop, select the CD drive and choose the option Connect Image...



    Figure 15. Swap image files when prompted

    After successful installation, you'll see FreeBSD as your Guest VM.



    Figure 16. FreeBSD virtual machine

    Post Install Euphoria and Reality Check

    Windows Server 2003 ran quite fast on my MacBook Pro (2.16 GHz, 2 GB RAM) and iMac (2 GHz Intel Core Duo, 2 GB RAM). I ran SQL Server 2000, a QuickTime movie, Photoshop and various Office 2003 applications on the Guest OS while working in Fireworks, Photoshop, Entourage and Keynote on the Mac OS X Host. No delays, screen redraws or other obvious hits to performance on either Host or Guest.

    Both the Windows Server 2003 and FreeBSD VMs used the virtual network adaptor without any re-configuration. Despite being the latest update release candidate (build 1884, as of this writing), there are still some USB glitches (some flash drives and Windows mobile devices were recognized, others inexplicably not; several USB drives that were recognized would not display files on the drive). This build also boasts compatibility with the quad-processor Mac Pro, completing support for the entire Intel Apple line. I had a little difficulty with networking on a new Mac Pro (two 2 GHz Intel Core Duos, 2 GB RAM) but the Parallels Forum (http://forum.parallels.com/) had workarounds posted that solved this and a few other known issues. I'm confident that improvements to support for the Mac Pro will come quickly.

    Setting up printing was simple. Since I experienced some USB device issues, I took the easy route and downloaded and installed Bonjour for Windows (from <http://www.apple.com/support/downloads/bonjourforwindows103.html>), turned on printer sharing in OS X and...it just worked.

    Want to back up your VM? Just copy the .hdd and .pvs files from the virtual machine directory in ~/Library/Parallels/ and you're set.

    One minor inconvenience is that you can't listen to audio CDs and you can't burn discs from within VM's but I don't consider this a deal breaker.

    3D graphics support is one of the most popular feature requests so keep an eye out for future updates to Parallels Desktop to accommodate the gaming set.

    Despite these few minor issues and inconveniences, Parallels Desktop is well worth its low price and the benefits of dead simple installation, admirable speed, seamless networking and - most importantly - the ability to switch instantly between host OS and guest VM's without a reboot.

    The Future

    At WWDC in August, VMware - the leader in virtualization software - announced a Mac port available later this year. VMware's entry into the Intel Mac VM market heats up the race to provide complete VM compatibility, performance and meet feature requests. It's always nice to have a choice and it's interesting that companies like VMware, who have a global presence, are keen on providing services for the OS X platform.

    Early this year, MacTech ran my article on distributed computing, and I wrote: "Of note, virtualization technology is built into Intel chips which will allow the machines to be partitioned to run different types of software like Windows or Linux at once, on top of Mac OS X. And hardware virtualization enables a system to run at near full-speed." We're there now! So what's next? Will Apple provide native virtualization in 10.5? Will you be able to create a VM through an app in Utilities or through a pref pane? The future will bring Mac users more choices and more cross-compatibility with other operating systems.


    Mary Norbury is IT Director at the Barbara Davis Center for Childhood Diabetes, an affiliate center at the University of Colorado at Denver and Health Sciences Center in Aurora, Colorado. She has extensive experience in cross-platform systems implementation and administration in the education sector. You can reach her at norburym@mac.com. (The XGrid and Tiger 10.4 article referenced is MacTech back issue Issue 22.02 and is also available in the MacTech 2006 Magazine Sampler found at http://www.mactech.com/sampler/)

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

Posterino 4.4 - Create posters, collages...
Posterino offers enhanced customization and flexibility including a variety of new, stylish templates featuring grids of identical or odd-sized image boxes. You can customize the size and shape of... Read more
Chromium 119.0.6044.0 - Fast and stable...
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all Internet users to experience the web. List of changes available here. Version for Apple... Read more
Spotify 1.2.21.1104 - Stream music, crea...
Spotify is a streaming music service that gives you on-demand access to millions of songs. Whether you like driving rock, silky R&B, or grandiose classical music, Spotify's massive catalogue puts... Read more
Tor Browser 12.5.5 - Anonymize Web brows...
Using Tor Browser you can protect yourself against tracking, surveillance, and censorship. Tor was originally designed, implemented, and deployed as a third-generation onion-routing project of the U.... Read more
Malwarebytes 4.21.9.5141 - Adware remova...
Malwarebytes (was AdwareMedic) helps you get your Mac experience back. Malwarebytes scans for and removes code that degrades system performance or attacks your system. Making your Mac once again your... Read more
TinkerTool 9.5 - Expanded preference set...
TinkerTool is an application that gives you access to additional preference settings Apple has built into Mac OS X. This allows to activate hidden features in the operating system and in some of the... Read more
Paragon NTFS 15.11.839 - Provides full r...
Paragon NTFS breaks down the barriers between Windows and macOS. Paragon NTFS effectively solves the communication problems between the Mac system and NTFS. Write, edit, copy, move, delete files on... Read more
Apple Safari 17 - Apple's Web brows...
Apple Safari is Apple's web browser that comes bundled with the most recent macOS. Safari is faster and more energy efficient than other browsers, so sites are more responsive and your notebook... Read more
Firefox 118.0 - Fast, safe Web browser.
Firefox offers a fast, safe Web browsing experience. Browse quickly, securely, and effortlessly. With its industry-leading features, Firefox is the choice of Web development professionals and casual... Read more
ClamXAV 3.6.1 - Virus checker based on C...
ClamXAV is a popular virus checker for OS X. Time to take control ClamXAV keeps threats at bay and puts you firmly in charge of your Mac’s security. Scan a specific file or your entire hard drive.... Read more

Latest Forum Discussions

See All

‘Monster Hunter Now’ October Events Incl...
Niantic and Capcom have just announced this month’s plans for the real world hunting action RPG Monster Hunter Now (Free) for iOS and Android. If you’ve not played it yet, read my launch week review of it here. | Read more »
Listener Emails and the iPhone 15! – The...
In this week’s episode of The TouchArcade Show we finally get to a backlog of emails that have been hanging out in our inbox for, oh, about a month or so. We love getting emails as they always lead to interesting discussion about a variety of topics... | Read more »
TouchArcade Game of the Week: ‘Cypher 00...
This doesn’t happen too often, but occasionally there will be an Apple Arcade game that I adore so much I just have to pick it as the Game of the Week. Well, here we are, and Cypher 007 is one of those games. The big key point here is that Cypher... | Read more »
SwitchArcade Round-Up: ‘EA Sports FC 24’...
Hello gentle readers, and welcome to the SwitchArcade Round-Up for September 29th, 2023. In today’s article, we’ve got a ton of news to go over. Just a lot going on today, I suppose. After that, there are quite a few new releases to look at... | Read more »
‘Storyteller’ Mobile Review – Perfect fo...
I first played Daniel Benmergui’s Storyteller (Free) through its Nintendo Switch and Steam releases. Read my original review of it here. Since then, a lot of friends who played the game enjoyed it, but thought it was overpriced given the short... | Read more »
An Interview with the Legendary Yu Suzuk...
One of the cool things about my job is that every once in a while, I get to talk to the people behind the games. It’s always a pleasure. Well, today we have a really special one for you, dear friends. Mr. Yu Suzuki of Ys Net, the force behind such... | Read more »
New ‘Marvel Snap’ Update Has Balance Adj...
As we wait for the information on the new season to drop, we shall have to content ourselves with looking at the latest update to Marvel Snap (Free). It’s just a balance update, but it makes some very big changes that combined with the arrival of... | Read more »
‘Honkai Star Rail’ Version 1.4 Update Re...
At Sony’s recently-aired presentation, HoYoverse announced the Honkai Star Rail (Free) PS5 release date. Most people speculated that the next major update would arrive alongside the PS5 release. | Read more »
‘Omniheroes’ Major Update “Tide’s Cadenc...
What secrets do the depths of the sea hold? Omniheroes is revealing the mysteries of the deep with its latest “Tide’s Cadence" update, where you can look forward to scoring a free Valkyrie and limited skin among other login rewards like the 2nd... | Read more »
Recruit yourself some run-and-gun royalt...
It is always nice to see the return of a series that has lost a bit of its global staying power, and thanks to Lilith Games' latest collaboration, Warpath will be playing host the the run-and-gun legend that is Metal Slug 3. [Read more] | Read more »

Price Scanner via MacPrices.net

Clearance M1 Max Mac Studio available today a...
Apple has clearance M1 Max Mac Studios available in their Certified Refurbished store for $270 off original MSRP. Each Mac Studio comes with Apple’s one-year warranty, and shipping is free: – Mac... Read more
Apple continues to offer 24-inch iMacs for up...
Apple has a full range of 24-inch M1 iMacs available today in their Certified Refurbished store. Models are available starting at only $1099 and range up to $260 off original MSRP. Each iMac is in... Read more
Final weekend for Apple’s 2023 Back to School...
This is the final weekend for Apple’s Back to School Promotion 2023. It remains active until Monday, October 2nd. Education customers receive a free $150 Apple Gift Card with the purchase of a new... Read more
Apple drops prices on refurbished 13-inch M2...
Apple has dropped prices on standard-configuration 13″ M2 MacBook Pros, Certified Refurbished, to as low as $1099 and ranging up to $230 off MSRP. These are the cheapest 13″ M2 MacBook Pros for sale... Read more
14-inch M2 Max MacBook Pro on sale for $300 o...
B&H Photo has the Space Gray 14″ 30-Core GPU M2 Max MacBook Pro in stock and on sale today for $2799 including free 1-2 day shipping. Their price is $300 off Apple’s MSRP, and it’s the lowest... Read more
Apple is now selling Certified Refurbished M2...
Apple has added a full line of standard-configuration M2 Max and M2 Ultra Mac Studios available in their Certified Refurbished section starting at only $1699 and ranging up to $600 off MSRP. Each Mac... Read more
New sale: 13-inch M2 MacBook Airs starting at...
B&H Photo has 13″ MacBook Airs with M2 CPUs in stock today and on sale for $200 off Apple’s MSRP with prices available starting at only $899. Free 1-2 day delivery is available to most US... Read more
Apple has all 15-inch M2 MacBook Airs in stoc...
Apple has Certified Refurbished 15″ M2 MacBook Airs in stock today starting at only $1099 and ranging up to $230 off MSRP. These are the cheapest M2-powered 15″ MacBook Airs for sale today at Apple.... Read more
In stock: Clearance M1 Ultra Mac Studios for...
Apple has clearance M1 Ultra Mac Studios available in their Certified Refurbished store for $540 off original MSRP. Each Mac Studio comes with Apple’s one-year warranty, and shipping is free: – Mac... Read more
Back on sale: Apple’s M2 Mac minis for $100 o...
B&H Photo has Apple’s M2-powered Mac minis back in stock and on sale today for $100 off MSRP. Free 1-2 day shipping is available for most US addresses: – Mac mini M2/256GB SSD: $499, save $100 –... Read more

Jobs Board

Licensed Dental Hygienist - *Apple* River -...
Park Dental Apple River in Somerset, WI is seeking a compassionate, professional Dental Hygienist to join our team-oriented practice. COMPETITIVE PAY AND SIGN-ON Read more
Sublease Associate Optometrist- *Apple* Val...
Sublease Associate Optometrist- Apple Valley, CA- Target Optical Date: Sep 30, 2023 Brand: Target Optical Location: Apple Valley, CA, US, 92307 **Requisition Read more
*Apple* / Mac Administrator - JAMF - Amentum...
Amentum is seeking an ** Apple / Mac Administrator - JAMF** to provide support with the Apple Ecosystem to include hardware and software to join our team and Read more
Child Care Teacher - Glenda Drive/ *Apple* V...
Child Care Teacher - Glenda Drive/ Apple ValleyTeacher Share by Email Share on LinkedIn Share on Twitter Read more
Cashier - *Apple* Blossom Mall - JCPenney (...
Cashier - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Blossom Mall Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.