PDA

View Full Version : QNX Filesystem Support in Kernel 2.6* (Fedora Core 2+)


TeKKiE
4th February 2005, 01:28 PM
Post from LinuxIso.org Forums (http://linuxiso.org/forums/viewtopic.php?t=24750)

Please check my post on linuxiso.org, in regards to my issues that I am having with mounting a QNX OS drive in Linux. The guys at LinuxIso.org have been very helpful, but the project I am working on is rather time sensitive, and I would like to get things sped up if possible. Thanks! Below will be my first post from the other forum.

Post 1: I'm currently trying to mount a QNX filesystem to a Fedora Core 2 test box at work, and I'm not having much luck. The QNX drive was pulled from some equipment that acts as a controller for some automated machinery. This system has crashed, (the engineers think) and we (Information Technology Division) need to mount this drive to compare the contents to the hash and see what has been altered, or if the drive itself has bit the dust. When I do a common mount (mount -t QNX hdb* /dev/qnx) I receive an error "fs type QNX not supported by kernel"

Any help would be greatly appreciated.

As of 3pm CST, the kernel has been compiled and tested, and the box will run with the new kernel, I had already added the dir "qnxdrive" in /mnt. I also had added a line into fstab stating type of QNX4 in /dev/hdb1 to /mnt/qnxdrive with noauto, owner, etc. etc.

One question I want to ask before I continue on, is that the particular QNX operating system is Version 2.1, would this also mean that the fs would be QNX2? Just curious, I wondered if it was always fs type QNX4.

Thanks again!

Post 2:This morning I came in to my desk and got started. I did a dmesg, and did find the drive in question, in two partitions. I believe the first to be the boot. The drive is HDB with HDB1 and HDB4. No problem. So, now I go to mount the drive after I rebuilt the kernel, and I receive a different status message. Code:
qnx4: wrong fsid in superblock.
mount: wrong fs type, bad option, bad superblock on /dev/hdb*, or too many mounted filesystems

I use the asterisk, since I did try both partitions, even though I believe one is boot.