command line vs fstab

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


On Tue, 10 Oct 2017 00:19:39 +0100
Colin Watson wrote: 
 
> On Mon, Oct 09, 2017 at 07:47:34PM +0200, Xen wrote:


> > Chris Dunn schreef op 09-10-2017 19:29:  
> > > 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  
> 
> I don't think this is it; we have lots of tools that use the UUID=
> form.
> 
> > Also after vfat come first the options.
> > 
> > Make it: "vfat    default     0      1"  
> 
> This is almost certainly the problem, but if that doesn't work, it
> would also not surprise me to find that mount(8) does an exact string
> match of the mount point on /etc/fstab; I would try changing
> "/home/media/" to "/home/media" in that file in addition to the above.

Colin thanks for your input. Xen's response did work out.

FWIMBW I tested both /home/media/ and /home/media in my fstab and either
one seems to work. From man fstab /home/media does look to be correct
so I've adopted that.


-- 
 
Chris Dunn
 





More information about the ubuntu-users mailing list