I want to add new partition that dont mount in the system

Hi everyone,

I’m the new of jetson. I want to add the recovery partition to the tegra (TX1 & TX2).

So I downsize of the APP(system.img), the flash.xml is like the below.


    <partition name="APP" type="data">
        <allocation_policy> sequential </allocation_policy>
        <filesystem_type> basic </filesystem_type>
        <size> 28991029248 </size>
        <file_system_attribute> 0 </file_system_attribute>
        <allocation_attribute> 0x8 </allocation_attribute>
        <percent_reserved> 0 </percent_reserved>
        <filename> system.img </filename>
    </partition>
    <partition name="REC" type="data" oem_sign="false">
            <allocation_policy> sequential </allocation_policy>
            <filesystem_type> basic </filesystem_type>
            <size> 1572864000 </size>
            <file_system_attribute> 0 </file_system_attribute>
            <allocation_attribute> 0x8 </allocation_attribute>
            <percent_reserved> 0 </percent_reserved>
            <filename> rec.img </filename>
    </partition>

and it is successfual to add the REC partition. But…

When i login the ubuntu, i see the REC partition that mount the sd card.

So…How do i do to hide the REC partition, and dont mount it.

Thx

1 Like

What is the content of “/etc/fstab”?

Hello, linuxdev.

the content of “/etc/fstab” is like below.


nvidia@tegra-ubuntu:~$ cat /etc/fstab

Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.

NVIDIA CORPORATION and its licensors retain all intellectual property

and proprietary rights in and to this software, related documentation

and any modifications thereto. Any use, reproduction, disclosure or

distribution of this software and related documentation without an express

license agreement from NVIDIA CORPORATION is strictly prohibited.

/etc/fstab: static file system information.

These are the filesystems that are always mounted on boot, you can

override any of these by copying the appropriate line from this file into

/etc/fstab and tweaking it as you see fit. See fstab(5).

/dev/root / rootfs defaults 0 1

Hello, linuxdev.

I fix the problem.

the new content of “/etc/fstab” like below.


/dev/mmcblk0p2 /mnt/mmc-016G32_0x8c82cdaa-part2 auto nosuid,nodev,nofail,noauto 0 0

Thx.