On Fri, Feb 20, 2009 at 7:30 AM, Rishi Bhushan Agrawal <postrishi@xxxxxxxxx> wrote: > > > On Thu, Feb 19, 2009 at 6:47 PM, arshad hussain <arshad.super@xxxxxxxxx> > wrote: >> >> On Thu, Feb 19, 2009 at 9:23 PM, Rishi Bhushan Agrawal >> <postrishi@xxxxxxxxx> wrote: >> > yes all the data has been recovered back and even the directory >> > structure is >> > intact. >> > >> > But I want to find a proper solution to these kind of problems. >> > >> > So I have not deleted the partition and still want to recover it. >> > >> > The point behind it is that when every thing is correct and in place >> > then >> > only MBR and the Partition table needs to be modified. >> >> Backup is the key. In this case, backing up MBR and Extended partition >> chain and then restoring it. > > How do I proceed with it ? # sfdisk -d /dev/<whole disk > SAVE.COPY # sfdisk /dev/<whole disk> < SAVE.COPY There is also libparted, if you wish to have more control over your partitioning. Thanks. > >> >> Thanks. >> >> > >> > So what modification can result in correcting it ? >> > >> > On Thu, Feb 19, 2009 at 3:45 PM, Pranav Peshwe <pranavpeshwe@xxxxxxxxx> >> > wrote: >> >> >> >> Hi Rishi, >> >> If you have recovered *all* your data from the partition then, you >> >> can >> >> just delete the partition (using fdisk) and create a new one in the >> >> same >> >> place. Then, format it with whatever filesystem you want and start >> >> using it. >> >> >> >> Hope, i am not missing anything :-? >> >> >> >> - P >> >> >> >> >> >> On Thu, Feb 19, 2009 at 8:02 PM, Rishi Bhushan Agrawal >> >> <postrishi@xxxxxxxxx> wrote: >> >>> >> >>> I could recover all the files using the "testdisk" program on windows. >> >>> >> >>> I would like to proceed with correcting the MBR and the partition >> >>> table. >> >>> >> >>> >> >>> How do i do it ?? >> >>> >> >>> On Thu, Feb 19, 2009 at 7:17 AM, Pranav Peshwe >> >>> <pranavpeshwe@xxxxxxxxx> >> >>> wrote: >> >>>> >> >>>> On Thu, Feb 19, 2009 at 10:25 AM, rishi agrawal <postrishi@xxxxxxxxx> >> >>>> wrote: >> >>>>> >> >>>>> Sorry for the previous mails.... >> >>>>> >> >>>>> I tried a NTFS recovery tool named as >> >>>>> >> >>>>> 1st NTFS Recovery 3.3.1.0( evaluation Version). >> >>>>> >> >>>>> It is very good. It took out the whole directory structure >> >>>>> correctly. >> >>>>> The only problem is that in order to access the files I need to pay >> >>>>> for it >> >>>>> and I dont want to do that. >> >>>>> >> >>>>> As the directory structure is correct it is proved that the >> >>>>> partition >> >>>>> is untouched and correct and simple MBR manipulations can result in >> >>>>> recovering the drive correctly. >> >>>>> >> >>>>> I am quite hesitant to do anything without a clear cut idea as i may >> >>>>> lose the data. >> >>>> >> >>>> Although it is off-topic on this list - i would suggest a simple >> >>>> thing >> >>>> here since you seem to have valuable data on the disk. Before you use >> >>>> any >> >>>> tools for recovery, create a raw copy(image) of the entire partition >> >>>> on >> >>>> another hard disk. The dd command in linux/unix will be useful for >> >>>> doing >> >>>> that. Once you have the image, you can mount it (in linux or any >> >>>> other OS of >> >>>> your choice) and experiment on it in various ways. This way, you >> >>>> won't risk >> >>>> losing your data in case, any tool behaves badly. >> >>>> >> >>>> >> >>>> Best regards, >> >>>> Pranav >> >>>> http://pranavsbrain.peshwe.com >> >>> >> >>> >> >>> >> >>> -- >> >>> Regards, >> >>> Rishi B. Agrawal >> >>> >> >> >> > >> > >> > >> > -- >> > Regards, >> > Rishi B. Agrawal >> > >> > > > > > -- > Regards, > Rishi B. Agrawal > > -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ