After my hard drive’s QNX partition had a mysterious fail, I tried to recover
it according to the instructions on the Installation and Configuration
manual. But I would not be able to mount the drive. Here is what I did:
Boot from a floppy.
Run Fsys.eide.
Run fdisk, it shows no error.
Run mount –p /dev/hd0 /dev/hd0t77 /hd, I got
mount: mount of /dev/hd0t77 failed: Corrupted file system detected
Run dinit –hr /dev/hd0t77, I got
Disk ‘/dev/hd0t77’ contains 905184 blocks (452592K).
Run chkfsys /dev/hd0t77, I got
Can’t find device for ‘/dev/hd0t77’
Nothing to check.
What device QNX is looking for? I appreciate any comments.
Thanks!
Yujin
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
+ After my hard drive’s QNX partition had a mysterious fail, I tried to recover
+ it according to the instructions on the Installation and Configuration
+ manual. But I would not be able to mount the drive. Here is what I did:
+ Boot from a floppy.
+ Run Fsys.eide.
+ Run fdisk, it shows no error.
+ Run mount –p /dev/hd0 /dev/hd0t77 /hd, I got
+ mount: mount of /dev/hd0t77 failed: Corrupted file system detected
+ Run dinit –hr /dev/hd0t77, I got
+ Disk ‘/dev/hd0t77’ contains 905184 blocks (452592K).
+ Run chkfsys /dev/hd0t77, I got
+ Can’t find device for ‘/dev/hd0t77’
+ Nothing to check.
+ What device QNX is looking for? I appreciate any comments.
you need to mount the filesystem before you can check it:
mount /dev/hd0t77 /hd
chkfsys /hd
+ Thanks!
+ Yujin
+ -----== Posted via Deja News, The Leader in Internet Discussion ==-----
+ http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
--
Mike Taillon, (mi...@qnx.com)
QNX Software Systems, Ltd.
Boot the floppy.
run the appropriate driver (Fsys.eide &) etc...
mount -p /dev/hd0
THEN
mount /dev/hd0t77 /hard
THEN
ls /hard
or chfsys /hard or whatever else you would like to check...
QNX will say corruption if you miss a step......
At least thats how I used to do it when I was using QNX in the good
old days.....
+ > you need to mount the filesystem before you can check it:
+ > mount /dev/hd0t77 /hd
+ It is at this stage, I got the message:
+ mount: mount() of /dev/hd0t77 failed: Corrupted file system detected
+ I followed installation manual (ver. 4.23, pg195), which says after dinit I
+ should do chkfsys before I can mount. It seems I got a chicken-and-egg
+ situation. Any suggestions? Thanks!
if mount is saying corrupt file system right after dinit'ing the partition,
you have a hardware fault -- need a new disk...
I used "dinit -h /dev/hd0t77" instead of the suggested "-hr" switch. Now I
can mount the drive. Of course, I lost everything on it.
Thanks everyone for the help.
Yujin