@linuxdev
I tried both Disks App from Ubuntu und cmd command.
I just repeated the setup and made some images. Even I did the same configuration before, I become different result. Now the GTD is recognised correctly. But anyway there is a problem with automounting after the restart. It shows 32MB Unknown.
After start in Disks the sd card is recognised as:
After unplug and plug in, the sd card is recognised as:
The confugartion of sd card partition:
Formating:
Done:
After it, the output of commands looks like:
lsblk -f /dev/mmcblk2
NAME FSTYPE LABEL UUID MOUNTPOINT
mmcblk2
└─mmcblk2p1 ext4 sd_card c05c235d-fbf9-4474-876c-7ac3b07cc72c
sudo gdisk -l /dev/mmcblk2
GPT fdisk (gdisk) version 1.0.3
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/mmcblk2: 124735488 sectors, 59.5 GiB
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): F70C748E-A865-427C-B3E1-E820BB6EE3C4
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 124735454
Partitions will be aligned on 2048-sector boundaries
Total free space is 4029 sectors (2.0 MiB)
Number Start (sector) End (sector) Size Code Name
1 2048 124733439 59.5 GiB 8300 primary
sudo parted /dev/mmcblk2
GNU Parted 3.2
Using /dev/mmcblk2
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: SD SN64G (sd/mmc)
Disk /dev/mmcblk2: 63,9GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 63,9GB 63,9GB ext4 primary
(parted)
Setup automount:
AFTER RESTART:
Replug the sd card it works again.
The output of /etc/fstab
# /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).
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/root / ext4 defaults 0 1
/dev/disk/by-id/mmc-SN64G_0x7057b946-part1 /mnt/mmc-SN64G_0x7057b946-part1 auto nosuid,nodev,nofail,x-gvfs-show 0 0
Here is dmesg output after restart. The /dev/mmcblk2 device (sd card) is recognised as
[ 1.379982] mmcblk2: mmc2:d555 SD032 30.6 MiB
dmesg | grep mmcbl
[ 0.000000] Kernel command line: tegraid=21.1.2.0.0 ddr_die=2048M@2048M ddr_die=2048M@4096M section=256M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 console=ttyS0,115200n8 debug_uartport=lsport,4 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 core_edp_mv=1075 core_edp_ma=4000 gpt tegra_fbmem2=0x800000@0x92cb5000 is_hdmi_initialised=1 root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 sdhci_tegra.en_boot_part_access=1 quiet root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 sdhci_tegra.en_boot_part_access=1
[ 1.379982] mmcblk2: mmc2:d555 SD032 30.6 MiB
[ 1.403077] mmcblk0: mmc0:0001 016G32 14.7 GiB
[ 1.403335] mmcblk0boot0: mmc0:0001 016G32 partition 1 4.00 MiB
[ 1.403524] mmcblk0boot1: mmc0:0001 016G32 partition 2 4.00 MiB
[ 1.407762] mmcblk0rpmb: mmc0:0001 016G32 partition 3 4.00 MiB
[ 1.410382] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 p21 p22
[ 1.428834] mmcblk mmc2:d555: Card claimed for testing.
[ 1.428842] mmcblk mmc0:0001: Card claimed for testing.
[ 1.458735] Root device found: mmcblk0p1
[ 1.459983] Found dev node: /dev/mmcblk0p1
[ 1.521133] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[ 1.522742] Rootfs mounted over mmcblk0p1
[ 1.930688] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)