[Ilugc] Partition table

  • From: anand.kumar@xxxxxxxxxx (Anand Kumar Saha)
  • Date: Fri Aug 13 22:25:15 2004




 | I deleted /tftpboot using fdisk and trying to install win98 on that
 | partition. But unfortunately, the windows deleted all the 
 | parttions on the HDD. 

How can Windows delete the partitions without you giving the commands?
I see two cases - fdisk malfunctioned OR you were ignorent enough on
how to use fdisk.

 | Any idea to recover the data from that HDD??
 | FYI : no partitions/partition table shown on the HDD when i 
 | connect the
 |       HDD as secondary with another Linux PC.

A distant possibility if you damaged your partition table. 

btw, i had a similar problem and i had to recover a text file. i used
'dd'. 

dd if=/dev/hdc of=CHUNK1 bs=1k count=2048 skip=0
dd if=/dev/hdc of=CHUNK2 bs=1k count=2048 skip=2048
dd if=/dev/hdc of=CHUNK3 bs=1k count=2048 skip=4096
...

then then i had to search in each of these 2Mb chunks to locate my file.
painful process and is not effective for overall recovery.

man dd for more.

saha
PS: i could recover my file at last :)
--


Other related posts: