Help me get my OSX back! Ubuntu/Mac questions inside.
Ok, so I did one of those very stupid things that is probably fairly easily fixable but is still a major pain in the butt, especially to someone who knows nothing about Mac OS.
I was playing around with the Ubuntu LiveCD and wanted to try the USB drive installation. Instead of choosing "Create a USB startup disk" option, I started an "Install", thinking that it would give me that option.
I stopped before any damage was done, but when I tried to boot back into my Mac OS there was no boot disk present. I suspect that the Ubuntu install, even though I aborted it, still repartitioned my Mac HD.
So I booted back into the Ubuntu, and started up GParted. I wanted to check with the experts here before I did anything colossally stupid.
I see:
/dev/sda1 | fat32 | EFI | 200.00MiB | ... | boot/dev/sda2 | hfs+ | | 74.21GiB | ... |unallocated|unallocated| | 125.53MiB | ... |
I'm guessing sda2 is my MacHD, and that I need to set the flag to 'boot'. But I don't recognize the other partitions, and when I untag the 'boot' flag from sda1, it turns into 'msftres', something I also don't recognize.
I am running Ubuntu 8.10, and my Mac OSX was 10.4 (if I remember correctly--it's the OS just before the newest one).
Can someone please help me get my Mac OSX back? While I'm not a complete tech n00b, where partitions and other OSs are concerned I feel rather helpless.
Boot into it and run through the setup screens. When you get to the point where you select a volume, move your mouse to the top of the screen. A menu bar should appear. Under some menu there's a way to launch "Terminal". Do that and run this command:
bless --folder /Volumes/[your HD name]/System/Library/CoreServices --file /Volumes/[your HD name]/System/Library/CoreServices/boot.efi --setBoot
Then type "reboot" and hopefully everything works!
BTW: the first partition is for EFI, which is the next generation version of BIOS. Specs require a 200MB partition to store stuff on, such as filesystem drivers. The second partition is your OS X partition.
posted by sbutler at 5:15 PM on January 9, 2009