Tried all this, didn't work for me on my Macbook Pro 5.1,
during install, it recommended separate (min 20mb) boot thingy, so i did as advised.(it said its not same as a seperate /boot partition)
just get a flashing cursor top left
-- insert pointless & boring PC specs here as a sig --
Thank you for this post, it saved me a lot of time. The only thing I am not clear about is the need for 2 Ubuntu install sources. I only needed the DVD, no USB install drive.
My existing triple boot with Snow Leopard fell apart after upgrading to Lion and I was left with only Ubuntu working.
This is the order that I reinstalled with no need of a second Ubuntu install media...
- Format the HDD to HFS+ and install Lion.
- Update Lion.
- Download and install rEFIt.
- Create two FAT32 partitions using Disk Utility.
- Reboot the Macbook with Windows Install Disk.
- Reformat one FAT32 partition to NTFS and install Windows 7 on it.
- Reboot Macbook with Windows 7 and install Apple drivers from USB drive.
- Reboot Macbook with Ubuntu Install Disk.
- Reformat remaining FAT32 partition to Ext4 and install Ubuntu 12.04 on it.
- After rebooting Macbook, Ubuntu will not load, "Missing Operating System"!
- Reboot to OSX, download and install gdisk.
- Follow gdisk partition modification instructions provided by "tgiulin".
Everything works fine, thanks again.
Hello,
the Tutorial works fine on my System (Macbook 7.1, Lion, Win7, Precise). I followed it except of installing Windows straight via Bootcamp software and resizing the Macintosh HD via disk utility.
Besides I have created a Data HD
After installing Ubuntu and reconfiguring the hMBR via gdisk GRUB2 starts on both partitions Win7 and Ubuntu. While installing Ubuntu I chose to install the bootloader into the same partition unless I err.
I would like to boot Win7 without GRUB 2 (and afterwards set the boottime delay to zero)
Aside from this I am not sure if it is really necessary to insert OS X into the MBR, according to the shortage of this hybride partitioning I would to put my data partition into the MBR partition table instead.
My Partition:
Code:*** Report for internal hard disk *** Current GPT partition table: # Start LBA End LBA Type 1 40 409639 EFI System (FAT) 2 409640 293378383 Mac OS X HFS+ 3 293378384 294647919 Mac OS X Boot 4 294647920 1719747431 Mac OS X HFS+ 5 1720010752 1835665407 Basic Data 6 1835665408 1953523711 Basic Data Current MBR partition table: # A Start LBA End LBA Type 1 1 409639 ee EFI Protective 2 409640 293378383 af Mac OS X HFS+ 3 1720010752 1835665407 83 Linux 4 * 1835665408 1953523711 07 NTFS/HPFS MBR contents: Boot Code: GRUB Partition at LBA 40: Boot Code: None (Non-system disk message) File System: FAT32 Listed in GPT as partition 1, type EFI System (FAT) Partition at LBA 409640: Boot Code: None File System: HFS Extended (HFS+) Listed in GPT as partition 2, type Mac OS X HFS+ Listed in MBR as partition 2, type af Mac OS X HFS+ Partition at LBA 293378384: Boot Code: None File System: HFS Extended (HFS+) Listed in GPT as partition 3, type Mac OS X Boot Partition at LBA 294647920: Boot Code: None File System: HFS Extended (HFS+) Listed in GPT as partition 4, type Mac OS X HFS+ Partition at LBA 1720010752: Boot Code: None File System: ext4 Listed in GPT as partition 5, type Basic Data Listed in MBR as partition 3, type 83 Linux Partition at LBA 1835665408: Boot Code: Windows BOOTMGR (Vista) File System: NTFS Listed in GPT as partition 6, type Basic Data Listed in MBR as partition 4, type 07 NTFS/HPFS, active
hi alchemistry,
If you don't insert OS X into the mbr, I don't think you'll be able to access your OS X HD, but if you have a data HD i guess that won't be a problem. Are you using refit? you're correct, grub2 should be installed on the same partition as ubuntu, so it sounds like for some reason booting windows, actually boots into ubuntu. my guess is that its because your ubuntu partition is listed before windows, i would try recreating your mbr so that windows is first.
tgeulin
Hello,
I solved the problem guessing that grub2 was written to the mbr. so i used boot-repair to delete grub2 from mbr and wrote it to the partition. the results are a bit confusing:
1. afterwards mbr-partitiontable was screwed up again (first four gpt partitions were listed in mbr), so i modified it as before. afterwards:
2. using refit everything works fine - ubuntu boots via grub2, windows boots as if there were no linux. using the native bootmanager (pressing alt-key while start) it gives me the rEFIt, a Windows and a Recovery partition. booting from Windows results in grub2...
3. on OS X Lion Disk Utility there are not any Linux and Bootcamp partitions but a unmounted and not mountable disk0.5. with an invalid sector size=0.
4. the protective-mbr-data read out via gdisk on ubuntu and on os x vary in boot-flags (ubuntu-gdisk shows linux hd boot-flagged, macintosh-gdisk shows bootcamp boot-flagged). refit partitioning tool also shows bootcamp boot-flagged.
5. maybe the gpt-partition-code of linux hd or bootcamp is wrong? it differs from yours, tgeulin.
Partition Inspector Results
Code:*** Report for internal hard disk *** Current GPT partition table: # Start LBA End LBA Type 1 40 409639 EFI System (FAT) 2 409640 293378383 Mac OS X HFS+ 3 293378384 294647919 Mac OS X Boot 4 294647920 1719747431 Mac OS X HFS+ 5 1720010752 1835665407 Basic Data 6 1835665408 1953523711 EFI System (FAT) Current MBR partition table: # A Start LBA End LBA Type 1 1 409639 ee EFI Protective 2 409640 293378383 af Mac OS X HFS+ 3 * 1720010752 1835665407 83 Linux 4 1835665408 1953523711 07 NTFS/HPFS MBR contents: Boot Code: Unknown, but bootable Partition at LBA 40: Boot Code: None (Non-system disk message) File System: FAT32 Listed in GPT as partition 1, type EFI System (FAT) Partition at LBA 409640: Boot Code: None File System: HFS Extended (HFS+) Listed in GPT as partition 2, type Mac OS X HFS+ Listed in MBR as partition 2, type af Mac OS X HFS+ Partition at LBA 293378384: Boot Code: None File System: HFS Extended (HFS+) Listed in GPT as partition 3, type Mac OS X Boot Partition at LBA 294647920: Boot Code: None File System: HFS Extended (HFS+) Listed in GPT as partition 4, type Mac OS X HFS+ Partition at LBA 1720010752: Boot Code: GRUB File System: ext4 Listed in GPT as partition 5, type Basic Data Listed in MBR as partition 3, type 83 Linux, active Partition at LBA 1835665408: Boot Code: Windows BOOTMGR (Vista) File System: NTFS Listed in GPT as partition 6, type EFI System (FAT) Listed in MBR as partition 4, type 07 NTFS/HPFS
Last edited by alchemistry; July 17th, 2012 at 01:39 PM. Reason: Results of Partition Inspector (Mac) added
Hello
Has anyone managed to use grub-efi instead of Refit ?
this would work also with debian according to you??
yea I also want to know that. Planning to install ubuntu as 3 operating system on Mac and my first attempt (before this guide) ended in destroying my Recovery HD partition.After installing, is the Recovery HD still available (either in the rEFIt loader or bootcamp loader) or detectable by OS X?
Bookmarks