Subject:
THanks for posting something to my thread
From:
"Rudolph, Frank" <rudolph@beaconpower.com
Date:
Mon, 12 Nov 2007 12:58:17 -0500
To:
cburgess@qnx.com
To:
cburgess@qnx.com
Colin:
Thanks very much for posting something to my thread. I am having a great
deal of trouble untangling the documentation for exactly how one gets a
file system going on a BSP generated image of QNX Neutrino.
I have successfully booted the image I built for a Lite5200B eval board
from Freescale.
I have connected a hard disk that I populated from the quick-start CD
for an x86 system, and I can boot the drive on my x86 system.
I’d like to just mount the device and read it before I try the exercise
of actually building a second partition on that same disk. My objective
is to ultimately boot from that second partition or start over from
scratch with a new disk. But first, I’d like to must mount an existing
partition, just to see if the file system works.
Here is a log of my commands:
# mount -t qnx4 /dev/hd0t79 /mnt/fs
mount: Can't mount /mnt/fs (type qnx4)
mount: Possible reason: Corrupted file system detected
Can this be because the partition was created on a little-Endian system
and the Lite5200B is a big-endian?
# ls
bin dev lib proc tmp usr
It is interesting that subsequently, I get different reasons for failure
of this mount:
# mount -v -t qnx4 /dev/hd0t79 /mnt/fs
Parsed: mount from [/dev/hd0t79] mount on [/mnt/fs] type [qnx4]
mount: Can't mount /mnt/fs (type qnx4)
mount: Possible reason: No such device or address
# mount -t qnx4 /dev/hd0t79 /mnt/fs
mount: Can't mount /mnt/fs (type qnx4)
mount: Possible reason: Invalid argument
#
If I reboot the image, the FIRST time I try to mount, I get the same
corrupted file system message.
#mount –e
Responds by saying nothing, no matter what mount I try. So I am certain
nothing is mounted.
When I say
# mount -v -t qnx4 /dev/hd0t79 /mnt/fs
How is that going to work if there is no directory /mnt/fs and I can’t
create one by using mkdir?
OK. So let’s say I don’t want to mount an existing file system (since
that isn’t working for me anyway). How do I create a new one on my hard
disk? I’d like it to be a second partition and NOT disturb the first
partition I’ve already created on it.
Frank Rudolph, Ph.D., P.E.
/Embedded Systems Software Engineer/
/Beacon Power Corporation/
/234 Ballardvale Street///
/Wilmington// MA 01887///
/phone: 978-661-2803/
/email:
rudolph@beaconpower.com/
/Web:
www.beaconpower.com/