20 December 2009

Windows Server 2008 R2 on my mac book air!

This post is following a previous one I have a Mac..How bad is it doctor?
I installed Windows 7 RC, which was working great. Nevertheless, i needed to run a Windows Server 2008 R2 with hyper-V. As this one can't run inside a VM, i decided to install it on my MacBook Air.
The steps are easy but there is one critical event to not miss...Here we go:
Copy the BootCamp folder from MacOSX DVD to a usb key, this will be mandatory later!

Start under MacOSX. Through the bootcamp application, make hard drive space to Windows.
Boot on the Windows Server 2008 R2 DVD, and make a normal install.
As the first logon, you must immediately install the bootcamp drivers through the usb key (the external dvd drive is not yet working from windows). Fire up the msi directly. If you don't and restart or logoff, you won't be able to logon again, because the apple keyboard is not installed and so ctrl+alt+del won't work!
I had to connect an external usb keyboard to do it !

Then you just have to make Windows Server 2008 R2 looks like Windows 7 through powershell:
import-module servermanager
Add-WindowsFeature Desktop-Experience
Add-WindowsFeature Wireless-Networking
Add-WindowsFeature Net-Framework
Add-WindowsFeature Telnet-Client
Set-Service -name Themes -startuptype Automatic
shutdown /r /t 15 /c "reboot to make themes service working"

Then you just have to activate the Windows 7 theme.

Installing Hyper-V prevent the laptop from hibernate:
Sleep and hibernate power features are not available when you enable Hyper-V technology on a Windows Server 2008-based portable computer

So i added a boot option to load Windows without Hyper-V:
bcdedit /copy {current} /d "Microsoft Windows Server 2008 - without hypervisor"
bcdedit /set {GUID of the previous command} hypervisorlaunchtype off


Anonymous said...

Hi Mathieu,

How do we enable hyper-v through the bios on a macbook ?

I am attempting this too but just concerned as there is no way i know i can access a APPLE bios / efi ?

you seem to be the light at the end of the tunnel here :-)

Kind regards

Mathieu Chateau said...

i don't have access to bios, and didn't have to... Intel VT was already active

Anonymous said...

Hi Mathieu,

Thanks for a quick reply, so basically if i install Windows 2008 R2 only (Not via boot camp), would it be enabled ? have you done that ?

or do you think I should install via boot camp ?

thanks so much

Mathieu Chateau said...

I did it through boot camp to preserve MacosX.

You just need to install through bootcamp, install latest BootCamp drivers and that's it. As i blogged, you MUST install bootcampdrivers at the first Windows Boot if you don't have a full size keyboard (like on the macbooc air)

Bill said...

I know this is late, but the delete key works as a Windows-style delete when you hold Fn. So the key combo is really Fn+ctrl+alt+Delete