[ubuntu-in] Need Help - Disaster during some fiddling with partitioning tool -
Ramnarayan.K
ramnarayan.k at gmail.com
Mon Aug 11 07:03:26 BST 2008
Ok so the good news is that i have my data back.
This is what i did
Booted of live Ubuntu 7.04 DVD
Added local repository that i have on an external hard disk
installed testdisk
ran its analyse and search deeper option
then asked it to write the MBR to the first sector
it managed to find the two partitions where my /home and /shared (vfat
data section shared with windows) is and now these are accessible
It has not managed to redo the ntfs win os and the windows recovery
partition or the Linux Ubuntu OS "/ " section.
But once i back my data up will try and redo this
Read Moz's second mail and will try something like that.
thanks
ram
On Sun, Aug 10, 2008 at 4:31 PM, Ramnarayan. K <ramnarayan.k at gmail.com> wrote:
> 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