<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: TestDisk and PhotoRec for Mac OS X Data Recovery</title>
	<atom:link href="http://www.macosxapplications.com/system-disk-utilities/testdisk-photorec-6-11-3-data-recovery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.macosxapplications.com/system-disk-utilities/testdisk-photorec-6-11-3-data-recovery/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=testdisk-photorec-6-11-3-data-recovery</link>
	<description>Apple Mac, iPhone, iPod, iPad, iTouch Applications/Software</description>
	<lastBuildDate>Thu, 02 Feb 2012 18:17:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: test disk guru</title>
		<link>http://www.macosxapplications.com/system-disk-utilities/testdisk-photorec-6-11-3-data-recovery/comment-page-1/#comment-50</link>
		<dc:creator>test disk guru</dc:creator>
		<pubDate>Sun, 18 Oct 2009 08:15:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.macosxapplications.com/?p=71#comment-50</guid>
		<description>be careful about partioning and formating... it is very dangerous and/or more dangerous than wintel platform... recovery is not easy and these programs must be used very carefully. Full Unix environment is harder but if you know what you doing results are more positive.

I recommend testdisk, data rescue 3 programs for any partition recovery if not succeded use data rescue 3 for file recovery.</description>
		<content:encoded><![CDATA[<p>be careful about partioning and formating&#8230; it is very dangerous and/or more dangerous than wintel platform&#8230; recovery is not easy and these programs must be used very carefully. Full Unix environment is harder but if you know what you doing results are more positive.</p>
<p>I recommend testdisk, data rescue 3 programs for any partition recovery if not succeded use data rescue 3 for file recovery.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: test disk guru</title>
		<link>http://www.macosxapplications.com/system-disk-utilities/testdisk-photorec-6-11-3-data-recovery/comment-page-1/#comment-49</link>
		<dc:creator>test disk guru</dc:creator>
		<pubDate>Sun, 18 Oct 2009 08:12:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.macosxapplications.com/?p=71#comment-49</guid>
		<description>OS X (Intel)

New Mac including MacBook and Mac Pro have an Intel CPU and HardDisk is partionned by default using EFI partition table. TestDisk &amp; PhotoRec handle EFI since version 6.9, so you can use them to recover your data.
OS X (PowerPC)

Starting TestDisk or PhotoRec
Open the Terminal program, found in the /Applications/Utilities folder.
Using terminal commands such as cd (change directory), navigate to the folder where you downloaded or installed TestDisk.
The only sure-fire way of doing this is typing cd(space) and then dragging the folder containing TestDisk into the Terminal window. This will copy the location of the TestDisk directory after the current command on the terminal command line.
If you have the TestDisk folder on your desktop, the command would look something like: cd ~/Desktop/testdisk-6.4
Move into the folder inside the TestDisk folder, where the binary executables are stored (in darwin/ on OS X ports). The command for this would look something like: cd darwin.
Now it&#039;s time to run TestDisk (or PhotoRec). To do this, type sudo ./testdisk (or sudo ./photorec). The sudo command tells your system to run testdisk as root (&quot;administrator&quot;, or superuser). You will be required to enter your password (no echo of the characters will be apparent on the screen), press the enter key to validate .
Using TestDisk
Upon startup, the following will appear. Highlight the disk of interest and hit return/enter to select it.
Select a media (use Arrow keys, then press Enter):
Disk /dev/disk0 - 80 GB / 74 GiB - CHS 156301488 1 1 (RO), sector size=512
Disk /dev/disk1 - 250 GB / 232 GiB - CHS 488397168 1 1, sector size=512
Disk /dev/rdisk0 - 80 GB / 74 GiB - CHS 156301488 1 1 (RO), sector size=512
Disk /dev/rdisk1 - 250 GB / 232 GiB - CHS 488397168 1 1, sector size=512

Once the disk of interest is selected, you must tell TestDisk what type of partition table to expect. For OS X users, this is probably the [Mac ] option.
Disk /dev/rdisk1 - 250 GB / 232 GiB - CHS 488397168 1 1
Please select the partition table type, press Enter when done.
[Intel  ]  Intel/PC partition
[Mac    ]  Apple partition map
[None   ]  Non partioned media
[Sun    ]  Sun Solaris partition
[XBox   ]  XBox partition
[Return ]  Return to disk selection

At this point, you should analyze the disk to see if TestDisk can determine the partion map to replace the possibly-corrupted version on the drive. Select [ Analyse ] from the menu and hit return/enter.
Disk /dev/rdisk1 - 250 GB / 232 GiB - CHS 488397168 1 1
[ Analyse  ]  Analyse current partition structure and search for lost partition
[ Advanced ]  Filesystem Utils
[ Geometry ]  Change disk geometry
[ Options  ]  Modify options
[ Quit     ]  Return to disk selection

The following screen will appear, allowing you to tell TestDisk if the partitions are &quot;Primary&quot; or &quot;Deleted&quot; partitions. I&#039;m not sure if it&#039;s critical to mark any as &quot;D&quot; -- I believe they default to &quot;P&quot;. Select proceed, and hit return/enter.
Current partition structure:
 1 P partition_map                  1         63         63
 2 P Free                          64     262207     262144
 3 P HFS                       262208  162267199  162004992
 4 P Free                   162267200  162529343     262144
 5 P HFS                    162529344  324534335  162004992
 6 P Free                   324534336  324796479     262144
 7 P HFS                    324796480  488397151  163600672

     P=Primary  D=Deleted

[Proceed ] [  Save  ]

After analyzing, a screen will appear, informing you of the partitions that were found (the partitions will be colored green). Hit return/enter to return to the display of all the partions found, which looks something like the screen below. You will need to copy/print this information for later, as it will be required for rewriting the partion table using pdisk. &#039;Copying to a text file is recommended, as partitioning your drive incorrectly could cause further problems. Once copied, select [ Quit ] and exit TestDisk.
Current partition structure:
     Partition                  Start        End    Size in sectors
 1 P partition_map                  1         63         63
 2 P Free                          64     262207     262144
 3 P HFS                       262208  162267199  162004992
 4 P Free                   162267200  162529343     262144
 5 P HFS                    162529344  324534335  162004992
 6 P Free                   324534336  324796479     262144
 7 P HFS                    324796480  488397151  163600672

[  Quit  ] [ Write  ]
Now you can use this information with pdisk to rewrite your drive partition map.
Repairing/Rewriting Your Drive&#039;s Partition Map
To rewrite the partition map given by TestDisk, use the command pdisk. If pdisk reports, &quot;No partition map exists,&quot; it may be necessary to initialize the disk. Once the disk is initialized, the numeric entries defining the partition may completed and a name may be assigned to the partition (&quot;rec_part&quot; in the example below). Given the following information from TestDisk,
Disk /dev/rdisk1 - 160 GB / 149 GiB - CHS 312581808 1 1                                                                                       
     Partition               Start        End    Size in sectors                                                                              
P HFS                       262208  312581791  312319584    
Start pdisk: sudo pdisk /dev/rdisk1
In this example, the required pdisk commands are:
pdisk: No valid block 1 on &#039;/dev/rdisk1&#039;
Edit /dev/rdisk1 -
Command (? for help): c
No partition map exists
Command (? for help): i
Command (? for help): c
First block: 262208
Length in blocks: 312319584
Name of partition: rec_part
Command (? for help): w
Command (? for help): q
Consult pdisk help for more information.
Note: pdisk is for Mac PowerPC partition table, not for Mac Intel partition table.</description>
		<content:encoded><![CDATA[<p>OS X (Intel)</p>
<p>New Mac including MacBook and Mac Pro have an Intel CPU and HardDisk is partionned by default using EFI partition table. TestDisk &amp; PhotoRec handle EFI since version 6.9, so you can use them to recover your data.<br />
OS X (PowerPC)</p>
<p>Starting TestDisk or PhotoRec<br />
Open the Terminal program, found in the /Applications/Utilities folder.<br />
Using terminal commands such as cd (change directory), navigate to the folder where you downloaded or installed TestDisk.<br />
The only sure-fire way of doing this is typing cd(space) and then dragging the folder containing TestDisk into the Terminal window. This will copy the location of the TestDisk directory after the current command on the terminal command line.<br />
If you have the TestDisk folder on your desktop, the command would look something like: cd ~/Desktop/testdisk-6.4<br />
Move into the folder inside the TestDisk folder, where the binary executables are stored (in darwin/ on OS X ports). The command for this would look something like: cd darwin.<br />
Now it&#8217;s time to run TestDisk (or PhotoRec). To do this, type sudo ./testdisk (or sudo ./photorec). The sudo command tells your system to run testdisk as root (&#8220;administrator&#8221;, or superuser). You will be required to enter your password (no echo of the characters will be apparent on the screen), press the enter key to validate .<br />
Using TestDisk<br />
Upon startup, the following will appear. Highlight the disk of interest and hit return/enter to select it.<br />
Select a media (use Arrow keys, then press Enter):<br />
Disk /dev/disk0 &#8211; 80 GB / 74 GiB &#8211; CHS 156301488 1 1 (RO), sector size=512<br />
Disk /dev/disk1 &#8211; 250 GB / 232 GiB &#8211; CHS 488397168 1 1, sector size=512<br />
Disk /dev/rdisk0 &#8211; 80 GB / 74 GiB &#8211; CHS 156301488 1 1 (RO), sector size=512<br />
Disk /dev/rdisk1 &#8211; 250 GB / 232 GiB &#8211; CHS 488397168 1 1, sector size=512</p>
<p>Once the disk of interest is selected, you must tell TestDisk what type of partition table to expect. For OS X users, this is probably the [Mac ] option.<br />
Disk /dev/rdisk1 &#8211; 250 GB / 232 GiB &#8211; CHS 488397168 1 1<br />
Please select the partition table type, press Enter when done.<br />
[Intel  ]  Intel/PC partition<br />
[Mac    ]  Apple partition map<br />
[None   ]  Non partioned media<br />
[Sun    ]  Sun Solaris partition<br />
[XBox   ]  XBox partition<br />
[Return ]  Return to disk selection</p>
<p>At this point, you should analyze the disk to see if TestDisk can determine the partion map to replace the possibly-corrupted version on the drive. Select [ Analyse ] from the menu and hit return/enter.<br />
Disk /dev/rdisk1 &#8211; 250 GB / 232 GiB &#8211; CHS 488397168 1 1<br />
[ Analyse  ]  Analyse current partition structure and search for lost partition<br />
[ Advanced ]  Filesystem Utils<br />
[ Geometry ]  Change disk geometry<br />
[ Options  ]  Modify options<br />
[ Quit     ]  Return to disk selection</p>
<p>The following screen will appear, allowing you to tell TestDisk if the partitions are &#8220;Primary&#8221; or &#8220;Deleted&#8221; partitions. I&#8217;m not sure if it&#8217;s critical to mark any as &#8220;D&#8221; &#8212; I believe they default to &#8220;P&#8221;. Select proceed, and hit return/enter.<br />
Current partition structure:<br />
 1 P partition_map                  1         63         63<br />
 2 P Free                          64     262207     262144<br />
 3 P HFS                       262208  162267199  162004992<br />
 4 P Free                   162267200  162529343     262144<br />
 5 P HFS                    162529344  324534335  162004992<br />
 6 P Free                   324534336  324796479     262144<br />
 7 P HFS                    324796480  488397151  163600672</p>
<p>     P=Primary  D=Deleted</p>
<p>[Proceed ] [  Save  ]</p>
<p>After analyzing, a screen will appear, informing you of the partitions that were found (the partitions will be colored green). Hit return/enter to return to the display of all the partions found, which looks something like the screen below. You will need to copy/print this information for later, as it will be required for rewriting the partion table using pdisk. &#8216;Copying to a text file is recommended, as partitioning your drive incorrectly could cause further problems. Once copied, select [ Quit ] and exit TestDisk.<br />
Current partition structure:<br />
     Partition                  Start        End    Size in sectors<br />
 1 P partition_map                  1         63         63<br />
 2 P Free                          64     262207     262144<br />
 3 P HFS                       262208  162267199  162004992<br />
 4 P Free                   162267200  162529343     262144<br />
 5 P HFS                    162529344  324534335  162004992<br />
 6 P Free                   324534336  324796479     262144<br />
 7 P HFS                    324796480  488397151  163600672</p>
<p>[  Quit  ] [ Write  ]<br />
Now you can use this information with pdisk to rewrite your drive partition map.<br />
Repairing/Rewriting Your Drive&#8217;s Partition Map<br />
To rewrite the partition map given by TestDisk, use the command pdisk. If pdisk reports, &#8220;No partition map exists,&#8221; it may be necessary to initialize the disk. Once the disk is initialized, the numeric entries defining the partition may completed and a name may be assigned to the partition (&#8220;rec_part&#8221; in the example below). Given the following information from TestDisk,<br />
Disk /dev/rdisk1 &#8211; 160 GB / 149 GiB &#8211; CHS 312581808 1 1<br />
     Partition               Start        End    Size in sectors<br />
P HFS                       262208  312581791  312319584<br />
Start pdisk: sudo pdisk /dev/rdisk1<br />
In this example, the required pdisk commands are:<br />
pdisk: No valid block 1 on &#8216;/dev/rdisk1&#8242;<br />
Edit /dev/rdisk1 -<br />
Command (? for help): c<br />
No partition map exists<br />
Command (? for help): i<br />
Command (? for help): c<br />
First block: 262208<br />
Length in blocks: 312319584<br />
Name of partition: rec_part<br />
Command (? for help): w<br />
Command (? for help): q<br />
Consult pdisk help for more information.<br />
Note: pdisk is for Mac PowerPC partition table, not for Mac Intel partition table.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

