data recovery

Hi,
I recently got a copy of a hard drive from one of my customers that wasn’t
booting. Using spatch, I noticed the beginning of the QNX partition was
hosed (a file that is used by my software was somehow copied over the
beginning of the partition). Scanning through the drive, I noticed that it
only affected a small part of the partition. It appears that the .inodes
file is intact.

Is there any utility that might be used to extract the data out of the “bad”
QNX partition? I can’t mount it for the life of me, but I believe the data
could be extracted.

Also, what is necessary for mount to successfully mount the partition (ie
what is it checking for)?

TIA,
Ron

Ron Cococcia <ude.ipr.sc@rcococ.nospam> wrote:

Hi,
I recently got a copy of a hard drive from one of my customers that wasn’t
booting. Using spatch, I noticed the beginning of the QNX partition was
hosed (a file that is used by my software was somehow copied over the
beginning of the partition). Scanning through the drive, I noticed that it
only affected a small part of the partition. It appears that the .inodes
file is intact.

Is there any utility that might be used to extract the data out of the “bad”
QNX partition? I can’t mount it for the life of me, but I believe the data
could be extracted.

Also, what is necessary for mount to successfully mount the partition (ie
what is it checking for)?

Hm…not sure, but do web search on the qnx4 side for “disk_raw” or
something similar to that.

That is one choice.

Another possible choice is the “dinit -r” which writes the root block
to disk, for a rebuild. (Then you usually run checkfsys afterwards.)

This might also help you get where you need to be.

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

AH!! I had forgotten about the -r option… I knew I had done repairs of
this kind before but had forgotten how to do them.

I did dinit -hr on my drive, then chkfsys -mu on the device, and it rebuilt
(a few errors, but all of the files I wanted to recover were there).

Thanks!
Ron


“David Gibbs” <dagibbs@qnx.com> wrote in message
news:a4havs$k5n$2@nntp.qnx.com

Ron Cococcia <> ude.ipr.sc@rcococ.nospam> > wrote:
Hi,
I recently got a copy of a hard drive from one of my customers that
wasn’t
booting. Using spatch, I noticed the beginning of the QNX partition was
hosed (a file that is used by my software was somehow copied over the
beginning of the partition). Scanning through the drive, I noticed that
it
only affected a small part of the partition. It appears that the
…inodes
file is intact.

Is there any utility that might be used to extract the data out of the
“bad”
QNX partition? I can’t mount it for the life of me, but I believe the
data
could be extracted.

Also, what is necessary for mount to successfully mount the partition
(ie
what is it checking for)?

Hm…not sure, but do web search on the qnx4 side for “disk_raw” or
something similar to that.

That is one choice.

Another possible choice is the “dinit -r” which writes the root block
to disk, for a rebuild. (Then you usually run checkfsys afterwards.)

This might also help you get where you need to be.

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.