Jump to content

Beginners guide to UEFI Triple/Dual boot OS X, Windows and Linux (Kali) on an single true-gpt ssd

dual boot osx windows efi gpt uefi clover acer s3 triple boot linux

Best Answer frankiee, 01 December 2013 - 01:15 AM

Nice guide! So, would that also work with Windows 7? Have a 64bit pro version and at least in theory it should also be EFI bootable.

Go to the full post


  • Please log in to reply
97 replies to this topic

Poll: Beginners guide to UEFI Triple/Dual boot OS X, Windows and Linux (Kali) on an single true-gpt ssd (24 member(s) have cast votes)

Did it worked for you?

  1. Yes (18 votes [75.00%])

    Percentage of vote: 75.00%

  2. No (6 votes [25.00%])

    Percentage of vote: 25.00%

Vote Guests cannot vote

#1
ctugt

ctugt

    InsanelyMac Protégé

  • Donators
  • 75 posts
  • Gender:Male
  • Location:Rotterdam
  • Interests:pc, hackintosh, servers, soccer, xbox360, work

Copyright © ctugt 2013 - end of time

 

:welcomeani:

 

If you applying this guide to a Acer S3-391 start at post #2. For other systems start at post #3.

 

This guide should work on OS X Mavericks, (im not sure about Mountain Lion), Windows 7 / 8 / 8.1 and Linux Distros with EFI support


Attention:

Before executing anything READ the full posts first! This will prevent any unnecessarily mistakes and questions.

Disconnect all other ssd/hdd/usb drives, just to be sure you don't mess it up! Keep it disconnected until you're done with everything!

 



Good Luck :thumbsup_anim:
 

Index

Usefull Guides

Requirements/Downloads

:star_smile:This wasn't possible for me without the following people :star_smile:
:star_smile:Thanks to Joseph51423, panpansh, iPoco, for helping me understand clover :star_smile:
:star_smile: Thanks to Download-Fritz for other support :star_smile:

:star_smile: Thanks to Enzo for letting me patch his original Chameleon's theme to a clover version :star_smile:
:star_smile:Special thanks to thevoiceover and pokenguyen
:star_smile:

:star_smile:The most gratitude to EMlyDinEsH (Elan driver creator and DSDT specialist) :star_smile:

Attached Files



#2
ctugt

ctugt

    InsanelyMac Protégé

  • Donators
  • 75 posts
  • Gender:Male
  • Location:Rotterdam
  • Interests:pc, hackintosh, servers, soccer, xbox360, work

Acer Aspire S3-391 Specifcations

Still working in progess in OS X

  • Sleep function, it only works running on batteries
  • The brightness key fn+arrow keys
  • Continue reading for wifi information
  • Appstore and iMessage will not work cause this notebook has no LAN

There are two kind of setups with different daughterboards for this notebook (the daughterboard on the Acer s3-391 is a extra board next to the maiboard for controlling msata and/or wifi).

  • Setup 1. Daughterboard with mini-pcie (with mini pci-e wifi card).

Attached File  9c88.jpg   75.02KB   89 downloadsAttached File  91xa.jpg   93.44KB   56 downloadsAttached File  6ov6.jpg   62.78KB   49 downloads

  • Setup 2. Daughterboard with MSATA and soldered shared Atheros wifi+bluetooth

Attached File  jown.jpg   240.81KB   46 downloadsAttached File  rpy3.jpg   147.49KB   46 downloadsAttached File  w91c.jpg   145.79KB   42 downloads
 
 
As OS X doesn't support the soldered Atheros wifi you have two options:

  • Option 1. You can buy the from setup 1 online and swap them, i'm still figuring out what the matching part numbers are (i did removed my MSATA 20GB SSD already before starting with triple boot)


#3
ctugt

ctugt

    InsanelyMac Protégé

  • Donators
  • 75 posts
  • Gender:Male
  • Location:Rotterdam
  • Interests:pc, hackintosh, servers, soccer, xbox360, work

Preperations for other systems then the Acer S3-391 (skip if you have the same notebook as post #2)

No, if you don't have the Acer S3-391 then don't use my specific system files, but instead, you need to have a working clover OS X installed and backup these files.

  • Custom kernal extentions;
  • DSDT.aml;
  • /EFI/CLOVER/config.plist;
  • /EFI/CLOVER/driver64UEFI/ all *.efi files

Extract my uploaded Acer_Aspire_ S3_391_OSX_EFI_Clover.zip and replace neccersairly files with you're own working files.

  1. Replace /EFI/CLOVER/ahci/patched/dsdt.aml with you're OWN;
  2. Replace /EFI/CLOVER/config.plist with you're OWN;
  3. Remove kext from /EFI/CLOVER/kext/10.9 and put you're OWN kext here;
  4. Remove *.efi files from /EFI/CLOVER/driver64EFUI and put you're OWN *.efi files here;

After this is done, everytime i tell you to use my files from Acer_Aspire_ S3_391_OSX_EFI_Clover.zip, Use this extracted/modified folder you just made yourself.



#4
ctugt

ctugt

    InsanelyMac Protégé

  • Donators
  • 75 posts
  • Gender:Male
  • Location:Rotterdam
  • Interests:pc, hackintosh, servers, soccer, xbox360, work

Create OS X Mavericks / Windows / Kali Linux installer usb's

 

 OS X USB Installer

  1. Go to a real or virtual OS X. Run the app Diskmaker X to create an installer usb (it automaticly formats the usb to gpt with journaled partitions).
    Windows-only users please use bdutility.exe and skip step #2 and #3. (I never tried those methods);
  2. Open terminal, use the command: diskutil list and look for the name OS X 10.9 Install Di.... in my case its /dev/disk1, take note of you're usb disk id;
    Attached File  7gnk.png   89.28KB   206 downloads
  3. Install and run the Clover Configurator app and go to Extra --> Mount EFI --> select the usb disk from you're note in the previous step. You should now see the usb's EFI volume in the Finder app;
  4. Copy the EFI folder located in my Acer_Aspire_ S3_391_OSX_EFI_Clover.zip  to the root of the usb installer EFI volume.

Windows USB Installer

You can only use a x64 dvd/iso, combined x32-x64 versions won't work.

  1. Format your USB-drive to FAT32 using Disk Utility or Windows Disk Management. (MBR or GPT, does'nt mather);
  2. Copy your Windows 8 DVD/ISO contents to the root of this USB-drive.

Kali Linux USB Installer
You can only use a x64 dvd/iso.

  1. Format your USB-drive to FAT32 using Disk Utility or Windows Disk Management (MBR or GPT, does'nt mather);
  2. Copy your Kali / Linux DVD/ISO contents to the root of this USB-drive;
  3. Create a folder called EFI on the root of the usb;
  4. Copy the EFI folder located in my Acer_Aspire_S3_391_Kali_EFI_Grub.zip to the root of this usb (For other linux distros you need to see their forums, look for *.efi boot files and a proper grub.config file. Ubuntu is a other easy option, cause they have alot of documentation).


#5
ctugt

ctugt

    InsanelyMac Protégé

  • Donators
  • 75 posts
  • Gender:Male
  • Location:Rotterdam
  • Interests:pc, hackintosh, servers, soccer, xbox360, work

Installing Mac OS X Mavericks in EUFI mode
 
BIOS
Enable UEFI mode, and disable secure boot.
 
Installation

  • Boot from you're Clover usb;
  • In the Clover bootloader, select "Boot OS X Install from Install OS X Mavericks", hit spacebar and choose with injected kext. The installer should work now/continue;
  • Use diskutil to format the drive as GUID. Then create two partitions with one as Mac OS Extended (Journaled) for OS X installation, (any size, OS X needs at least 8GB) the second one as free space, choose apply, close disk utility and install Be aware! OS X UEFI install goes in 2 installation steps, first it prepares the hdd, then it will reboot. So after the first reboot, repeat step 2 and the setup will continue.

First boot
After the installation completes succesfully, reboot from the Clover USB installer, select the installed OS X partition, (not the installation), press spacebar and choose "With kexts injected".
 
Setup an OS X account
 
Install latest Clover to the internal hdd/sdd with these custom settings:

  • Install for UEFI motherboards;
  • Themes;
  • Install RC scripts on target volume;
  • Install Clover Preference Pane.

After installing, there should be an EFI partition on the dekstop that's hidden by default. Go to the Finder preferences and choose to show the hard disk on the desktop. From this point on we'll call it the main EFI partition.
 
Add EFI files to the main EFI partition
Copy the EFI folder, located in the Acer_Aspire_ S3_391_OSX_EFI_Clover.zip, to the /EFI map inside the main EFI volume and replace the existing files.

You may also remove the boot folder from the main /EFI to remove the "boot from intenal efi" option at startup.
 

Installing kernal extensions
Install all kext files, loacted in the
Acer_Aspire_ S3_391_OSX_EFI_Clover.zip, /EFI/clover/kext/10.9 folder. Use Kext Wizard or Kext Utility to install them into S/L/E (System/Library/Extensions).
Attached File  6gwl.png   260.46KB   88 downloads

 

Install latest Clover configurator and configurate it

Boot entries

Attached File  Screen Shot 2013-11-30 at 2.50.02 AM.png   426.12KB   166 downloadsAttached File  Naamloos.png   680.89KB   85 downloads

In the picture above look at the ID 2 Volume in the Custom Entries list, in there you will see my personal so called UUID code. You need to replace it with youre own.

Its real easy to find the UUID, just reboot into clover, hit space on the OS X Recovery partition, and there you go.

Save the config.plist

 

Generate a fresh serial

  1. Open clover Configurator;
  2. Load you're main EFI/Clover/config.plist;
  3. Go to the SMBIOS tab;
  4. Hit the magic stick button/image on the right;
  5. On both left and right drop down boxes choose MacBook Air 5,2 (for other systems define you're own!);
  6. Press both of the shake buttons a couple of time;
  7. Hit ok --> Copy all data;
  8. Save the config.plist.

Themes

  1. Copy theme files to you're main /EFI/Clover/themes folder (i got three nice themes in the mavs_themes.zip, provided in the first post);
  2. Open Clover Configurator;
  3. Open you're main EFI/Clover/config.plist;
  4. Go to the GUI tab;
  5. Set the name of the theme here;
  6. Save the config.plist.

Spotlight Console spamming

When you mount a FAT32/NTFS or a faulty partition in Mavericks, especially EFI partitions which you will have if you do Dual or Triple boot, Spotlight will try to index your partition and fail, which leads to tons of console errors. To disable spotlight permanently in a specific partition, go to terminal and use the following command:

touch .metadata_never_index

Enable write to NTFS, under progress

 

Recommended system settings

  • Go to System Preferences --> Security - General --> Click the lock to make changes --> Allow apps downloaded from: Anywhere, confirm and lock again.
  • Go to System Preferences --> Trackpad --> Enable Clicking and Dragging, Adjust speed settings of you're trackpad to your likings.
  • Go to System Preferences -->Dock --> Enable magnification, and play with sizes.

Cleanup

  • Still working which EFI/CLOVER/drivers64UEFI/*.efi files the Acer S3-931 needs. Leave all excising for now.

Reboot
OS X should now be able to boot from the hdd/sdd without the usb.



#6
ctugt

ctugt

    InsanelyMac Protégé

  • Donators
  • 75 posts
  • Gender:Male
  • Location:Rotterdam
  • Interests:pc, hackintosh, servers, soccer, xbox360, work

Installing Windows 8.1 UEFI Mode

Boot the Windows 8 usb installer

Once in the setup it's almost straight forward:

Attached File  foto 1.JPG   180.18KB   184 downloadsAttached File  foto 2.JPG   221.75KB   121 downloadsAttached File  foto 3.JPG   240.62KB   117 downloads

1. Select unallocated space

2. Click "New", and choose partition size for windows (keep in mind you need to keep 5Gb for manual Recovery partition, and more for all extra operating systems you wanne install. You will see that windows need to add extra partitions, click "OK" to continue.
4. Again, click unallocated space and create a Recovery partition (5GB). (Only if windows didn't create it automaticly, otherwise skip this step)

5. Now select youre first Primary partition after the MSR (Reserved) and click "Next" to install windows.

 

Be aware! READ this post till the end before continuing.

The computer should start Windows automaticly without giving you an option to boot OS X from Clover. Read the next post to fix this.

 

Finish the recovery partition and make it active (Only if windows didn't created it automaticly)

  1. Once booted in Windows 8.1 deskstop.Hit the Winkey +R, and run "diskmgmt.msc";
  2. Here you will see youre earlier created Recovery disk, it RAW data though, so right mouse click on it and format it to NTFS;
  3. Right-click the partition, and then click Change Drive Letter and Paths;
  4. To change a drive letter, click Change, click Assign the following drive letter, click the letter that you want to use, and then click OK;
  5. Create a folder called Recovery on youre recovery partition;
  6. Insert the windows usb installer and copy /Sources/install.wim to the recovery folder on the recovery partition;
  7. Now run cmd in administrator mode and type: "reagentc /setosimage /path d:\recovery\install.wim /index 1".
  8. Verify that it works, so remove the usb (neccecairly step cause windows also search for the install.wim on the usb);

    1. Move your mouse cursor to top-right corner to show Charms Bar. Alternatively, you can press Win+C keys together to access it;

    2. Now click on "Settings" and then click on "Change PC settings" option;
    3. It'll open new Metro Control Panel screen. Click on "General" tab and in right-side pane, you'll see "Remove everything and reinstall Windows" option;

    4. Click on "Get started" button and Windows will show you Reset PC wizard. If it loads without an error that windows cannot find the recovery file, youre good and you can cancel the Reset your PC wizard.

     

Recommended

  • Keep note that the computername cannot be the same as the username, so DON'T enter you're wanted username in step 1 of the Windows personalization setup.
  • I also recommend that you do NOT connect Windows with you're wifi network in the Windows personalization setup, otherwise you'll need a Microsoft Hotmail/Outlook/Live account to login, you can only create a local account if you skip the wifi handshake.
  • If you want to read the OS X hfs drive from Windows, use MacDrive
  • If you have a SSD, then Enable TRIM, after windows has booted, create a shurtcut to cmd.exe on the desktop. Right mouse click on it and click  "run as Administrator" now type:
    fsutil behavior set DisableDeleteNotify 0


#7
ctugt

ctugt

    InsanelyMac Protégé

  • Donators
  • 75 posts
  • Gender:Male
  • Location:Rotterdam
  • Interests:pc, hackintosh, servers, soccer, xbox360, work

Fix Clover bootloader to dual boot OS X Mavericks / Windows 8.1 from ssd/hdd
 

After you installed windows you should notice that you can only boot windows 8. Thats normal for now.

  1. Boot from the OS X Clover usb again. (If you cant boot from usb and it goes to windows automaticly, just reset youre pc, as soon as it shows bios loading, reset it again, and then select usb as boot device)
  2. Select youre os x partition, hit spacebar, and choose with injected kext.
  3. Mount the main EFI with Clover configurator;
  4. Open the main EFI file drive on the desktop, browse to EFI/Clover and copy CLOVERX64.efi  to /EFI/Mircosoft/Boot.
  5. In EFI/Microsoft/Boot rename the file bootmgrfw.efi to bootmgfw-orig.efi
  6. In EFI/Microsoft/Boot rename the file CLOVERX64.EFI to bootmgfw.efi
  7. Reboot without the Clover USB

Clover entrie for Windows

Attached File  Screen Shot 2013-11-30 at 4.40.36 AM.png   382.21KB   499 downloads

 

Now you should have a working Dual boot OS X Mavericks and Windows 8.1 from the interal Clover EFI partition.



#8
ctugt

ctugt

    InsanelyMac Protégé

  • Donators
  • 75 posts
  • Gender:Male
  • Location:Rotterdam
  • Interests:pc, hackintosh, servers, soccer, xbox360, work

Installing Linux/Kali UEFI Mode

 

Boot from youre Kali installer USB, try to boot Kali Non persisent Mode, and confirm it works. If it fails to load you need to debug youre neccesairly boot drivers or try backtrack instead that it based on ubuntu.

Install

  1. Reboot from the usb drive and choose for "Kali Graphical Install" (Secure Boot, just wait and/or confirm that Secure Boot is disabled in bios
  2. Continue the setup and connect youre internet (is a must, otherwise Kali wont install efi boot file)
  3. While at step Partition Disk do the next thing choose "manuel" and you should see this: (the picture doesnt show the Recovery HDD of Microsoft, but your'e system will have it and show it when you followed this guide.
  4. Attached File  photo.jpg   222.71KB   92 downloads
  5. Double click on the "FREE SPACE" partition
  6. Create a new partition --> choose any size for Kali (Kali use at least 10GB)
  7. "Beginning"
  8. Make the setup simular to this picture
    Attached File  photo_1.jpg   331.83KB   70 downloads
  9. "Done setting up the partition"
  10. Double click "FREE SPACE" again
  11. "Create a new partition"
  12. Double amount of internal memory (i have 4GB internal memory, so i use 8GB)
  13. "Beginning"
  14. Again make the setup simulair to the next picture
    Attached File  photo_2.jpg   265.54KB   65 downloads
  15. "Done setting up the partition"
  16. If you did right you now see this:
    Attached File  photo_3.jpg   172.67KB   63 downloads
  17. "Finish partition and write changes to disk"
  18. "Yes"
  19. Let setup install
  20. Use a network mirror

After the installation completed, i found out that if you hit the F12 key at statup (boot menu startup key) You can choose debian here and boot Kali. The default username = root and the password=what ever you used in the setup.



#9
ctugt

ctugt

    InsanelyMac Protégé

  • Donators
  • 75 posts
  • Gender:Male
  • Location:Rotterdam
  • Interests:pc, hackintosh, servers, soccer, xbox360, work

Fix Clover bootloader to triple boot OS X Mavericks / Windows 8.1 / Linux (Kali) from ssd/hdd

 

Start Clover Configurator then choose -->File --> Open /EFI/Clover/config.plst

 

You will see if you have the Acer S3-391, Kali Linux will be added automaticly if you used my clovers config.plist. For other systems, make sure youre clover configurator shows the same information as my picture below.

Attached File  Screen Shot 2013-12-01 at 10.22.10 AM.png   388.32KB   277 downloads



#10
ctugt

ctugt

    InsanelyMac Protégé

  • Donators
  • 75 posts
  • Gender:Male
  • Location:Rotterdam
  • Interests:pc, hackintosh, servers, soccer, xbox360, work

Image and Recovery

I would defintly recommand you to create a full disk image, by this, if anything goes wrong you can put that image back and have the system working in 15/30 minutes again.
I tested a few image software packages, and i found out that Macrium Reflect is the way to go.

 

You can use the free version, create a usb/dvd from within the program and if it ask for linux or windows PE, use Windows PE.

Startup youre computer from the USB you just created, you do not need to edit any settings. Just image and youre good to go.

 

It supports gpt, i created a image, wiped the hdd, and succesfully putted the image back and it didnt messed up the boot codes and partition styles. etc

Great news, its free!

 

I tried Acronis True Image and Backup and Restore, but it failed cause it store the unallocated space to the beginning of the partition.

 

If you know any good free one feel free to post it, but only when you tested it youself and verified it worked.



#11
ctugt

ctugt

    InsanelyMac Protégé

  • Donators
  • 75 posts
  • Gender:Male
  • Location:Rotterdam
  • Interests:pc, hackintosh, servers, soccer, xbox360, work

F.A.Q. Frequently Asked Question

 

Q: Can i use any version of OSX/Windows/Linux?
A: Properly yes, but you need youre own patches for the right osx, also for grub that linux uses, you need a custom config file. Kali uses debian

 

Q: Can i use youre zip for my notebook?
A: No if you not have the Acer-S3-391, you need to read post #3 again.

 

Q: My Clover bootloader only give me a blue screen
A: You need the proper themes files in /EFI/Clover/Themes, and the proper default theme setting in /EFI/Clover/config.plist

 

Q: How to reinstaller or update clover?

A: 

  1. Update Clover with the installer
  2. Go to /EFI/CLOER/drivers64UEFI/ and remove VBoxHfs-64.efi
  3. Open the main EFI file drive on the desktop, browse to EFI/Clover and copy CLOVERX64.efi  to /EFI/Mircosoft/Boot.
  4. In EFI/Microsoft/Boot rename the file CLOVERX64.EFI to bootmgfw.efi / remove the old first

Q: After i install Windows updates, clover went dark, and pc boot straight to Windows.
A: Do these steps again!

 

 

 

 

 

 

Personal Notifications

 

To prevent USB devices from waking up your sleep, add this to your Devices section in config.plist
- USB Inject
- Add ClockID

Sleep
Turn off Wake on Ethernet in System Preferences and BIOS. If you have trouble with auto-wake caused by USB devices, turn off Wake on USB in BIOS, or enable USB fix in your config.plist. 



#12
NSCXP2005

NSCXP2005

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 585 posts
  • Location:Manchester UK
Excellent work mate. Would this guide and the pack provided work with a Samsung Series 5 540U3C Ultrabook?

The reason I ask is my Ultrabook has the same specs.

Thanks

#13
ctugt

ctugt

    InsanelyMac Protégé

  • Donators
  • 75 posts
  • Gender:Male
  • Location:Rotterdam
  • Interests:pc, hackintosh, servers, soccer, xbox360, work

Reserved



#14
Joseph51423

Joseph51423

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 100 posts
  • Gender:Male

Very nice guide.  Great job Thomas!



#15
besttech

besttech

    InsanelyMac Protégé

  • Members
  • Pip
  • 36 posts

Very Nice!



#16
slemblod

slemblod

    InsanelyMac Protégé

  • Members
  • PipPip
  • 66 posts
  • Gender:Not Telling

Nice guide! Thank you!

 

However, my Windows Install USB will not recognize that I partitioned my disk as GPT in the OS X Installer. Diskpart says that it cannot create EFI/MSR partitions on a non-GPT. I tried "convert gpt" but it says the disk is neither GPT nor MBR.

 

Also, I cannot mount the EFI partition created by OS X. Diskpart says that it is not a volume.

 

Any ideas?



#17
ctugt

ctugt

    InsanelyMac Protégé

  • Donators
  • 75 posts
  • Gender:Male
  • Location:Rotterdam
  • Interests:pc, hackintosh, servers, soccer, xbox360, work

Nice guide! Thank you!

 

However, my Windows Install USB will not recognize that I partitioned my disk as GPT in the OS X Installer. Diskpart says that it cannot create EFI/MSR partitions on a non-GPT. I tried "convert gpt" but it says the disk is neither GPT nor MBR.

 

Also, I cannot mount the EFI partition created by OS X. Diskpart says that it is not a volume.

 

Any ideas?

Yes, you proberly didnt format the disk to gpt, best way to convert it the right way is to use the windows installer disk, hit SHIFT + F12, be aware with this method it clean the hole hdd so you need to install everything again

type diskpart

list disk

select disk 0 (or own disk number)

clean

 

then use disk utility provided in the osx installer, follow the guide,

 

good luck i will add this to the the preperations post thanks



#18
frankiee

frankiee

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 201 posts
  • Gender:Male
  • Location:Earth
  • Interests:Everything

Best Answer

Nice guide! So, would that also work with Windows 7? Have a 64bit pro version and at least in theory it should also be EFI bootable.



#19
ctugt

ctugt

    InsanelyMac Protégé

  • Donators
  • 75 posts
  • Gender:Male
  • Location:Rotterdam
  • Interests:pc, hackintosh, servers, soccer, xbox360, work

Nice guide! So, would that also work with Windows 7? Have a 64bit pro version and at least in theory it should also be EFI bootable.


It proberly Will why dont you try and post results here so i can add it to the post, greets

#20
frankiee

frankiee

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 201 posts
  • Gender:Male
  • Location:Earth
  • Interests:Everything

Just a bit reluctant to try, bc I have already a working Win7 install, but apparently I choose the wrong partition style. (Coming from Chameleon)

 

But if I image the drive - maybe using Winclone - will I be able to restore it later in a bootable state?







Also tagged with one or more of these keywords: dual boot, osx, windows, efi, gpt, uefi, clover, acer s3, triple boot, linux


11 user(s) are reading this topic

0 members, 11 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy