This looks to be a good place to post this question
diskutil list /dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *320.1 GB disk0
1: EFI 209.7 MB disk0s1
[COLOR="Red"] 2: Apple_HFS Macintosh HD 265.6 GB disk0s2[/COLOR]
3: Apple_Boot Recovery HD 650.0 MB disk0s3
[COLOR="Purple"] 4: Apple_HFS rEFIt 939.5 MB disk0s5[/COLOR]
[COLOR="DarkGreen"] 5: EFI 52.4 GB disk0s6[/COLOR]
[COLOR="Red"]Red = Mac paritition[/COLOR]
[COLOR="Purple"]Purple = rEFIt partition[/COLOR]
[COLOR="DarkGreen"]Green = Linux partition[/COLOR]
All other partitions = danger don't touch !
I'm a newbe, too. I think the trouble I'm having is in the details. Everything I've read says the EFI partition is FAT. So I thought the rEFIt partition would be FAT, but your entry says Apple_HFS. Maybe this is why I cannot get it to work? The Linux partition says EFI, but what is the format type? Did you name that or did the system?
Thanks for you very helpful post! I have new ideas to explore.
sudo gpt -r show /dev/rdisk0
Code:sudo gpt -r show /dev/rdisk0
Paste the results, format with code tags using the # button in the toolbar.
Where, exactly, did you get the code brutuspa? If you are going to post a command that screws ppl's computer, don't post it. I don't know how you got it to work, but all of my machines are stuck in loading screen, thanks to you. why did I try it on almost all macs? Because I wanted to see if my MacBook Pro was the one causing the problem. Now, booting into safe mode won't even let me log in.
EDIT:
I had to boot into the small partition created once Lion is installed, load Disk Utility, and repair disk and repair disk permission to get my computer working again. I found some sources about the command "sudo /efi/refit/enable-always.sh" but I don't think it will work on Lion? No idea how all of my machines just froze up even after restarting 5 times.
Not to mention your a dick cheese for doing it on all your macs at once never trying it before, then freaking out....![]()
Has anyone been able to get either reFit or reFind to work on a 2011 MacBook Air Core i7 machine?
I followed Rod's instructions very carefully, but it just will not work. The GUI boot menu never shows up - it just boots right into OSX.
I tried installing on both the OSX partition and the ESP partition...no luck either way.![]()
rEFIt works fine for me on a 2012 MacBook Air with an i7 and Lion.
rEFIT is no longer maintained. You want rEFInd.
http://www.rodsbooks.com/refind/
http://sourceforge.net/projects/refind/
I have a clean Lion install on a MacPro, no previous rEFIT.
If I install rEFIT or rEFInd, will it work or do I have to follow one of the previous suggestions?
I really don't understand the problem. Why should it be "pretty simply dangerous"?
And what do you mean by "Later GPT partitions aren't protected."? Of course only for the first four partitions there will be a corresponding entry in the MBR (that's why it is called "hybrid MBR"). But that's all we need, isn't it?
I don't see any problems if you do it just the way I described it in my blog, with Windows on the first partition after Mac OS X (that's actually the 4. partition on the disk because of the EFI system partition and the recovery partition). Grub gets installed - as suggested from the Ubuntu installer - to the first sector of the system disk (and some of the code gets installed to the "reserved BIOS boot partition").
So if you select the Windows icon in the Mac bootmanager the grub code in the MBR will be executed.
I know but I don't have any problems with that. ;-) Of course I'm aware that I should never change the partitions from within Windows because these changes will only be reflected in the MBR not in the GPT.The result is every OS will interpret this disk differently.
That's right, but why should I ever overwrite the free space as long as I know that there isn't really free space. I mean, I setup a triple-boot system and therefore I know that the free space represents my Linux partitions.To an MBR application and operating system, those sectors are free space and fair game to overwrite.
Thanks for your answer and for the idea to only add the Windows 7 partition to the MBR.
I know but I don't have any problems with that. ;-) Of course I'm aware that I should never change the partitions from within Windows because these changes will only be reflected in the MBR not in the GPT.
That's right, but why should I ever overwrite the free space as long as I know that there isn't really free space. I mean, I setup a triple-boot system and therefore I know that the free space represents my Linux partitions.
So, personally for me there aren't any problems as long as I'm aware of my partitions scheme and what's going on. ;-)
Of course I understand that it's dangerous if you don't really understand how everything works. So I think setting up a triple-boot Mac is only for people who have a good knowledge of what's really going on. Otherwise you shouldn't do it.
For me it will be a simple alternative to my more complex way with rEFIt (as I described in my first blog post where I also changed the MBR entries). ;-)
But even my complex solution has worked out pretty well and I haven't had any problems so far.![]()
sudo /efi/refit/enable-always.sh
set -x
sudo bless --folder "$DIR" --file "$DIR/$LOADERNAME" --labelfile "$DIR/refit.vollabel" --setBoot
Folder Mode allows you to select a directory on a mounted volume to act as the ``blessed'' directory, which causes the system firmware to look in that directory for boot code.
and pier for least helpful...
When rEFIt fails it can render your computer unusable