LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-18-2021, 11:57 AM   #1
JT 1980
LQ Newbie
 
Registered: May 2021
Posts: 1

Rep: Reputation: Disabled
Duplicating a Compact Flash Card


Have a machine that runs qnx software operating system on a compact flash card. Would like to duplicate the flash card so I have a backup operating system.

When I try doing this and use the backup flash card it comes up with "Boot Error:no modules in image, check build file"

Any ideas how to make a successful backup copy of my operating system to another compact flash.

Thanks in advance
 
Old 05-18-2021, 12:50 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6038Reputation: 6038Reputation: 6038Reputation: 6038Reputation: 6038Reputation: 6038Reputation: 6038Reputation: 6038Reputation: 6038Reputation: 6038Reputation: 6038
Quote:
Originally Posted by JT 1980 View Post
Have a machine that runs qnx software operating system on a compact flash card. Would like to duplicate the flash card so I have a backup operating system.

When I try doing this and use the backup flash card it comes up with "Boot Error:no modules in image, check build file"

Any ideas how to make a successful backup copy of my operating system to another compact flash.

Thanks in advance
Are you booting Linux? Does your Linux recognize the card when you insert it?
Try
Code:
dmesg -w
Clear the terminal screen, then insert the card. Are you getting something like this:

Code:
[ 9617.051527] usb 1-3: new high-speed USB device number 4 using xhci_hcd
[ 9617.235836] usb 1-3: New USB device found, idVendor=08ec, idProduct=0008, bcdDevice= 1.00
[ 9617.235843] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 9617.235846] usb 1-3: Product: Store 'n' Go
[ 9617.235849] usb 1-3: Manufacturer: Verbatim
[ 9617.235852] usb 1-3: SerialNumber: 08F09A6010C098FF
[ 9617.237499] usb-storage 1-3:1.0: USB Mass Storage device detected
[ 9617.237912] scsi host6: usb-storage 1-3:1.0
[ 9618.262159] scsi 6:0:0:0: Direct-Access     VBTM     Store 'n' Go     5.00 PQ: 0 ANSI: 0 CCS
[ 9618.475900] sd 6:0:0:0: [sdd] 2013184 512-byte logical blocks: (1.03 GB/983 MiB)
[ 9618.476087] sd 6:0:0:0: [sdd] Write Protect is off
[ 9618.476092] sd 6:0:0:0: [sdd] Mode Sense: 23 00 00 00
[ 9618.476261] sd 6:0:0:0: [sdd] No Caching mode page found
[ 9618.476269] sd 6:0:0:0: [sdd] Assuming drive cache: write through
[ 9618.533443]  sdd: sdd1 sdd2
[ 9618.535939] sd 6:0:0:0: [sdd] Attached SCSI removable disk
Just an example with a regular USB stick.
In this case, the stick is recognized as /dev/sdd and I could copy it with dd:

Code:
dd if=/dev/sdd of=backup.img
Might take a long time before you get your prompt back.
 
Old 05-18-2021, 02:37 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,641

Rep: Reputation: 3551Reputation: 3551Reputation: 3551Reputation: 3551Reputation: 3551Reputation: 3551Reputation: 3551Reputation: 3551Reputation: 3551Reputation: 3551Reputation: 3551
I have used G4U for ages on some very old QNX 4 systems as it is the only way to boot floppy almost anymore. It uses dd with compression to at least reduce the file size. You can use those commands but you really need to be careful to pick correct source and copy it to correct destination.

Of course there is a QNX way clearly posted on their web site and how to move license.

Last edited by jefro; 05-18-2021 at 02:38 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Write Script to partition and flash the compact flash using card reader in linux thirun Linux - Software 4 01-17-2014 05:22 AM
How do you duplicate a 512 Meg Compact flash to a 1 GB compact flash using dd??? allen00860 Linux - Newbie 5 05-23-2009 08:48 PM
FLASH FLASH XP Home and Samba Fix FLASH FLASH zollodav Linux - Networking 1 02-19-2006 01:16 AM
compact flash card reader mindcry Linux - Hardware 45 02-03-2004 08:14 PM
PC Card, compact flash figadiablo Linux - Hardware 0 02-21-2003 08:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration