Gentoo Forums
Gentoo Forums
Quick Search: in
recover a de-allocated mac OS X parition? [solved..]
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
tsinghoi
n00b
n00b


Joined: 28 Sep 2005
Posts: 15

PostPosted: Wed Mar 14, 2007 5:25 pm    Post subject: recover a de-allocated mac OS X parition? [solved..] Reply with quote

I wanted to install gentoo on my laptop which I got pretty recently. I havent installed gentoo for a year or so and I saw that it now has an installer!! so I eagerly went to test that out. Well things didnt seem to work and I decided to hit install anyways and I get an error. I restart and yay. no more OSs on my laptop!

Anyways my original hard drive layout was Windows on the first partition (NTFS) and then OS X 86 on the second partition (HFS?). I resized windows and made it smaller by 10 gb. Then I ran the installer and stuck my extended parition in between the mac and windows paritions and stuck my linux paritions as logical partitions inside. Well after I hit Install, it ran for a few seconds and then gave me an error. When I rebooted, Acronis OS selecter couldnt find the mac OS and windows wasnt even booting to begin with. So I ran disk director and on the layout it shows my windows partition is recognisable and fine, but then it shows my3linux partitions (boot, swap, and /) as linux native, swap, and linux native, and then it shows my mac partition at the end as "unallocated". I really want my mac os x partition back, and it should still be there. So how do I repair this?

EDIT: after searching for programs online I found this thing called "testdisk." It was a lot easier than I thought it would be.


Last edited by tsinghoi on Fri Mar 16, 2007 1:31 am; edited 1 time in total
Back to top
View user's profile Send private message
IQgryn
l33t
l33t


Joined: 05 Sep 2005
Posts: 734
Location: Chicago, IL USA

PostPosted: Wed Mar 14, 2007 8:27 pm    Post subject: Reply with quote

If you're sure that the partition lines up exactly with the "unallocated" space, you can create a new partition there and give it the appropriate type, and it should become visible again. Parted includes a rescue mode that can try to do this for you, but I don't know if it supports OS X partitions (and it modifies everything immediately, which makes me cringe). There may be other tools as well; I have not had to look into it recently.
_________________
If I post anything confusing or "magic", and you'd like to know more, please ask!
------------------------------------------------------------------
The volume of a pizza with radius z and height a is...

pi * z * z * a
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum