Mounting a second partition on the USB
I just got a 1TB USB. I have two partitions. The first is a 1GB FAT16 and the second is a 974GB Linux partition. The first partition works fine as an overlay. I was able to use mkfs.ext4 on the second partition, but can't mount it. How could I do this as an automount? When I run mount it creates /tmp/run/mountd/sda2, but says its a symbolic loop.
I can't mount it:
root@Omega-E169:~# ls -ls /mnt
4 drwxr-xr-x 2 root root 4096 May 25 21:46 sda1
4 drwxr-xr-x 2 root root 4096 Jun 18 22:23 sda2
4 drwxr-xr-x 2 root root 4096 Jul 18 05:21 sdb1
root@Omega-E169:~# mount /dev/sda2 /mnt/sda2
mount: mounting /dev/sda2 on /mnt/sda2 failed: Invalid argument
I think I found the problem. The dmesg output showed superblock has an invalid journal. Repaired with fsck.ext4 /dev/sda2. Due to the size, it talks a really long time to complete all passes.