[ubuntu-in] Need Help - Disaster during some fiddling with partitioning tool -

Ramnarayan.K ramnarayan.k at gmail.com
Sun Aug 10 17:31:34 BST 2008


So Should i do this

run testdisk as sudo

select the
Step 1
Select a media (use Arrow keys, then press Enter):
Disk /dev/sda - 80 GB / 74 GiB

Step2
Please select the partition table type, press Enter when done.
[Intel  ]  Intel/PC partition
[Mac    ]  Apple partition map
[None   ]  Non partitioned media
[Sun    ]  Sun Solaris partition
[XBox   ]  XBox partition
[Return ]  Return to disk selection

so in this i select [Intel]

Step 3
which shows
Disk /dev/sda - 80 GB / 74 GiB - CHS 9729 255 63

[ Analyse  ]  Analyse current partition structure and search for lost partitions
[ Advanced ]  Filesystem Utils
[ Geometry ]  Change disk geometry
[ Options  ]  Modify options
[ MBR Code ]  Write TestDisk MBR code to first sector
[ Delete   ]  Delete all data in the partition table
[ Quit     ]  Return to disk selection

Note: Correct disk geometry is required for a successful recovery. 'Analyse'
process may give some warnings if it thinks the logical geometry is mismatched.

QUESTION: WHAT is the correct disk Geometry ??

Step 4 Analyse
which shows:

Disk /dev/sda - 80 GB / 74 GiB - CHS 9729 255 63
     Partition               Start        End    Size in sectors
* HPFS - NTFS              0   1  1  1304 254 63   20964762 [IBM_PRELOAD]
P FAT32 LBA             1305   0  1  2033 254 63   11711385
L Linux Swap            2034   1  1  2495 254 63    7421967
L Linux                 2959   1  1  3759 254 63   12868002 [/]
L Linux                 3760   1  1  9089 254 63   85626387 [/home]

Step 5 - [MBR CODE]
Should i just do this and let testdisk do the rest
or should i do something else

***
thanks
ram



More information about the ubuntu-in mailing list