Triple Boot Windows 8.1-Mavericks 10.9.1-Ubuntu 13.1 On Envy 4 Ivy Bridge Ultrabook

These days, there are only a few desktops, laptops or ultrabooks Operating Systems out there, Windows, Mac OSX and Linux. Chrome OS has its own thing called Chrome book but not very popular right now although it’s growing.

This post is to talk about how to install Windows 8.1, Mavericks 10.9.1 and Ubuntu 13.1 on the same hard drive of an Ivy Bridge (3rd generation Intel CPU-i5 3317u 1700Mhz turbo boost to 2.4Ghz bios) HD4000 Graphics HP Envy 4-1117nr Ultrabook. This tutorial should work on all Ivy Bridge laptops because the system is basically the same, the only things different would be the Wifi – Bluetooth – Ethernet – Sound – Trackpad – MMC card reader. Wifi and Bluetooth combo card can be replaced with a used inexpensive AR5B195 AR9285 Wifi and AR3011 Bluetooth combo.


This Tutorial is also for PC and Laptops 1st, 2nd and 3rd generation of Intel i5 – HD5700, HD3000 and HD4000. I did test with my 3 laptops – i5-460M HD5700 (No latic patching required) – i5-3240M HD3000 – i5-3317u HD-4000.

If you plan to use distros installers like Unibeast, Myhack or Niresh, this tutorial doesn’t apply. I spent weeks for reading materials from every where:,,,, rehabman and some other that I stumbled into. Every distro has its good stuff, I used to use myHack, Unibeast for my older computers, since I understand more about chameleon, clover boot loaders and Mac OS X, simple way is better than distros, at least I know what I install and NOT install. This simple can be update to new Chameleon version and Mavericks on the fly, don’t have to wait for distros to update. Everything needed is free on the web. I only put things that work not still in development.

1. My Mavericks on my Envy 4-1117nr can sleep/wakes and normal use for over a day while Windows 8.1 can’t.

2. Windows 8.1 and Mavericks USB 3.0 ports can both transfer 4.69GB file from USB 3.0 drive to Desktop in 63 sec. I really like that.

3. Windows 8.1 can use HDMI audio and SD card reader – The Mavericks loses there because the SD card is PCI and not supported – I can’t seem to patch the AppleHDA.kext to work with HDMI audio, but if I want to watch movies on big screen, I can use Windows 8.1. One day I’ll get the HDMI audio working.

Most of the laptops or ultrabook these days have white list in the bios which only accepts components approved by the manufacturer, but if we used the cards that are made by the same manufacturer, the bios can detect it very easily – This is HP Envy 4-1117nr that comes with Ralink 3290 Wifi and bluetooth, but when I replaced with an HP AR5B195, the bios detected the card right away.

Hard drive upgrade should be easy if the drive is less than 9.5mm thick for ultrabook – although 7mm is desired, make sure the back cover has room to close.

Memory module should be easy to add if the laptop has 2 slots. 

At the time of this tutorial – These hardware are inexpensive and should be obtained before doing this Multi OS’s installation.

1 USB DVD Writer with blank DVD to install Windows 8.1, 2 x 2GB USB flash drives for Chameleon Boot/OS X Base System Mavericks (small), 1 8GB USB flash drive for Chameleon Boot/OS X Base System Mavericks (full), 1 500/1000GB USB external hard drive for experimenting.


z_hd4000_0   z_hd4000_01

Download all these software apps for Mac OS X: Google them if I don’t have the links here.

Chameleon Wizard: to create SMBios.plist and edit org.chameleon.Boot.plist.

DSDTSE: to edit DSDT.aml files.

Kext Wizard: to install kexts and generate cache to different partitions.

myHack 3.3.1 : very useful tool for installing Chameleon – the version is R2266, but it does work well when installing to the OS X partition when the new version doesn’t work. Run myFix to update new system cache- works extremely well.

Kext Helper B7: to install kexts and update cache only on current working partition.

Kext Utility: update system cache.

OSX86Tools: to create Device-Properties string.

EFI Studio: to extract Ethernet En0 built-in and Graphics card PCI addresses.

ShowAllFiles: to show hidden files.

TextWrangler: text editor for editing kexts info.plist or any plist.

SuperDuper: to restore partition, back up working OS X partition to different drives.

Intel Power Gadget: to check if speed steps and turbo is working – this ensure sleeps/wakes.

SSDT generation: to generate your system SSDT.aml for full speed steps and turbo frequencies.

AICPMPatch: this is to patch the AppleIntelCPUPowerManagement.kext for C-states and P-states to work and to remove NullCPUPowermanagement.kext from Extension folder without Kernel Panic.

z_hd4000   z_hd4000_1

There are only a few bootloaders that can boot Mac, Windows and Linux. I only know Chameleon and Clover boot loaders. Windows  can boot other OS’s with the help of 3rd party windows application like EasyBCD, but when the new UEFI boot bios came lately, EasyBCD seems to be out and also Chameleon. Clover seems to be the only one that support UEFI.

Chameleon boot loader only works with MBR (Master Boot Record) partitions scheme. UEFI uses GUID Partition Table scheme. So, unless we change the system partition scheme to MBR, Chameleon can’t be used to boot multiple OS’s.

Clover boot loader is a new powerful boot loader which supports UEFI, but it’s extremely new and difficult to configure and use correctly.

Why PC manufacturers are using UEFI (EFI) instead of standard MBR? The GUID partition scheme can boot from larger 2TB drive and allow more than 4 primary partition compares to MBR. Also, it’s easy for them to install their own propriety software to control the hardware for consumers.

***If You Have To Re-Format and Re-Install Windows, install with MBR Partitions, it’s easier to Multiboot with Chameleon or EasyBCD than Clover. If You Can Install OS X in UEFI without Re-Format the drive and Re-install Windows, then try Clover***

On my Envy 4-1117nr, after shrinking a partition for Mac OSX, the Mac Mavericks Installer couldn’t format the partition due to the way G(UID)PT and Windows 8. So, I backed up the hard drive partition using Macrium Reflect and re-format the hard drive with MBR partition scheme so I can use chameleon boot loader for my Triple boot OS’s. Yes, I will lose all the management software loaded by HP which I don’t need. The Utilities to check for memories,  hard drives health can also be loaded onto a usb and run if I need to. Most people are afraid of changing the way the computer was installed, but remember, it’s only software and software can always be re-loaded. If you’re not sure about this then keep the UEFI or find the way to use Clover boot loader. If you’re prepared to have a great system with Windows 8.1, Mavericks and Ubuntu Linux, read on…

Before installing any Mac OS X onto your PC or laptop, always check the internal devices to see if they’re supported by Mac OS X. Better yet, before buying any PC or Laptop for installing Mac OS X, check the devices before actually buying them.

This is device ids of my original HP Envy 4-1117nr.

z_hd4000_2   z_hd4000_3

These days, laptop manufacturers use wifi – bluetooth module combo. The new one like this isn’t supported by Mavericks, hence I had to buy a $10 AR5B195 Atheros AR9285 and AR3011 (3.0) bluetooth combo to replace it. I bought a Broadcom BCM43225 combo, but I couldn’t get the wifi to work, so don’t buy this combo module.

z_hd4000_4   z_hd4000_5

z_hd4000_6   z_hd4000_7

1. Make sure to get the Windows 8.x product serial number for registration when you reload Windows 8 or upgraded to 8.1 (same class). Use the product serial extracted to get the Windows 8.1 ISO. When everything is done and burned, download all Windows 8.1 drivers for your laptop, in my case it’s HP Envy 4-1117nr.

2. Use Macrium Reflect to back up all partitions in case you want to go back to original STATE. Make sure to back up to an external USB hard drive because the internal hard drive will be wiped out in the process.

z_hd4000_8   z_hd4000_9

1. If you don’t have a Mac, use this method to create one.

2. If  you have a Mac, use this method to create one.

Alright, if you can’t afford to get a $40-$50 500GB USB external hard drive, I don’t think you should do this. I always installed and experimented any new Mac OSX onto external USB drive before I restore it to the internal hard drive because if it doesn’t perform as I expected with everything working, I don’t want to waste my time and effort going through installing Windows and wipe out my hard drive.

1. Boot to Mavericks installer to configure the external USB hard drive if you don’t have a Mac. Use one of those chameleon boot and installer we made before.

2. Install Mavericks onto the external USB hard drive.

Some common problems after installation.

A. Boot up stuck at IO Bluetooth controller – On the internet, many solutions referred to removing all the graphics kexts, it wasn’t the case, just replace the AppleACPIPlatform.kext to an older version, there are many on the internet for Mavericks.


AppleACPIPlatform.kext needed to fix all the smckeyerror and bluetooth hangs

B. “Waiting for root device” – If the laptop doesn’t have AHCI enabled option, we need to add the third party AHCI kext to the Extra folder to get the hard drive to recognize, also use USB3.0 generic kexts in the extra folder.

After installation, we need to add backlight control slider to dsdt and put it in the Extra folder.

Device (PNLF)
Name (_HID, EisaId (“APP0002”))
Name (_CID, “backlight”)
Name (_UID, 0x0A)
Name (_STA, 0x0B)

A fully working Mavericks should have all these features working:

1. Graphics QE/CI working – proof is translucent menu bar or ability to screen recording in Quicktime Player.

2. Wifi and Ethernet working natively – built in – hence replacing the non supported module with supported ones.

I have this weird problem with wifi – chameleon bootloader – clover bootloader works fine but other problems.

3. Ability to login to Itunes, Apps Store, iCloud, iMessage, Mail and FaceTime.

Device-Properties for HD4000 + Ethernet EN0 Built-in – Copy this whole string no space anywhere to your org.chameleon.Boot.plist


4. Boot into partition without any flags like -x -f cpus=1, etc.

5. Sleep/Wake – Speed steps – Turbo speed must work to save battery and performance when needed.

6. Sync Time Between Windows 8.1 and Mavericks

The important thing about install Windows 8.1 onto the hard drive is to NOT select UEFI installation and use normal installation option. The difference will be “HP” logo if install using UEFI and “Windows” logo NON-UEFI. Use Chameleon boot and Mavericks installer to partition the hard drive FIRST as MBR scheme and 1 partition only – format it to FAT or NTFS is fine.

Install Windows 8.1 To New MBR partition table.

Install Mavericks 10.9.1 Onto Hard Drive Partition.

Many people like to use 3rd partition software to split or create partition for Mac OS X. I think using Windows shrink partition option is the best because if something goes wrong, you can always use Windows to delete the partition, extend it and re-shrink again to a different size. Chameleon or any multi boot loader can access the partition easily.

I just tried the SuperDuper clone software and it works extremely well for restoring a fully working partition to hard drive. So this will be the preferred method to restore the fully working external USB hard drive Mavericks to the hard drive partition.

So, it doesn’t matter if you use method of installing from OS X Base Installer or Restore the working Mavericks from a USB drive, you still may have to fix the boot0: error and Windows /BootBCD error.  Here is how to fix it.


After finishing Dual Boot with Windows 8.1 and Mavericks – We can shrink another partition for Ubuntu installation – To make sure the Grub is not installed in the MBR, install the Grub to the Boot partition of Ubuntu.

Create Ubuntu USB flash drive

How to access Ubuntu Linux files from OS X Mavericks

Clover Multi Boot Boot Loader

6 Replies to “Triple Boot Windows 8.1-Mavericks 10.9.1-Ubuntu 13.1 On Envy 4 Ivy Bridge Ultrabook”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.