How to Run Windows on an Intel Mac with Q

Windows XP on Mac

If you’re a mac nerd (heck, if you’re a plain ol’ nerd) you’ve probably heard about the success of a couple of guys to get Windows XP installed and booting on one of the new Intel macs.

For any mac user who wants to play games (once video drivers are found) or work directly with hardware (which is often difficult or impossible under emulation), this is great news. Once a more streamlined, simple process is found I’m sure this will cause more than a few Windows users to take the plunge and switch.

But working stiffs like me need a method of quickly jumping into Windows to test something, jump back to our text editor / graphics program / whatever to make a change, jump back into Windows to test that change, and so on. Having to shut Mac OS X down and boot into Windows just to test small changes would be a huge productivity drain (not to mention a big pain in the ass).

Up until recently Virtual PC (created by Connectix and now owned by Microsoft) was the best-known and fastest solution to the dilemma of running Windows programs on a mac. It allows you to run Windows in, well, a window under Mac OS X, just like any other application. Windows runs emulated (meaning all of the Windows code is translated on-the-fly), so the speed isn’t anything to shout to the rooftops about, but it’s usable.

(An aside: Considering that Rosetta (Apple’s technology for running PPC programs on Intel Macs) is basically on-the-fly emulation that translates PPC programs into something the Intel macs can understand, I would assume it’s not so crazy that a version of Rosetta could do the same for Windows programs. While I have my doubts that Apple would add this feature to Mac OS X any time soon, wouldn’t that be an incredible way to entice Windows users to switch? Hey you, got a Windows program and want to run it on Mac SO X? Just double-click on it and bang, it will just work. Ah, we can only dream.)

Unfortunately, Virtual PC doesn’t run on the new Intel macs yet, Microsoft has stated that they plan to port it over at some point, but what to do until then?

Enter Q.

Q LogoQ is an open source Cocoa port developed by Mike Kronenberg and cordney based on QEMU. It’s basically an x86 emulator that allows you to install Windows, Linux, or any other x86-based operating system onto a special disk image file and run it, ala Virtual PC, from inside of a Mac OS X window. It’s now available as a Universal Binary which runs on both Intel and PPC macs.

I spent some time today setting it up to see if it would be a usable replacement for Virtual PC and I’m happy to say that it works surprisingly well.

Q can convert existing Virtual PC disk images into Q disk images, but when I tried this on my Virtual PC disk image of Windows XP it wouldn’t boot. So I girded myself for the painful process of doing a new install of Windows XP on a fresh Q disk image.

Happily everything went reasonably well, though I still think the XP install process sucks hobo pants. Here’s what I did:

  1. Download the Q application from the Q web site and copy it to your hard drive. I grabbed the lastest unstable build (version Q-0.8.0d871) which seems to work just fine, though of course YMMV.
  2. Launch Q and select New Guest PC from the File menu.
  3. Give your new PC a name (“My new PITA” seems appropriate) and leave all of the General preferences at their defaults.

    Q Defaults

  4. Under Hardware I bumped the RAM to 1024mbs. Your setting will depend on how much RAM you have on your system, though of course the more the merrier. I checked off Soundblaster 16 (I don’t know if this matters or not) and changed Boot from to CD-ROM as I was going to install Windows XP from the original CD.

    Q Hardware

  5. A new PC appears in the Q Control window. Insert your Windows XP CD, select your new PC, and press the “Start PC” button in the Q Control window. If all goes well, you should see the Windows XP install process.
  6. Run through the install process. I formatted the new Q disk image as NFTS but I’m sure you could use FAT if you need to. I then went off to make muffins during the 50-odd minutes it took for the install to complete. You could take this time to vacuum your living room, spend some quality time with your sweetie, or do your taxes - ‘sup to you.
  7. I ate some muffins. Mmmmmm. Who needs cupcakes when there’s muffins?
  8. After the install completes and it’s time to restart the PC click on the Shut down PC button and clicked “Don’t Save”. I then went back into the preferences for my PC and changed Boot from to hard drive, crossed my fingers, and restarted my PC.

And it worked! Everything seems to be functioning correctly, and the speed is surprisingly bearable. I might even go so far to say that in places the speed is faster under Q on my Intel machine than Virtual PC was on my G5 iMac [1]. It’s still not blazing fast by any stretch of the imagination, but it’s quite usable for simple testing and working with basic applications.

Like Virtual PC Q also has the ability to save the current PC’s state. This allows you to restore the current PC’s state instead of having to boot Windows from scratch after quitting Q. Ethernet and Internet seemed to work just fine, and my keyboard and Wacom tablet worked without any problems.

Apparently there is already work being done on a kernel extension which will allow Q to run in virtualization mode rather than emulation, which means that Windows could potentially run near the full speed potential of the system’s processors. I won’t even pretend to understand how this could work, but it sounds high-falutin’ anyway.

So there you have it. If you have a need to run Windows but don’t want to have to quit out of Mac OS X to do it, Q is a good alternative. It’s open source, reasonably fast, and seems to work well enough for most things, and most of all it’s free. If you either can’t run Virtual PC (because you’re using an Intel machine) or can’t afford it, Q is worth looking into.

Note: There have been a bunch of reports of Windows XP hanging at the license authentication stage of the install. I really don’t understand the Windows licensing system very well, but my version is a volume license and it installed fine. It’s possible that the Q emulator and the Windows licensing system don’t get along very well. Anyone here without a volume license who managed to get through the install?

[1]: I just ran Virtual PC on my Powerbook as a comparison and it’s no contest - VPC is much, much faster. So I wanted to quantify my statement that Q’s performance was “bearable” - it’s that, but it’s definitely not as fast as VPC. Hopefully the virtualization work that is ongoing will bear some fruit and address the speed issue. ^back^

Comments

1 | dekay Author Profile Page said on March 20, 2006 7:18 AM

Re: your aside: Rosetta just translates the machine code - the system calls, function and other interactions, assumptions on the underlying system are still the same from PPC OSX to Intel OSX. To get something to work like this for Windows apps you would need a tranlsation of the system calls etc. not the binary code. This is what darWine is supposed to be doing some time ahead - then we would get true WindowsAppsInAWindow (at least for some apps)

Post a reply to this comment
2 | Graeme said on March 20, 2006 9:37 AM

Good alternative! Is it able to run fullscreen as well?

Post a reply to this comment
3 | Maarten Bennis said on March 21, 2006 10:46 AM

And what about printing and USB and FireWire support? Does it work?

Post a reply to this comment
4 | saverio penniconi said on March 21, 2006 12:21 PM

where did you get that background image? I want it too!

Post a reply to this comment
5 | Homer Simpson said on March 21, 2006 3:33 PM

Actually, being able to transparently run Windows apps under OS X would be a DISASTER. What you would then see is developers saying "Why should we spend time and money developing a separate OS X version of our software -- just buy the Windows version and run it on your Mac." Then the OS X platform woud hemorrage developers to the point where you'd mostly be running Windows apps on your Mac.

No thank you. Windows apps running this transparently would be a huge nail in the OS X coffin.

Post a reply to this comment
6 | Neill Massello said on March 21, 2006 7:24 PM

To my knowledge, Microsoft has not yet made any public commitment to getting Virtual PC running on Intel-based Macs.

Also, Virtual PC runs better on a G4 than on a G5, and that might account for the speed difference observed between your PowerBook and iMac G5.

Post a reply to this comment
7 | nobody in particular said on March 21, 2006 9:56 PM

.... except for the fact that there is a significant difference in the quality of most apps that run n the two platforms. Being able to run windows is NOT the same as having to use it all the time.

Practically no one that I have every met who has USED both (not just tried OS X) typically end up finding harmony with OS X and finally 'getting it' that Windows is... well... Windows.

Post a reply to this comment
8 | Steve White said on March 22, 2006 12:42 AM

By George, it works as you describe. I agree that the speed (on my iMac dual 2) is similar to Virtual PC on a G5 dual 2.0 for the simple things. I find VPC frustrating for anything other than simple tasks, so I'll be interested to see if Q also bogs down with more complex programs.

Per Homer's comment, I have to agree. I don't want developers to abandon us, and I'm not confident that the superiority of OS X is sufficient to keep them in the fold.

Thanks for the explanation of Q. I'm also going to compare this to the dual-boot scheme that's out there.

Post a reply to this comment
9 | Jan Peters said on March 22, 2006 11:39 AM

Try Windows NT - on my 12inch Powerbook both Q and Virtual PC are equally fast running NT 4.0. However, the copy & paste gives Virtual PC the edge...

Post a reply to this comment
10 | Gaston said on March 22, 2006 12:36 PM

Have you tried to install some application on your XP ? I've done a Windows 2000 installation and I bump into problem when I try to install something. I also have some problem with the disk space.

Any success for you ?

Post a reply to this comment
11 | Photoshp said on March 22, 2006 12:49 PM

Does Photoshop run faster on an Intel Mac under Rosetta or in Windoze under Q?

Thats the clincher..

Post a reply to this comment
12 | larry said on March 22, 2006 1:04 PM

I can't seem to Activate Windows XP Pro SP2 in this type of install. I also can't install updates. I can't even access the windows update website, just get an error. All other websites work fine. The Windows Activation Window just freezes. Any ideas?
Thanks
LJS

Post a reply to this comment
13 | bb said on March 22, 2006 1:18 PM

it didnt work for me ,,

boot failure code 0003
fatal : could not boot from disk

Post a reply to this comment
14 | ethelthefrog said on March 22, 2006 4:44 PM

When I'm going through the XP install process, it asks me to hit F8 to accept the installation, but Q doesn't seem to recognize the keystroke...any ideas how to get past this?

Post a reply to this comment
15 | Peter Payne said on March 22, 2006 7:43 PM

I thought that Q was a lot faster on my Intel iMac 20 inch than VPC, and it registered as a 1.66 mhz Pentium, so I had no complaints. However, as with the dual boot option, there aren't good drivers. The quickie video driver they've set up doesn't have enough vram to run in full screen at foll res on a 20 inch iMac.

Post a reply to this comment
16 | Bhagiratha said on March 22, 2006 11:54 PM

I just did a successful install of Q on my intel mac mini core duo. It registered my Intel mini's process or as an "Intel Pentium II" running at 1.67GHz.

It's running fast but not much functionality and options which I had with VPC 7. Non-the-less, it works for what I need it for.

Post a reply to this comment
17 | A Bored Guy With A Mac said on March 23, 2006 4:09 PM

My computer says: Setup cannot find a previous version of Windows installed on your computer. To continue, setup needs to verify that you qualify to use this upgrade product. Please insert one of the following Windows product CDs into the CD-ROM drive. Then it gives a list of items. I then press enter to continue, it does something, then says: Setup could not read the CD you inserted, or the CD is not a valid Windows CD. Then it gives the list again. Is it because I'm trying to install an upgrade disc?

Post a reply to this comment
18 | Jake said on March 24, 2006 12:59 PM

We are getting the error:
A problem is preventing windows from accurately checking the license for this computer. Error Code: 0x800703e6.
It occurs after the entire installation, when we try to login the first time.
This happens from a Windows XP select CD on: MacBook Pro, iMac G5 20" and a Mac Mini G4. Any ideas?

Post a reply to this comment
19 | dosh said on March 24, 2006 1:45 PM

Thanks VERY much for your article! I'm no hacker, but I got Windows running perfectly on my Mac. Thanks again... One question under the "I don't get it" category: I have an app on my Mac that is a PC app. How do I get that into the Q/XP window to run it? Related question, where are the files that are stored in the Q/XP? Is it all in that one .qvm file?

Post a reply to this comment
20 | Ari Kissiloff said on March 26, 2006 2:46 PM

To the reader who can't get f8 to work, I'd guess you may have a laptop that uses the f8 key to turn on the backlightng. Try fn-f8. (fn is the key in the lower left hand corner of apple laptops).Alternatively, go to keyboard and mouse control panel, keyboard pane, and amke sure "use the f1-f12 keys..." option is not selected.

You could also have dashboard/expose set to use f8. Go to dashboard/expose control panel and make sure f8 is not mapped to a function.

Hope that helps!

Post a reply to this comment
21 | Dave said on March 27, 2006 3:50 PM

I have the same error as Jake and it appears fairly common. Also, why isi that girl on the bottom right of the page? And why does Neil love me?

Post a reply to this comment
22 | Brent O'Connor said on March 28, 2006 11:53 AM

Great write-up on Q! I might be getting a iMac Core Duo in July so I'll have to give it a try. I don't really have a reason or the space to try it on my PowerBook.

Post a reply to this comment
23 | Daniel Brogan said on March 29, 2006 11:54 AM

So do USB devices work with this setup? I'm using Virtual PC to download and analyze files from a SRM cycling power meter -- I'd love to move to something faster.

Post a reply to this comment
24 | phillip Duff said on March 30, 2006 12:36 AM

Has anyone figured out whether you can use a Virtual PC6 file with Q on a G5 to save having to buy VP7 , as I don't have the original PC OS disks anymore...

Post a reply to this comment
25 | Michael Ward said on March 30, 2006 8:50 AM

I am most grateful for this excellent piece of advice. I was resigned to waiting for iEmulator or VPC to come on stream but thanks to you I got Windows 2000 up and running in no time at all on my new Mac Intel.

Networking needed a bit of tweaking, but that's working fine now. Only real disadvantage I've discovered to date as lack of USB functionality; I suppose that's because new G5 is exclusively USB 2.0, whereas Q se-up only seems to have option to set up USB 1.0. but perhaps I've missed something here. Anyway you have one very grateful reader here.

Thanks a million.

Post a reply to this comment
26 | Keith said on April 2, 2006 2:56 PM

We are installing on a 20"intel mac windows xp sans service packs. Go through the entire setup but it freezes at "please wait" after it re-adjusts the monitor on the last reboot. Now it's stuck at "A problem is preventing Windows from accurately checking the license for this computer. Error Code: 0x800703e6"

Ileft it on please wait for about 2 hours before i force rebooted it. I've installed it twice and it freezes at that spot all tiems.

Post a reply to this comment
27 | Neil replies: (April 2, 2006 3:05 PM)

I just added this note to the entry:

There have been a bunch of reports of Windows XP hanging at the license authentication stage of the install. I really don’t understand the Windows licensing system very well, but my version is a volume license and it installed fine. It’s possible that the Q emulator and the Windows licensing system don’t get along very well. Anyone here without a volume license who managed to get through the install?

If anyone who successfully installed XP could mention if their license is single or volume, that would be helpful.

Post a reply to this comment
28 | arnewman said on April 4, 2006 11:25 PM

I'm pleased to say I was able to install XP (with SP 2) with a single license. Following your directions worked just fine, except for one glitch - on the 2nd reboot, the system resized the screen and then locked up on "Please wait..." At that point, I shut down the Guest PC, told it to boot from the hard drive, rebooted, and it came up just fine! So, thanks for the advice - this will be a good stopgap until I build the courage to install XP as dual boot. By the way, I'm on a MacBookPro, 2.16 GHz, 100GB HD, 2GB RAM. Cheers!

Post a reply to this comment
29 | Gregg Pankake said on April 5, 2006 2:43 PM

how do you work around the ctl+alt+del to log in? Q drops the moue as soon as yu hit the second key.

Post a reply to this comment
30 | andy said on April 19, 2006 3:20 PM

i am also pleased to say that i managed to install xp sp 2 with a single license. i followed the above instructions to the letter and i too had the freeze at the "please wait" screen. so i shut the pc down and told it to boot from hard disk and booted up again, and it all work perfectly. thanks very much for the instructions, a great help. on intel imac dual 2ghz, 1.5gb ram

Post a reply to this comment
31 | rajan Shokeen said on May 11, 2006 10:32 AM

Hi,

It sounds as if everything worked with you the best for XP under Q, how about the network or file sharing,

Any tip or hints.

I just want to use Win98 SE, but the file sharing or internet seems to hang or would'nt work.

Any help is most welcome

Thanks

Rajan

Post a reply to this comment
32 | TrackBack said on May 12, 2006 6:22 AM
33 | Josh said on May 21, 2006 12:25 AM

I came across Q a while ago, but never had a reason to install it, until today for an app I can't get for os x. I found this page due to my unsuccess below. I tried two times, neither was sucessfull. Here are the details.

I have VPC 6, but since I got my g5, my vpc 6 is useless.....I just tried installing onto Q xp pro sinle license from an install disk (not sp2) but it is not a "dell" disk or anything like that. It was taking several hours on my DP 2.7GHz G5. I chose the option for x86-64. It froze sometime after I put in my s/n but before completing. I rebooted the PC emuolator, and it froze again. I believe the second time it was at the licensing spot mentioned in the comments above. Neither time was a sucessfull install. I had allocated 1024MB for ram (2G total in my G5). I think i picked a 2GB image size, but maybe that is why installing was sooo slow. I also thought the image was to dynamically grow as needed. One thing I just now thought of while reading more reviews. The Q app I am using is not the latest version. That could be another factor in my troubles.

Post a reply to this comment
34 | Steffan said on May 22, 2006 8:20 AM

Hi, I've got Q working great on my iMac -- I'm using XP on Q. But, can Q recognise USB inputs from my Mac? This is the only reason I got Q, and I really need it to work. Could you help me get Q to recognise the USB ports on my Mac?

Thanks,

-Steffan

Post a reply to this comment
35 | Anand said on June 19, 2006 2:48 PM

can you tell me it would be safe if i insatll on a mac G4 ? plz suggest me....waiting for your reply

thanks in advance

cheers
andy

Post a reply to this comment
36 | montressor7 said on July 23, 2006 4:39 PM

I can't figure out how to install Windows Me. I've got my disk and s/n, but I don't seee any way to launch the install program on the cd. I'm lost. When I boot my guest pc I get the
"boot failure code 0003
fatal : could not boot from disk" message...

Post a reply to this comment
37 | Ryan said on October 7, 2006 4:47 PM

when it gets to the installing windows part it asks to find asms and it has a down arrow and all thats in there is a A drive

i don't know how to tell it where the file is (its on my windows cd but im not sure how to tell it that)

Please Help

Post a reply to this comment
38 | Jay Orange said on November 25, 2006 11:56 PM

Well... any ideas?? i`ve got the same error... "0003" not able to boot from my CD-ROM... i`m creating a DMG in the chance to run from a CD image... hope it works!

Post a reply to this comment
39 | q258 said on December 17, 2006 2:22 PM

No USB..?? Bummer.... :(

Post a reply to this comment
40 | zord said on January 2, 2007 11:24 PM

okay i got everthing set up and then i turn on the my pc thing and then it goes to the welcome screen and it says click on a user to get stared and there are no users how can i make a new one?

Post a reply to this comment
41 | Jeff Moore said on March 4, 2007 9:37 PM

FYI - I found the resolution to the licensing error.. Reboot in safe mode and install sp2. See this post http://marc.theaimsgroup.com/?l=qemu-devel&m=114250114700375&w=2

Post a reply to this comment
42 | Rafael Marin said on March 12, 2007 5:39 PM

I installed Windows Xp on my Intel Mac. It runs perfectly, the only problem I have is to get windows xp to use the built-in cd-rom of my mac. I dnt knw what the problem is. How do i solve this issue?

Post a reply to this comment
43 | Reggie Lima said on March 14, 2007 8:44 PM

I am trying to run the game FarCry in windows enviroment but every time I it play, it says cannot locate cdrom.
Is there any trick I could try?
My machine - IMAC 2,16ghz using boot camp to boot up in windows.
Thanks

Post a reply to this comment
44 | D. Carrasquillo said on April 9, 2007 8:45 PM

i downloaded Q and im trying to install windows xp pro on it, i get to where it says installing windows, and it is just stuck on 39 mins for about an hr or so... i need some help

Post a reply to this comment
45 | Dude said on April 17, 2007 11:05 AM

hey, im running an mbpro got xp under Q... works fine, i believe the only way to load programs (.exe) in xp is to create an iso file for Q to load as cdrom image. just copy whatever pc file into the iso file. dmg files do not work !! but how to convert dmg to iso, or better how to create an iso file on a mac. i dont know!

Post a reply to this comment
46 | Chris Arena replied to Jake's comment on July 6, 2007 1:21 PM

Did anyone ever answer your question about the error "unable to verify..." with error code 800703e6?

Thanks,

Chris

Post a reply to this comment
47 | Flaker said on July 11, 2007 9:11 AM

I have the same problem with the F8 key. I tried what you suggested, but still it doesn't recognize the keystroke :(
I'm very frustrated, help please!!

Post a reply to this comment
48 | Bryce said on August 7, 2007 7:03 AM

The first time i tryed i got stuck at 33mins left and now im getting stuck at the copying part im trying to install windows XP home on a Ibook g4 Please help!

Post a reply to this comment
49 | seth said on August 26, 2007 9:16 PM

Press Apple key and F8 for the whole press f8 to accept thing.

Post a reply to this comment
50 | Shak replied to bb's comment on October 28, 2007 12:41 AM

I had same error message. But then I tried to create disc image (.iso) and run it from there it worked.
I was installing Vista: "Loading windows files...". But it crashed again giving me this message "***stop: 0x0000......"

Any suggestions?

Post a reply to this comment
51 | TheSourMango said on December 10, 2007 2:04 PM

Im having the same problem as carasqillo.. im now stuck at 39 minutes left.. i don't want to cancel the installation but its been like this for about an hour soon.. help anyone? (running the install on the PS3 :D)

Post a reply to this comment
52 | me said on March 5, 2008 4:25 PM

for those who still have the f8 problem. make sure that f8 is not associated with "spaces" in the shortcut tab under system pref>keyboard
that fixed my problem... hope it helps you.

Post a reply to this comment
53 | Michael Arnold said on March 20, 2008 2:49 PM

Q is rrunning with xp, but only with 33 mhz, how can I change it.
mac g5 dual 2ghz

Post a reply to this comment
54 | chris said on April 5, 2008 3:16 PM

I dunno if you noticed, but there already is a compatibility layer to run Win32 executables on Mac OS X--it's called Wine.

Post a reply to this comment
55 | Brad said on April 18, 2008 2:41 PM

I work in a college network with windows folks who are constantly trying to force "Microsoft Standardization" on everyone. Q is not fast enough to handle a professional applications on my Intel Dual Macbook, but it can run Access, and network to our T drive for data bases and required forms, Outlook email, network printer support, provide network file storage and run small programs that developers only make for PC platforms.

It's a shame that Apple hasn't released an OSX for PC machines. Third party vendors have released working copies!

Post a reply to this comment

Post a comment

Remember Me?

Comments Preview:

Comments:

(Textile text-formatting is enabled - HTML will be stripped out):


ISSN 1499-7894
Recent Posts
SEARCH
Contact Archives Web Love Writing Photos FAQs Home