
Clara AGX Developer Kit User Guide
all instances of sda in the instruction below with the identifier that is being used by your
system:
$ ls -l /dev/disk/by-path/platform-14100000.pcie-pci-0001\:01\:00.0-ata-1
lrwxrwxrwx 1 root root 9 Jan 28 12:24 /dev/disk/by-path/platform-
14100000.pcie-pci-0001:01:00.0-ata-1 -> ../../sda
Create Partition
1.
Launch fdisk utility:
$ sudo fdisk /dev/sda
2.
Create a new primary partition.
Use the command ‘n’, then accept the defaults
(press enter) for the next 4 questions to create a single partition that uses the entire
drive:
Command (m for help): n
Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p):
Using default response p.
Partition number (1-4, default 1):
First sector (2048-488397167, default 2048):
Last sector, +sectors or +size{K,M,G,T,P} (2048-488397167, default
488397167):
Created a new partition 1 of type 'Linux' and of size 232.9 GiB.
3.
Write the new partition table and exit.
Use the ‘w’ command:
Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
4.
Initialize ext4 filesystem on the new partition:
$ sudo mkfs -t ext4 /dev/sda1
mke2fs 1.44.1 (24-Mar-2018)
Creating filesystem with 486400 4k blocks and 121680 inodes
Filesystem UUID: c3817b9c-eaa9-4423-ad5b-d6bae8aa44ea
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Allocating group tables: done
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
Mount Partition
1.
Create a directory for the mount point.
These instructions will use the path
/media/m2, but any path may be used if preferred.