How to Make the Root Filesystem Read-Only on JetPack 5.X or Later

Hello,

I would like to make the root filesystem read-only on JetPack 5.X or later in order to improve robustness against sudden power loss.

I have read many posts and articles on this topic, but none of them clearly explain how to achieve a fully functional read-only root filesystem on Jetson devices with JetPack 5.X or newer.

Could you please provide a recommended approach or best practices to make the root filesystem read-only on these versions of JetPack?

Thank you in advance for your support.

Best regards,

Hi SS.nb,

Are you using the devkit or custom board for Orin Nano?

Please refer to Orin readonly rootfs - #6 by KevinFFF for this use case.

Alternative, we have Overlayfs on Root File System feature available for JP6.x.
Could you also help to check if it could meet your requirement?

Thank you for the information!
I’ll try the suggested approach and get back with the results.

Best regards,

I tried modifying the fstab to make the root filesystem read-only, but after rebooting, the screen remains black and the OS does not seem to boot properly.

I suspect that something went wrong with the boot process, possibly due to the fstab change.

Is there an alternative or recommended way to achieve a read-only root filesystem without breaking the boot process?

Thank you for your support.

Please share the full serial console log to check the boot issue.
We’ve verified fstab method working on the Orin Nano devkit before.

I would suggest you using overlayfs feature for your use case.

Thank you.

It will take some time to prepare the serial console log due to cable availability.
In the meantime, I’d like to try the overlayfs approach instead.

Just to confirm — is the method you mentioned earlier for JetPack 6.x also applicable to my case, or is there a recommended way to apply overlayfs on JetPack 5.x?

Best regards,

Sorry that this feature is only available for Jetpack 6.x.

Orin Nano should also work with Jetpack 6.x.

Got it, thank you.

I’ve confirmed that the overlayfs feature works successfully on JetPack 6.x.
I’ll put the JetPack 5.x testing on hold for now.

Thanks again for your support.

Best regards,

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.