View topic - how do i copy from one flash to other

how do i copy from one flash to other

For the old QNX2 and QNX4 RTOS

Postby jayamjai » Thu Jun 07, 2007 11:40 am

let me give in detail

1) first i disconnected the CF from the board and connected it to the system (PC) booting from its hard disk.

2) it identified the CF as hd1 along with its partitions i.e
/dev/hd1t77.

3) i mounted it as mount /dev/hd1t77/ /CF.

4) made a image of it on the hard diak using

cp -V /dev/hd1 /copy/new

5 ) un mounted the original CF and connected the new flash disk of same size and make as /dev/hd1t77 /newCF. and tried copying in to it using

cp -V /copy/new /dev/hd1

it could not copy in to the new CF with some memory problem.

6) then reconnected the original flash to the PC and tried mounting. but this time the CF was identified as /Dev/hd1 but its partitions never appeared so tried mounting it using

mount -p /dev/hd1

when i typed it it say " NO BIOS SIGNATURE FOUND ON /dev/hd1"

7) now i want to recover the original CF and make a copy of it to the new flash iam stuck at this point. plz help.

i even tried using disk copy
i.e

dd if=/dev/hd1 of=/dev/hd2 connecting both the flash disks together but was of no use.
jayamjai
Active Member
 
Posts: 17
Joined: Sat Feb 03, 2007 12:18 pm

Postby bren-uk » Mon Jun 11, 2007 9:45 am

5 ) un mounted the original CF and connected the new flash disk of same size and make as /dev/hd1t77 /newCF. and tried copying in to it using

cp -V /copy/new /dev/hd1

You cannot hot swap CF disks on the EIDE interface.
CF disks are in theory hot swapable, but the EIDE interface is not.
You MUST power down to swap the CF.

If you do this I think you will have better luck.
bren-uk
Active Member
 
Posts: 65
Joined: Sun Jan 25, 2004 12:22 pm

Previous

Return to QNX2 and QNX4

Who is online

Users browsing this forum: No registered users and 3 guests