Thursday, March 19, 2009

Tutorial: Apple Boot Camp for 64-bit Windows 7 (including Macbook Air)

**UPDATE** if you have Snow Leopard and want 64-bit Windows 7 but get a rejection from the installer, go here and read this tutorial:

http://www.techulous.com/hardware/how-to-apple-boot-camp-64-bit-for-windows-7-on-unsupported-macs.html

I can confirm it all works, including the Apple USB Ethernet device for Macbook Air users with no mucking around as per this blog post.

However... if you don't have Snow Leopard, then read on:

Ok I finally got my Air fully up and running with the gorgeous windows 7 (build 7057) in 64-bit no less ... with a few tricks. This tutorial includes support for the infamous Apple USB Ethernet driver for 64-bit windows.

By the way, you WILL need a CD/DVD drive that is supported on both operating systems. In the case of the Air I recommend the excellent Apricorn portable CD/DVD-RW drive, which only needs a USB cable for power.


Step 1: Preparation
Boot your mac and click on spotlight. Enter "boot camp assistant" and launch the application. Follow its instructions to partition your drive.

I gave a larger partition to windows as it is my primary office software vehicle. I also develop software for the platform and need the space... if you just want to play then give Windows 10GB or so.

At some point, BCA (Boot Camp Assistant) will want you to insert your winodws 7 disk. Do so and the Mac will reboot.

Step 2: Windows Installation
Your DVD will gronk and the windows installation tool will start. Select your boot camp partition and click on "format" to apply NTFS. At this point you loose the title "BOOTCAMP" for the partition but we will rename it later.

Answer the few questions and let the thing gronk away. At one point it will reboot. On the Air, this puts you back into the Mac OS, so you will want to restart the mac and hold the option key down when you hear the "bong" and wait until it gives you boot partition options. Double-click on the Windows harddrive to launch back into the installation.

Its important not to click ont he Windows DVD drive, which will also be an option.

Windows installation will continue and eventually allow you to log in. You will have a very basic GUI because it does not yet understand the mac hardware.

Step 3: The Mac Drivers for Windows
While logged into windows, and before you do anything else, insert your Mac OSX installation CD. If an AutoPlay option comes up, do not launch setup.exe. Instead, explore the CD and Enter it's bootcamp folder. Now we detour a bit for the sake of Windows 7.

Enter the Drivers folder, then the Apple folder and you will find two *.msi files at the bottom: BootCamp.msi and BootCamp64.msi. 32-bit users run the first, and 64-bit users the second.

The Apple installation will take a while and occasionally ask for a security prompt. Also, during the graphics driver installation your display may suddenly update.

Next, locate the NVIDIA folder and run the nvidiachipset64.exe file (leave off the 64 for 32-bit windows). When prompted for which components to install, just check the NVIDIA SMBus and SMU drivers.


Once this process is concluded, reboot your Mac. Make sure to hold the option key down in order to select the windows harddrive.

Step 4: Finalizing the Driver Installation
You should have working wireless, keyboard (with backlight), and multitouch features, but we are not quite done yet.

Now, click on the windows start orb and in the search field enter "windows update". Dclick on the tool to launch update. Select all available updates (including the optional ones) and let windows do its thing. This will most likely find a newer NVIDIA windows driver. Reboot if necessary.

You may still not see aero effects. Right-click on the desktop and select "personalize". Here, click on the "landscape" theme because its my favorite :) This will also turn on the Aero graphical effects.

Note that Apple provides a Boot Camp management tool in windows that is accessed (oddly enough) through the notification icon area of Windows in the far-right section of the taskbar. You may not see it unless you click on the little "up" arrow. Their icon is a grey diamond.

This tool will let you set a lot of apple driver specific features such as double-tap on the track pad.

Step 5: That pesky Apple USB Ethernet dongle
Yeah, this is a bit tricky as there is no Vista boot camp driver for it. But there IS a driver from the boot camp community. If you have XP and 32-bit you can go to this site and try your luck:

http://tnkgrl.wordpress.com/2008/02/10/windows-drivers-for-apple-usb-ethernet-adapter/

If you have Vista or Windows 7, we need to get the latest versions and make some INI file changes. First, download the driver files at this manufacturer site:

32-bit:
http://www.asix.com.tw/FrootAttach/driver/AX88772_772A_Vista_32bit_Driver_v3.8.3.14_WHQL.zip
64-bit:
http://www.asix.com.tw/FrootAttach/driver/AX88772_772A_Vista_64bit_Driver_v3.10.3.14_WHQL.zip


Extract the zip file and locate the file Ax88722.inf. Open it in notepad and apply the changes discussed at the end of this blog entry. Save and continue.

Next, attach your USB ethernet if you have not done so. Launch device manager (start orb, search field, "device manager"). Locate the lonely unknown device "Apple USB Ethernet" and right-click it to select "Update Driver Software".

Select "Browse my computer for driver software" and in the file browser dialog select the folder of your recently modified .INI file and continue the wizard. This should bring your Apple USB ethernet to life!

Below is the .INI file change detail

------------------------------------------------------------------------

Near the top, locate the line:
[USB.NTamd64]
and add the following line:

%USB200M.DeviceDesc% = USB200M.Ndi,USB\VID_05AC&PID_1402

Next, locate the "Driver parameters" comment block. Above this you want to add the following:

[USB200M.Ndi]
AddReg = AX88772.NT.Reg, AX88772A.Con.Reg
Characteristics = 0x84
BusType = 15
CopyFiles = CopyFile.Sys
*IfType = 6 ; IF_TYPE_ETHERNET_CSMACD
*MediaType = 0 ; NdisMedium802_3
*PhysicalMediaType = 14 ; NdisPhysicalMedium802_3

[USB200M.Ndi.Services]
AddService = AX88772, 2, AX88772.Service, Common.EventLog


Search at the end for a section called "Localizable strings". We want to modify the first group of line entries just after "[Strings]" to be as follows:

ASIX = "Apple"
USB200M.DiskName = "Apple USB Ethernet Adapter CD"
AX88772.DeviceDesc = "ASIX AX88772 USB2.0 to Fast Ethernet Adapter"
USB200M.DeviceDesc = "Apple USB Ethernet Adapter"
MSI.DeviceDesc = "MSI USB Network Controller"
AX88772.DisplayName = "USB2.0 to Fast Ethernet Adapter"

22 comments:

Nate Enabnit said...

thanks! i was worried that this wouldn't work with win7. I am glad you figured it out!

luli said...

I`m having a problem installing to Macbook air...
When I try to run the intalation of the bootcamp drivers, I get a message saying that this computer does not support the 64 bit version of windows.

I tried installing the drives individually. Everyone installed (including the 2 related to the trackpad), but my trackpad is not recognizind multitouch (i.e. 2 finger scroll, and 2 finger + click for right click).
Also the keybord backlight is not working...

anyone knows a solution??? I searched everywhere..

cheers

You Gotta Be Kidding You said...

Luli,

can you confirm that you have multitouch enabled? In the far right of your taskbar near the battery strength indicator is a little "<" arrow. Click it and you will see a popup window with a collection of apps. If there is a gray diamond, select it. This is bootcamp.

In the bootcamp settings dialog on the trackpad tab, verify that "secondary click" is checked.

My keyboard backlight works well. Ill think about that one.

[Insightfully,Heidi] said...

this seems so foreign to me, but i see that you know your way around a computer! lol, im having a few problems and i was wondering if you'd be able to give me some helpful answers--to start:

1) I'm buying a macbook pro for my second yr of college and im not sure if these 'specs' are sufficient for the performance im looking for...

-4GB 1066MHz DDR3 SDRAM - 2x2GB

-250GB Serial ATA Drive @ 5400 rpm [OR] 320GB Serial ATA Drive @ 7200 rpm

-NVIDIA GeForce 9400M graphics

2) The reason im unsure of what specs would be needed is because im considering buying PS CS4, for WINDOWS* but running it on Parallel or bootcamp; the problem--i might need the 64-bit...instead of dismembering my Mac, is it possible for me to just configure my mbp with some serious hardware to endure quality/speed performance with 64-bit prgrams like PS CS4?

--Heidi

James Ratchford said...

Heidi, as long as you have the RAM it will be fine for what you are describing. I hear from the reviews that VMWare Fusion has taken the mantle from Parallels, though, and has the new advantage of being able to run the Windows programs right in your Mac environment, just a bit of a smoother level of integration, and can also let your Windows "virtual computer" boot solo in boot camp (for higher performance, ideal for Photoshop etc) or from within Mac OS.

RAM is the one asset that both OSes will be hogging, though, but 4GB is the right amount. CS4 can run on less than 2 gigs. I wonder why you would want to buy the Windows version, though. There is very little (if any) advantage to doing it that way, but an awful lot of added overhead. You're much better off just getting the Mac version. With the student discount you can get it right from Adobe.com for $299.

Unknown said...

YGBKY:

Nice post. I just bought a MB Pro 13 incher and Bootcamp'd Windowz 7 on it, The Office Suite including Outlook and ACT! CRM manager that runs SQL.

Guess what? It all works and runs FAST and of course looks amazing on the screen.

Issues I've had which forced me to not use that and continue using my Lenovo X61 for all those windows apps:

--sound is so low that you can't hear it.

--Touch Pad is so quirky it's frustratingly basically unusable. I gave it like three days to see if I could adjust but it's a SPAZ.

If I can get those two fixed via drivers, I'll switch back.

Any ideas?

Thanks, RM

Anonymous said...

the steps for enabling the USB Ethernet dongle worked perfect on Vista and Win7. Thanks!

Rock_lobster said...

Thanx for helping me get my Apple USB Ethernet adapter working!

Wrote a post with some further updates here:
windows-7-drivers-for-apple-usb-ethernet-adapter

sl said...

I just installed Windows 7 Pro 64 bit on a 80 gb bootcamp partition on my MacBook unibody with 4 gbs Ram but I can't install the bootcamp drivers. When I run the setup I'm told "Bootcamp x64 is unsupported on this this model."

The only thing I really miss is the multi-touch trackpad especially as I can't find a keyboard combination for rightclicking (it works fine with an attached USB mouse).

Any suggestions would be appreciated.
Thanks

Payam said...

Thnx for your post. regarding step 3, when I ran bootcamp64.msi it said that it couldn't be run because of elevation problem and it needed to be run through setup.exe
there wasn't any "Run as Administrator" opntion when use shift+F10 for more options
I used the following:
start->accessories-> go over command prompt
use shift + F10, then select run as administrator
then change the directory to d:\boot camp\drivers\apple
and then run bootcamp64.msi

You Gotta Be Kidding You said...

Hi,

Just FYI if you have Snow Leopard, read the update at the top of the post... Techulous.com has the perfect answer to it. This hack is only for Leopard.

It gets easier, thank goodness.

Anonymous said...

Thanks for the post. The Mac USB Ethernet drivers posted here did not work for me but the post send me in the right direction. You can get drivers that will work for both Windows 7 32 and 64 bit at the chipset manufactuer (ASIX Electronics): http://asix.com.tw/download.php?sub=searchresult. You need to install the driver manually; the device name will change from "Apple USB Ethernet Adapter" to "ASIX AX88772 USB2.0 to Fast Ethernet Adapter."

Unknown said...

Thank you, thank you! I had a really hard time finding a Windows 7 64-bit driver for the Apple USB Ethernet and your post works great. I downloaded the latest version from asix.com and then modified as you described. Now it works like a charm.

Unknown said...

I dont have the mac disk, but so far I've been able to install literally everything via 3rd party software and workarounds. for the mouse what I did is downloaded a program called "glovepie" which allows you to use an easy GUI (script writer) to mess with any and all input devices on your computer. I simply typed in "keyboard.ctrl and mouse.leftbutton = mouse.rightbutton"
meaning anytime you hold down control and click, it will right click. I really wish I could figure out how to program the bottom part of my trackpad as a deadzone though...

Anonymous said...

Legend!

Got my USB adaptor working in less than 5 minutes. Thank you so much!

Anonymous said...

G'day,
I tried modifying and save the file for the driver for my 32 bit windows 7 Notebook but didnt have any luck.
Any tips?
- Dylan.

Anonymous said...

Thanks a lot for putting this together.

I made the modifications to the inf file (not ini file) and got my USB to LAN adapte working for my Airbook with Windows 7 64 Bits without any problems.

Regards,
Peter

Anonymous said...

Thank you.

Vladox said...

Just attached the USB Ethernet dongle and Windows Update installed a driver from Apple version 3.10.3.10
And seems to be working OK, so no need to strange Driver tweaking, isn't it?

Anonymous said...

You guys rock! Thanks

JDawg said...

Astounding! Worked right away, thanks so much.

Anonymous said...

This worked perfectly.

I downloaded the x64 vista drivers and modified the ini file.

I reinserted the dongle and it started to update automatically, it warned me about an unkonwn driver but I just accepted this (probably due to the mods I made earlier) and it is now working perfectly.

Nice