View topic - Read-only Filesystem on QNX

Read-only Filesystem on QNX

QNX7 release

Read-only Filesystem on QNX

Postby Dlo_Robert » Fri Nov 27, 2020 7:18 am

Hello,

I intend to run QNX 7.0 on a x86_64 target. I’ve created a bootable image using a suitable BSP and put it on a USB memory. so that the target is booting from the USB memory.
Now I’m facing the problem that the QNX filesystem on my USB memory is read-only. So, I can’t add or modify any scripts. Are there any solutions for this problem? Do I need to transfer the QNX image to the internal SSD of the target to have write access?

Thanks in advance!

Kamrian
Dlo_Robert
New Member
 
Posts: 2
Joined: Wed Nov 18, 2020 1:51 am

Re: Read-only Filesystem on QNX

Postby Tim » Mon Nov 30, 2020 5:26 pm

Kamrian,

Dlo_Robert wrote:Now I’m facing the problem that the QNX filesystem on my USB memory is read-only. So, I can’t add or modify any scripts. Are there any solutions for this problem?


This is normal (read-only). That's because the image that you are booting from is a compressed archive that can't be modified.

If you want to add or modify scripts then you will have to create a new boot image that contains your new/modified scripts and transfer it to your USB drive (over writing the one that's there now).

The usual reason for creating a USB image is to boot QNX 7 in order to format the internal SSD with a QNX 7 file system and then copy all the QNX files to the SSD so that the SSD can boot QNX (and have a writable file system). Is this what you are wanting to do?

Tim
Tim
Senior Member
 
Posts: 1514
Joined: Wed Mar 10, 2004 12:28 am

Re: Read-only Filesystem on QNX

Postby Dlo_Robert » Tue Dec 01, 2020 9:32 am

Hello Tim,
thanks for your reply.
Tim wrote:
The usual reason for creating a USB image is to boot QNX 7 in order to format the internal SSD with a QNX 7 file system and then copy all the QNX files to the SSD so that the SSD can boot QNX (and have a writable file system). Is this what you are wanting to do?

Tim

That’s exactly what I originally wanted to do. The reason why I didn't do this is that the SSD isn't not detected by QNX.
The SSD is connected to my target via SATA M2 interface and has the filesystem ext4.
“devb-eide &” replies “No eide Interfaces found”
And “devb-ahci &” replies “ahci SIM attach failure”

Do you have any idea how I could do to detect the SSD by QNX?

Thanks in advance

Kamiran
Dlo_Robert
New Member
 
Posts: 2
Joined: Wed Nov 18, 2020 1:51 am

Re: Read-only Filesystem on QNX

Postby Tim » Tue Dec 01, 2020 3:46 pm

devb-eide is only for IDE drives. You would only use it if your BIOS has a 'legacy ide emulation' mode available (fewer and fewer do now).

This post suggests setting the number of ports when starting devb-ahci
https://community.qnx.com/sf/discussion ... post113764

If that doesn't work, add the 'pci' command to your boot image and post what it finds.

Tim

P.S. Presumably you are not running RAID mode and have RAID mode turned off (if it's supported). I doubt you do but just wanted to make sure.
Tim
Senior Member
 
Posts: 1514
Joined: Wed Mar 10, 2004 12:28 am


Return to QNX7

Who is online

Users browsing this forum: No registered users and 2 guests

cron