recorver data

Hi everybody!

I had a hard disk with QNX 6.2.1 and I had a fdisk. Is there any utility
or program to recover the lost data?

Thanks in advance.

Jorge

If all you did was remove the entry in the partition table, it is
possible to scan the disk to find where the begining of the parttion
was originally. If you dinit’d the disk, or lost it in some other
way, eg. ‘rm’, it may still be recoverable. I think the general
utility is spatch, and there may be a more specific un-rm around.

Hello again!

My problem is that I can’t boot the hard disk because I had a fdisk.
Then I will need to analize the hard disk from another pc with some
utility or program. Moreover, I have no knowledge about recover lost
data, then I’d like to use any easy program (it must examine the hard
disk and repair automatically the problem).

Do you know any program to do this task?

Thank you very much.

I don’t know what the following phrase means.
“I had a fdisk”.
Since you’ve repeated it twice, I guess you must mean something
specific, so please tell us what that is.

In my previous post I was guessing that you removed the partition with
fdisk.
If you have another PC running QNX, you could use it to analyse the
problem disk.
You will not find repair programs under any other OS that will work
with QNX.
You will not find an easy program, nor one that will do repairs
automatically, with one
exception. If you have a fairly coherent file system, meaning a root
directory, then chkfsys will clean it up. It will not find and
recover lost data, but instead will make it coherently lost.

If you just lost your partitioning table, mount the hard disk in another qnx
system and mount it.
Then it will appear as hd1 (or something similar).
Using fdisk, you can restore the partitioning table. If you don’t know where
your old qnx started (Start Cylinder) you can find it:
Qnx partition starts with (in hexa) 49 03 51 4E 58 , in ascii I [love] QNX.
With this you can find where your old partition starts


“Jorge” <jalonso@ain.es> escribió en el mensaje
news:fei839$q0k$1@inn.qnx.com

Hi everybody!

I had a hard disk with QNX 6.2.1 and I had a fdisk. Is there any utility
or program to recover the lost data?

Thanks in advance.

Jorge

As you said, I removed the partition with fdisk.

I will try to do the things you have told me. If I restore the hard disk
or recover any lost data I will tell you.

Thank you very much.

You can use spatch to find the starting sentence…

“Jorge” <jalonso@ain.es> escribió en el mensaje
news:fevetu$2go$1@inn.qnx.com

As you said, I removed the partition with fdisk.

I will try to do the things you have told me. If I restore the hard disk
or recover any lost data I will tell you.

Thank you very much.

You should probably mount it read-only too to preven any corruption should you get things a bit wrong…

David Porta wrote:

You can use spatch to find the starting sentence…

“Jorge” <> jalonso@ain.es> > escribió en el mensaje
news:fevetu$2go$> 1@inn.qnx.com> …
As you said, I removed the partition with fdisk.

I will try to do the things you have told me. If I restore the hard disk
or recover any lost data I will tell you.

Thank you very much.


cburgess@qnx.com

Colin Burgesswrote:
You should probably mount it read-only too to preven any corruption

should you get things a bit wrong…

Better yet, make a duplicate of the disk, and work with the duplicate.

“maschoen” <maschoen@pobox-dot-com.no-spam.invalid> wrote in message
news:ff09pq$jat$1@inn.qnx.com

Colin Burgesswrote:
You should probably mount it read-only too to preven any corruption
should you get things a bit wrong…


Better yet, make a duplicate of the disk, and work with the duplicate.

If you have a big enought disk you can “cp /dev/hd0 hdimage” and work on
fixing the image.

Mario, presumably you don’t mean cp /dev/hd0 hdimage, where hdimage is
on hd0?
If that could be done, but it would require a disk with an infinite
number of sectors :wink:.
Now cp /dev/hd0t77 hdimage, where hdimage is on hd0t78 does have a
better chance.

Mario Charest root@127.0.0.1 wrote:

[…]
If you have a big enought disk you can “cp /dev/hd0 hdimage” and work on
fixing the image.

No space left on device

:wink:

“maschoen” <maschoen@pobox-dot-com.no-spam.invalid> wrote in message
news:ff2n4f$bev$1@inn.qnx.com

Mario, presumably you don’t mean cp /dev/hd0 hdimage, where hdimage is
on hd0?

hdimage would be the name of file. Then you can use mount imagefile /hd1 to
mount it. Before mouting it you can use spatch on the imagefile
to modify it. If you screw up the image file, no big deal, you copy the HD
again and start all over.

If that could be done, but it would require a disk with an infinite
number of sectors > :wink:> .
Now cp /dev/hd0t77 hdimage, where hdimage is on hd0t78 does have a
better chance.

Hello!

Finally, I have given up trying to fix the problem of the hard disk. I
can´t waste more time in that purpose.

Thank you very much.

Jorge.