1

I have been trying to dual boot OS X and Ubuntu on my MacBook Pro 7,1 and have found a few issues. First of all, I am using this guide. http://lifehacker.com/5934942/how-to-dual-boot-linux-on-your-mac-and-take-back-your-powerhouse-apple-hardware I have just installed Ubuntu and rebooted. I saw GRUB instead of rEFIt. When selecting Ubuntu and logging in, I get graphical glitches.

The glitches vary, and sometimes I get one before I hit the login screen.

When I try to boot OS X I get this:

http://i1084.photobucket.com/albums/j404/ryebread761/image_zpsdb83a7d9.jpg

However, I can get a terminal working nice!

So, my questions are: how do I get Ubuntu to work without graphic issues and how can I get OS X to boot again and preferably use rEFIt as the guide intended to boot the 2?

Quick Update: I have successfully booted OS X 10.8! I held option when starting, selected my OS X hard drive and from there it started rEFIt. I selected OS X and it booted as normal! Now I just need Ubuntu to work correctly.

Update 2: rEFIt now appears on startup, and the only issues is the Ubuntu graphics. If I can get unity to start correctly, and all the graphics to be displayed nicely, I'll be good. Yay, progress!

Update 3: In the process of reinstalling Ubuntu.

2 Answers2

1

Ok so there is an OSX entry. Have you tried selecting the OS X entry instead of the Ubuntu/Linux entry (using the arrow keys)? What happens then? UPDATE: Yes you have, but you get an error, you have updated that in your question

Update 1

Ok so from your updates it looks like you've made some progress; I'm relieved that you didn't wipe out your OS X partition! Also, putting rEFIt on is great as well. Could you specify (a) what MacBook Pro model you have (something like 6,2 or Mid 2010 which can be found by going to the upper left hand corner, clicking the Apple, click About This Mac >> More Info, and there it will say something like "Mid 2010') and (b) what version of Ubuntu?

If you can't solve your graphics problem (I would try googling it), then best bet would be to reinstall Ubuntu. I can help with specific install instructions for Mac, if you want. I've done this quite a few times. One thing - the Graphics problem might be because of what model your Mac is / if you installed it with EFI or BIOS support. Did you use the normal Ubuntu install disk, or the special Macintosh one?

I always use the Non-Mac version. The Normal version. I would advise that you do as well. It appears on the Ubuntu Apple hardware page (help.ubuntu.com/community/MacBookPro7-1/Quantal) that your 7,1 is supported quite well under 12.10. I would wipe out Ubuntu and then reinstall it and see how it goes.

Update 2

You say:

I've run into a couple roadblocks. 1. I went into disk utility and attempted to remove both the main Ubuntu partition and its swap. The swap refuses to be removed. 2. I somehow removed my Recovery Partition, is there any way to get this back? 3. Is there something else I should do to uninstall? rEFIt still has Ubuntu as an option (this may go away once I get rid of the swap)

Alright...

  1. I don't know why Disk Utility won't remove the swap partition. Just to clarify, you open Disk Utility, select your hard drive in the left-hand pane, then click on the "Partition" Tab, then select the Swap partition (whatever you named it) in the little graphic / table describing all your partitions on that drive (NOT in the left hand pane) under the title "Partition Layout" and click the small "-" button below the graphic / table and follow the prompts? Please give the error you receive if this doesn't work.

  2. I, too, have accidentally removed my recovery partition. Bummer. The only (safe) way to recreate the partition (or any way that I trust; you can Google the problem, but some of the ways online with custom scripts from other people seem a little sketchy) is to reinstall Mac OS X. This is actually not as bad as you think; you need to re-download your version of OS X (I assume Lion or Mountain Lion) from the Mac App Store, rerun the install. All your files and configs will be the same. Make sure you wipe out all the partitions after your main Mac one, though, first (including swap).

Then your recovery partition will be back where it started. Then you can reinstall Ubuntu. Also, when installing, at least when I installed Ubuntu 12.04 on my Mac, I did not use a swap partition. Typically 4GB is enough (default on Macs, maybe you have 8?) You can later create a Swap file which acts like swap but is just a file on disk in Ubuntu. I'm adding an Answer with all the info in the comments, which I'll update as your problem progresses. Having no Swap removes some added complexity to everything.

Kyle L
  • 2,177
0

Your grub configuration is wrong, I actualy just fixed this on my macbook pro. In grub configureation, /boot/grub/grub.cfg, delete the menu entries for "Mac OS X (64-bit) and (64-bit) but copy your uuid (where it says search --no-floppy --fs-uuid --set=root youruuidhere) and just put this:

menuentry "Mac OS X (32-bit)" --class osx --class darwin --class os {
    insmod part_gpt
    insmod hfsplus
    set root='(hd0,gpt3)'
    search --no-floppy --fs-uuid --set=root youruuidhere
        load_video
    chainloader /usr/standalone/i386/boot.efi
    boot        
}
menuentry "Mac OS X (64-bit)" --class osx --class darwin --class os {
    insmod part_gpt
    insmod hfsplus
    set root='(hd0,gpt3)'
    search --no-floppy --fs-uuid --set=root youruuidhere
        load_video
    chainloader /System/Library/CoreServices/boot.efi
    boot   
}

This method just dumps the grub bootloader into the efi component of the mac operating system instead of trying to load the xnu kernel manually with the kernel extentions. Grubs way of booting mac has never worked for me so i just use apples way of booting. Hope this works for you too.

P.S. This method i probably not the best because grub constantly reconfigures itself, instead of editing /boot/grub/grub.cfg it might be better to edit a grub config file such as the one that produces these entries, /etc/grub.d/30_os-prober or change grubs custom.cfg to add these and disable os_prober