PDA

View Full Version : [ubuntu] cant boot mac


cysilver
December 10th, 2008, 02:28 PM
i have a new mac intel based and i installed ubuntu with bootcamp.
when i restarted the computer i didnt saw the boot for mac and now i cant go to mac os :S
i didnt erase the mac os drive
is there a way to boot the mac again?

help me plz

aysiu
December 10th, 2008, 06:36 PM
When you're booted into Ubuntu, can you paste this command into the terminal (http://www.psychocats.net/ubuntu/terminal) and then post the output back here? sudo fdisk -l

cysilver
December 10th, 2008, 08:22 PM
't support GPT. Use GNU Parted.


Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sda1 * 1 19458 156290903+ ee GPT

aysiu
December 10th, 2008, 08:29 PM
Yeah. Looks as if you wiped out OS X completely.

cysilver
December 10th, 2008, 09:09 PM
but in linux i can see the mac hdd drive
:S

pxwpxw
December 10th, 2008, 09:32 PM
Yeah. Looks as if you wiped out OS X completely.

No no, that is just the MBR, everything is still there. The usual effect is failure to load grub and linux, and the cure is to run the refit partiton tool to sync the mbr.

cysilver
December 10th, 2008, 09:34 PM
how can i do that? plz help me i dont want to lose my data on mac :S

pxwpxw
December 10th, 2008, 09:37 PM
Have you got rEFIt?

cysilver
December 10th, 2008, 09:38 PM
yeah but i cant access mac

cysilver
December 10th, 2008, 09:42 PM
my mac is a intel based :S

pxwpxw
December 10th, 2008, 09:43 PM
Are you using the ubuntu Desktop CD now, or what?

You can download refit in ubuntu and run gptsync.
But it shoud not stop you from booting macosx.
First try restarting while pressing 4 keys command-option-P-R
That might reset so Macosx starts.
Also the Macosx install DVD would be another way tocheck what happened.

pxwpxw
December 10th, 2008, 10:07 PM
If you have the Macosx install DVD, you can use that to set the startup disk to your Macosx, that may be it.

cyberdork33
December 11th, 2008, 05:18 PM
When you're booted into Ubuntu, can you paste this command into the terminal (http://www.psychocats.net/ubuntu/terminal) and then post the output back here? sudo fdisk -l

fdisk does not support GPT formatted hard drives such as those found in Intel Macs. It can only read the MBR partition table. parted does support gpt though:
sudo parted /dev/sda printwould list the partitions correctly.

cysilver
December 12th, 2008, 08:39 AM
sorry for bothering you guys but i needed the computer fast and i gain the data from the mac dvd install disk but i lost lots of data but thx alot