command line vs fstab

Chris Dunn chris at dunnz.org
Tue Oct 10 12:13:09 UTC 2017


On Mon, 09 Oct 2017 19:47:34 +0200
Xen wrote <list at xenhideout.nl>
 
> Chris Dunn schreef op 09-10-2017 19:29:
> > 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?  
> 
> You may try /dev/disk/by-uuid/679E-7842
> 
> Also after vfat come first the options.
> 
> Make it: "vfat    default     0      1"
 
Thanks Xen. This worked (with defaults instead of default).

-- 
 
Chris Dunn
 




More information about the ubuntu-users mailing list