

If you are having problems with an error message on pdisk saying “the map is not big enough” follow these steps:īefore the analyze step go to GEOMETRY and change the sector size according to the following table: Volume Size You are a hero, no matter if it’s your own disk, you just saved your data! Don’t worry about rewriting the partition table it doesn’t harm your data.ġ3. After Mac OS X 10.6.7 it is suggested that you restart your machine and reconnect the disk. else try disconnecting your external hard disk and reconnecting it. type ‘q’ to quit the application and go see for yourself if your disk appears now in Finder. Now if you are completely sure you wrote down everything correctly (like I did) just type down ‘w’ and hit Enter, It will prompt you to confirm just say yes (y)ġ2. repeat this step for every partition you have.ġ1. type the command ‘c’ and press enter, it will ask you to type down where your first partition starts, how long it is and how you want to name it. Now type ‘i’ and it will display you some affirmations about block sizes and such, just hit enter:ġ0.- Now we are going to need the info from Step 6. If you type the command ‘c’ and hit enter it will tell you the following:ĩ.- That’s completely normal. The next steps are what distinguish a child from a MenĨ.- Issue the command ‘sudo pdisk /dev/rdisk1’ (where /dev/rdisk1 should be the same name you chosed on step 4). Note: if you try to repair your partition table with TestDisk it will fail since that function is not yet implemented.ħ.- you can now exit TestDisk. Take note of the information it will display you, since you’ll need it to repair the disk later on with pdisk. Take note of which drive you selected, in my case I chosed /dev/rdisk1 (rather than /dev/disk1)ĥ.- Next screen select the menu Analize, it will probbly display you and error telling you the block 0 couldn’t be read, just hit enter on the ‘Quick Analize’ optionĦ.- ATTENTION: TestDisk will quickly search for partitions on the disk and display you information about it on your disk. I selected Yes and continued.Ĥ.- On the screen it will display you all the Disk it detects connected to your Mac select the one that got damaged partition tables and press Enter. testdisk’ it indetially promped me to make my terminal bigger =P, after doing so It displayed me a simple disclaimer and then a notice telling me that TestDisk could Log all the activity if I wanted to. Here’s how I did it, hope it works for you.ġ.- I downloaded TestDisk from their official site : Ģ.- I opened the terminal and surfed to where I downloaded and unziped TestDiskģ.- I issued the command ‘sudo. When I called Avaco12 to tell her that I fixed her data she was so happy she couldn’t stop smiling she told me I was her Hero and so that’s how I felt, the process wasn’t easy specially because noone talks about how pdisk works on Mac OS X. I gave it a try and awesomely I managed to fix the disk using TestDisk and the pdisk utility. There are plenty of solutions out there, some of them are really expensive, and people on the forums are not very happy with them so I wanted to look at little more into the issue and I came across this solution called TestDisk which is an Open-Source Multi-platform solution for repairing disk partitions.

She was crying because she said she had her entire life on that disk, so she asked me for help and I started researching what could I possibly do to repair the disk or at least retrieve her data.
#Open source mac os x utilities windows#
Today my friend Avaco12 made a little mistake while installing bootcamp on her iMac, she left her external (200GB) disk connected, and when Windows asked her where to put the new Partition she accidentally selected her preciousus external drive, when she realized it was already too late, windows had already destroyed the partition table on her disk. At the time of writing this post I must say that I feel like a hero! That feeling is wonderful you know, when someone has a problem with their computer and not a simple but a HUGE one and you are able to repair em you turn to be that people hero.
