OS is getting corrupt on jetson Tx2 SDK 32.4.3


i am using jetson tx2 4GB module.

i am writing any file to /dev/mmcblk0p1 and os is getting corrupted.

cp file.txt /dev/mmcblk0p1

i am writing this file directly to rootfs partition.

how we can avoid this…instaed of copying it should come read only.

hello anupam.kumar,

it is expected failure, may I know why you’re writing root file system partition directly?

please review all the partitions, $ ls -la /dev/disk/by-partlabel/,
you’ll see there’re several bootloader partitions that following with _b, which means it’s having redundancy to provides a safe Bootloader update and ensures that a workable Bootloader partition remains on boot storage during an update.

you should consider to Enabling Rootfs Redundancy to enable A/B slots for rootfs.

FYI, copy directly to a disk or partition would never work. The front of the disk would lose all of its partitioning information and no longer have any known partition scheme (old style BIOS versus new style UEFI…either would be destroyed).

In cases where you want to write to a partition (and not a filesystem on a partition) you’d use “dd”. Knowing your use-case example of what you want to do would be very helpful.

1 Like

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