This post Format SD Card Ext4 - NVIDIA Jetson TK1 - JetsonHacks suggests how to format an sd card for jetson. However this does not work for me with errors about super blocks when I try to mount it.
sudo mkfs.ext4 /dev/mmcblk1p1
sudo mount /dev/mmcblk1p1 /mnt/sdcard
mount: wrong fs type, bad option, bad superblock on /dev/mmcblk1p1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
dmesg | tail
[ 2641.277942] [EXFAT] unmounted successfully
[ 2717.496630] JBD2: no valid journal superblock found
[ 2717.496640] EXT4-fs (mmcblk1p1): error loading journal
[ 2725.797717] JBD2: no valid journal superblock found
[ 2725.797730] EXT4-fs (mmcblk1p1): error loading journal
[ 3015.976113] JBD2: no valid journal superblock found
[ 3015.976122] EXT4-fs (mmcblk1p1): error loading journal
[ 3037.919438] JBD2: no valid journal superblock found
[ 3037.919451] EXT4-fs (mmcblk1p1): error loading journal
[ 3044.491154] vgaarb: this pci device is not a vga device
Is this the correct procedure?
A straight formatted SD card works fine but it would not work for a swap file. I guess its being handled as removable media.