Hello linuxdev, Mamo_W,
I am not able to get 16 digit PARTUUID.
I followed your procedure
SDcard is 32GB from Sandisk → /dev/sdb1
lsblk -f
NAME FSTYPE LABEL UUID MOUNTPOINT
loop0 squashfs /snap/core/8268
loop1 squashfs /snap/gtk-common-themes/1353
loop2 squashfs /snap/core18/1288
loop3 ext4 0470dae8-8d1a-42d1-899f-77ebf30241e4 /home/parashuram/nvidia/nvidia_sdk/JetPack_4.3_Linux_P3310/Linux_for_Tegra/bootloader/mnt
sdb
└─sdb1 ext4 f4838935-2770-43ca-a7c7-f5460b54e4c3 /media/parashuram/f4838935-2770-43ca-a7c7-f5460b54e4c3
sdd
├─sdd1 vfat C481-64C5 /boot/efi
└─sdd2 ext4 887cd758-4e3f-4f01-ac7f-a5b2da1d34a2 /
sr0
parashuram@elma:~$ sudo blkid
/dev/loop0: TYPE=“squashfs”
/dev/loop1: TYPE=“squashfs”
/dev/loop2: TYPE=“squashfs”
/dev/sdd1: UUID=“C481-64C5” TYPE=“vfat” PARTLABEL=“EFI System Partition” PARTUUID=“ab159ff0-d6a2-4918-961e-f7cdd0c24fee”
/dev/sdd2: UUID=“887cd758-4e3f-4f01-ac7f-a5b2da1d34a2” TYPE=“ext4” PARTUUID=“64af4e6a-927a-4606-8ca4-3c2d0bb32245”
/dev/sdb1: PTUUID=“590d81a6-92d2-42f7-b3fd-139fcceab982” PTTYPE=“gpt” PARTUUID=“e9285a85-01”
/dev/loop3: UUID=“0470dae8-8d1a-42d1-899f-77ebf30241e4” TYPE=“ext4”
parashuram@elma:~$ sudo gdisk /dev/sdb1
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.
Command (? for help): o
This option deletes all partitions and creates a new protective MBR.
Proceed? (Y/N): y
Command (? for help): n
Partition number (1-128, default 1):
First sector (34-62330846, default = 2048) or {±}size{KMGTP}:
Last sector (2048-62330846, default = 62330846) or {±}size{KMGTP}:
Current type is ‘Linux filesystem’
Hex code or GUID (L to show codes, Enter = 8300):
Changed type of partition to ‘Linux filesystem’
Command (? for help): p
Disk /dev/sdb1: 62330880 sectors, 29.7 GiB
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): 3EFB9BAA-3513-4332-BD3A-56822C21A1F5
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 62330846
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)
Number Start (sector) End (sector) Size Code Name
1 2048 62330846 29.7 GiB 8300 Linux filesystem
Command (? for help): x
Expert command (? for help): c
Using 1
Enter the partition’s new unique GUID (‘R’ to randomize): R
New GUID is 330B35F6-EA11-4172-92CE-AA0ECAAF7C78
Expert command (? for help): w
Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!
Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to /dev/sdb1.
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
The operation has completed successfully.
parashuram@elma:~$ ls
Airtel_bill.pdf cuda-workspace dongle.sh flash.sh imp_links.txt minicom.log nvidia Public tags toolchain.c
Archer_T2UH_Linux Default_pinmux Downloads GPIO_DPSK jetson mozilla.pdf paytm_bill.pdf rtl8812au-1 Templates u-boot
backup Desktop emmc_log.txt gpio_tca9539 kernel_panic mt7610u-linksys-ae6000-wifi-fixes personal.txt sd_acrd_diff_mmcbl2.txt test USB3.0
cscope.out Documents examples.desktop HOST.git l4t-gcc Music Pictures sdcard_bootlog.txt tets.txt Videos
parashuram@elma:~$ sync
parashuram@elma:~$ sudo mkfs.ext4 /dev/sdb1
mke2fs 1.44.1 (24-Mar-2018)
Found a gpt partition table in /dev/sdb1
Proceed anyway? (y,N) y
Creating filesystem with 7791360 4k blocks and 1949696 inodes
Filesystem UUID: 8d7961fe-4cce-4c23-8ba7-7eb802afbf4c
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000
Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
parashuram@elma:~$ sudo blkid /dev/sdb1
/dev/sdb1: UUID=“8d7961fe-4cce-4c23-8ba7-7eb802afbf4c” TYPE=“ext4” PARTUUID=“e9285a85-01”
parashuram@elma:~$ ls -l /dev/disk/by-partuuid/
total 0
lrwxrwxrwx 1 root root 10 Feb 20 11:31 64af4e6a-927a-4606-8ca4-3c2d0bb32245 → …/…/sdd2
lrwxrwxrwx 1 root root 10 Feb 20 11:31 ab159ff0-d6a2-4918-961e-f7cdd0c24fee → …/…/sdd1
lrwxrwxrwx 1 root root 10 Feb 20 11:48 e9285a85-01 → …/…/sdb1
parashuram@elma:~$ blkid -s PARTUUID -o value /dev/sdb1
e9285a85-01
please help out me from this
Note: I need boot Jetson TX2 from SDcard