Hello I have a NVIDIA Jetson Orin Nano (8GB ram) - Jetpack 6.1 [L4T 36.4.0]. 699-level Part Number: 699-13767-0003-300 T.1.
I have programed the NVMe to be the main boot drive and a USB eMMC device as a fail back boot device.
Both boot fine and the NVMe is the top of the boot order. All is fine with booting.
However sometimes on a boot something keeps mounting my USB eMMC APP partition to /mnt and sometimes it mounts the esp partition to /mnt as well:
I cant find any systemd service or anything similar that’s mounting my eMMC APP or esp partitions and I need to find the root cause. Here is the eMMC and the NVMe PARTLABLES:
Im unsure if there is some NVIDIA code somewhere that is mounting my sda partitions because its looking at the PARTLABLES even though I’m not booted to the SDA device. Any help would be much appreciated.
*** Please note that this reply is generated by LLM automatically ***
The issue you’re experiencing with your NVIDIA Jetson Orin Nano is related to the mounting of the USB eMMC device’s APP and ESP partitions to /mnt during boot, even though the NVMe drive is set as the primary boot device.
To troubleshoot this issue, let’s break down the possible causes and potential solutions:
PARTLABELS: The PARTLABELS on your eMMC device might be causing the system to mount the partitions automatically. The PARTLABELS are used by the Linux kernel to identify and mount partitions. In your case, the PARTLABELS on the eMMC device are set to APP and ESP, which might be triggering the mounting of these partitions.
To verify this, you can check the PARTLABELS on your eMMC device using the lsblk command:
lsblk -d -o name,label
This will show you the device names and their corresponding labels.
2. **Systemd services**: Although you mentioned that you couldn't find any systemd services that might be mounting the eMMC partitions, it's still worth checking the systemd configuration files. You can use the `systemd-analyze` command to analyze the systemd configuration and identify any potential services that might be mounting the partitions.
Run the following command to analyze the systemd configuration:
```bash
systemd-analyze critical-chain
This will show you the critical chain of services that are started during boot.
NVIDIA-specific code: As you mentioned, it’s possible that NVIDIA-specific code is mounting the eMMC partitions. NVIDIA provides a set of scripts and tools for managing the boot process on their devices. You can check the NVIDIA documentation and the Jetson Orin Nano’s boot scripts to see if there’s any code that might be mounting the eMMC partitions.
One possible location to check is the /etc/init.d directory, which contains the init scripts for the system. You can also check the /etc/systemd directory, which contains the systemd configuration files.
Mount configuration: Another possibility is that the mount configuration is set to mount the eMMC partitions automatically during boot. You can check the /etc/fstab file to see if there are any entries that might be mounting the eMMC partitions.
Run the following command to check the /etc/fstab file:
cat /etc/fstab
This will show you the file system table, which contains the mount points and options for the file systems.
To resolve the issue, you can try the following:
1. **Update the PARTLABELS**: You can update the PARTLABELS on the eMMC device to remove the `APP` and `ESP` labels. This might prevent the system from mounting the partitions automatically.
2. **Disable systemd services**: If you find any systemd services that are mounting the eMMC partitions, you can disable them to prevent the mounting from happening.
3. **Modify the NVIDIA boot scripts**: If you find any NVIDIA-specific code that is mounting the eMMC partitions, you can modify the scripts to prevent the mounting from happening.
4. **Update the mount configuration**: You can update the `/etc/fstab` file to remove any entries that might be mounting the eMMC partitions.
By following these steps, you should be able to identify and resolve the issue that's causing the eMMC partitions to be mounted automatically during boot.
*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***
Hi @DavidDDD , Thanks for looking into this. I have checked the udev rules and haven’t found anything that’s mounting /mnt. I also checked in /etc/init.d and did not find anything in there. I did find on my system that this issue didn’t happen on every boot and was irregular.