DevHeads.net

command line vs fstab

I'm running Xubuntu on a Chuwi Hi12 tablet. Most things work.

I've now inserted a 32gb sd card into the tablet slot, and partitioned
and formatted the card, using gparted, with a single vfat partition.

As root,

"mount -t vfat /dev/mmcblk2p1 /home/media",

works, as does "umount /home/media".

Then I inserted the following line in /etc/fstab,

"UUID=679E-7842 /home/media/ vfat 0 1"

After that, as root, "mount /home/media" yields :

"wrong fs type, bad option, bad superblock on /dev/mmcblk2p1, missing
codepage or helper program, or other error."

Assuming the UUID is correct, which I believe it is, what is going
wrong here?

Comments

Re: command line vs fstab

By Xen at 10/09/2017 - 13:47

Chris Dunn schreef op 09-10-2017 19:29:
You may try /dev/disk/by-uuid/679E-7842

Also after vfat come first the options.

Make it: "vfat default 0 1"