Oh god... I have messed up my partition table...

Page 1 of 1 [ 5 posts ] 

Madbones
Veteran
Veteran

User avatar

Joined: 7 Mar 2010
Age: 27
Gender: Male
Posts: 777
Location: In the zone

30 Jul 2012, 7:09 pm

Hello!
I have a system with the following partition table:
Disk0s1 Linux Ext3 100GB
Disk0s5 Mac OS Extended Journalized 100GB
Disk0s6 FAT completely empty nothing on it yet.

I installed Ubuntu first then OSX. Once I installed OSX I installed Chameleon and it didn't work (It just booted straight into Ubuntu 12.04) . So I looked up some commands in the hope that it would fix my problem and it did exactly the opposite!
Here is where I went wrong by typing in something I had no idea what it would do like a bloody idiot!
sudo fdisk -uy -f boot0 /dev/disk0
That right there is where it completely messed up.
I now cannot boot into anything and it just says: Boot0:done and nothing else happens.
How do I go about un messing this mess?
Thanks!


_________________
?Sometimes when you innovate, you make mistakes. It is best to admit them quickly, and get on with improving your other innovations.? -Steve Jobs.


Meistersinger
Veteran
Veteran

User avatar

Joined: 10 May 2012
Gender: Male
Posts: 3,700
Location: Beautiful(?) West Manchester Township PA

30 Jul 2012, 7:33 pm

Are you doing this on a Mac or a PC?

If this is on a Mac, you're out of luck. Macs use GUID.

If this is on a PC, you probably need to reinstall GRUB

From my days from working on a PC, ALWAYS INSTALL WINDOWS FIRST. Install your favorite hacked version of Mac OSX next, and finally Linux.



Madbones
Veteran
Veteran

User avatar

Joined: 7 Mar 2010
Age: 27
Gender: Male
Posts: 777
Location: In the zone

30 Jul 2012, 7:37 pm

Hackintosh ;)
I have managed to restore grub and I am now going to try and make it play nice with my OSX install. I would ideally like Chameleon to be primary, but at the time I installed the osses I was really tired and ill with a really really bad cold thing so I wasn't thinking straight at all :lol:


_________________
?Sometimes when you innovate, you make mistakes. It is best to admit them quickly, and get on with improving your other innovations.? -Steve Jobs.


Madbones
Veteran
Veteran

User avatar

Joined: 7 Mar 2010
Age: 27
Gender: Male
Posts: 777
Location: In the zone

31 Jul 2012, 8:04 am

Did a reinstall as I buggered it up beyond repair. Now I can get Grub to see it which is enough I guess. I select OSX and get a black screen though... So I am just trying to work out why that is.


_________________
?Sometimes when you innovate, you make mistakes. It is best to admit them quickly, and get on with improving your other innovations.? -Steve Jobs.


Meistersinger
Veteran
Veteran

User avatar

Joined: 10 May 2012
Gender: Male
Posts: 3,700
Location: Beautiful(?) West Manchester Township PA

05 Jun 2013, 1:56 am

Is your pc intel or AMD-based? If it's AMD, you got further patching to do on the kernal, if you haven't already done so.