Jump to content
Welcome to InsanelyMac Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 

Linux and OSx86 On One GPT Drive

5 posts in this topic

Recommended Posts

Hey Guys,


I've ran into some problems when installing Linux on my OSX Drive.

I have 2 Drives:

1 500GB GPT Drive with only Mountain Lion installed

1 1TB MBR Drive for Windows and Data


yesterday I've tried installing Linux(in detail Ubuntu 12.04) on a second partition on the GPT Drive. I've used the --no-bootloader switch on ubiquity for protecting my chameleon install. Problem is now that Chameleon won't detect the new Ubuntu install whether ext4,ext3 or ext2 filesystem. This obviously refers to the missing grub2 bootloader of the Linux drive, but wouldn't be chameleon erased if I install grub2?

Any thoughts/ideas how to solve this mess are very appreciated.


Thanks in advance maltba

Share this post

Link to post
Share on other sites

Disclaimer: I have not tested most of this at all, and I am not responsible if your MBR is replaced with a bunch of angry hornets or something else equally interesting (Or data-destructive) happens. I am assuming that any of the partitions and/or disks we're messing with have all their (important) data BACKED UP.


NOTE: This is assuming that you have already installed Ubuntu WITHOUT installing GRUB. If you installed Ubuntu and INSTALLED GRUB, skip to step 3. If you haven't installed Ubuntu yet, install it normally (i.e INSTALL GRUB) and skip to step 3.

NOTE 2: I was not aware that Chameleon was capable of loading Linux at all. If this is the case, that might be a much less painful way of doing this.


1. Install GRUB2. It's been a while since I used Ubuntu, but I think there's something called Boot-Repair that'll do it for you from the Ubuntu liveCD. Google should be helpful.

2. Reboot and boot into Ubuntu (on your HDD), open and terminal: type sudo update-grub. Reboot again.

3. After the GRUB menu comes up (There may be an OS X entry already there, ignore it), hit C to open a GRUB console and type


If you know what drive OS X is on, then type

ls (hdX,Y)

Otherwise, just ls all of them until you find the right one. (It'll tell you the volume name and type among other things.) Now, write (Yes, with a pen. ;)) down the UUID that it printed for your OS X drive.

4. Hit ESC and select Ubuntu on the GRUB menu and boot into it again. Open a terminal and type

sudo nano /etc/grub.d/40_custom

Paste or type the following code into there. Be sure to insert the UUID you just wrote down.

menuentry "Your custom title goes here!" {
search --no-floppy --fs-uuid --set=root yourUUIDgoeshere
echo 'Loading Chameleon...'
multiboot /boot

Press CTRL+O and enter to save and CTRL+X to exit.

5. Type sudo update-grub in the terminal.

6. Reboot!

Share this post

Link to post
Share on other sites

You can install GRUB Bootloader, my advice would be to install the bootloader to the Linux partition then that way Chameleon will pick it up.


This is what I have done and it works flawlessly.

Share this post

Link to post
Share on other sites

NSCXP2005 is right. I've found this out just before opening the thread again for replying that i've found the solution.I was just a little bit to careful about my chameleon installation.

To sum up:

1.Boot your Ubuntu(or whatever) Linux Installation and go through it until you hit the Partition Selection screen.

2.Make sure your / filesystem is ext4(since others have reported that ext3 is somehow NOT working)

3.Make sure you select your / PARTITION(yes partition) for bootloader installation this will install the grub-stage1 loader into the GPT Partitions Bootblock and make it therefore detectable by Chameleon.

4.Have fun :)


Thank you all for your help


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.