|
Re: Failed dd clone of compact flash
|
01/14/2022 2:06 PM
post121676
|
Re: Failed dd clone of compact flash
clarification on the cloning process. The cloning was done a different computer. It was done on a computer running
RHE 8. This way the compact flash cards are not "in use".
|
|
|
|
Re: Failed dd clone of compact flash
|
01/14/2022 2:08 PM
post121677
|
Re: Failed dd clone of compact flash
Is it at typing error or did you really use “if=" twice when writing back to the device?
Sent from my BlackBerry — the most secure mobile device
From: community-noreply@qnx.com
Sent: 14 January 2022 20:00
To: ostech-core_os@community.qnx.com
Reply to: ostech-core_os@community.qnx.com
Subject: Failed dd clone of compact flash
I tried using dd to clone the compact flash
dd if=dev/sda of=/image.img<http://image.img> # copy original compact flash to a file
dd if=/image.img<http://image.img> if=dev/sda #copy file to target compact flash
but when I use the cloned compact flash I get an error that it can't read(?) the mounted drive:
mount -tgnx6 /dev/hd0t179 /d0
mount: can't mount /d0 (type qnx6)
mount: possible reason: read only file system.
What am I missing when making the clone?
_______________________________________________
OSTech
http://community.qnx.com/sf/go/post121675
To cancel your subscription to this discussion, please e-mail ostech-core_os-unsubscribe@community.qnx.com<mailto:ostech
-core_os-unsubscribe@community.qnx.com>
|
|
|
|
Re: Failed dd clone of compact flash
|
01/14/2022 6:56 PM
post121679
|
Re: Failed dd clone of compact flash
> I tried using dd to clone the compact flash
> dd if=dev/sda of=/image.img # copy original compact flash to a file
> dd if=/image.img if=dev/sda #copy file to target compact flash
>
> but when I use the cloned compact flash I get an error that it can't read(?)
> the mounted drive:
> mount -tgnx6 /dev/hd0t179 /d0
> mount: can't mount /d0 (type qnx6)
> mount: possible reason: read only file system.
>
> What am I missing when making the clone?
I'm not sure if this will help but when I get this message it is invariably when using a QNX6 file system on a USB drive
. I don't know is a similar approach needs to be taken with your flash drive. I have used compact flash with QNX6
however with no such problems.
The way I fixed it (in QNX7) was by mounting as follows:
mount -t qnx6 -o sync=ignore /dev/usb0t177 /usb (for example)
This allows me to write to the USB drive. Otherwise it's read only.
I imagine something like this might work for you:
mount -t qnx6 -o sync=ignore /dev/hd0t179 /d0
|
|
|