SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a sandisk USB flash drive/mp3 player. It has a fat32 filesystem on it. I can mount it just fine, if I use -t msdos, but this is no good as linux only sees the 8.3 format filenames. And if I copy anything onto it from linux, all the names get truncated and the extension gets eradicated in the process.
now the numerous threads I've read all say to mount it as "-t vfat" but that just spits out "mount: wrong fs type, bad option, bad superblock on /dev/sda1,"
I just checked my kernel config to make sure that I had vfat support in there, and I do. I need some help here - I want to be able to read (in linux) the long-format names of files that might have been copied from a windows box, and be able to copy files from a linux box without wiping out long names(and ".mp3"!) in the process.
well it seems M$ fs support is all modules! fat, vfat, and ntfs. I'll put them right in now and see how it goes. my third linux question, my first linux answer. thank you nykey!
I took my last config and compiled a new kernel, changing the following items under File Systems --> DOS/FAT/NT Filesystems from being modules to actually being in the kernel (bullets to checkmarks in xconfig):
-MSDOS fs support
-VFAT (Windows-95) fs support
-NTFS file system support
those are the only (unhidden) items in this section, excluding the ntfs sub-items. There are two items underneath VFAT that I can't change
-(437) Default codepage for FAT
-Default iocharset for FAT: iso8859-1
long story short, same wrong fs error when I try to mount as vfat. I'm sure I was booting the new kernel because X wouldn't work (would have had to reinstall the nvidia module). Are there more boxes I should be ticking somewhere outside the File Systems section?
are there any packages in the slackware install that I might need?? On my current install I tried to not install the packages that looked useless to me.. I remember I got rid of the tools for JFS and HFS and some other stuff I didn't think I needed, but I don't think I would have failed to install packages related to reading M$ filesystems since I've got many gigs of those still.
but then I don't have a mkfs.vfat in /sbin, does that scream of something missing to someone???
am I right to assume that I should be able to mount, in linux as vfat, devices formatted in windows as fat16/fat32?
under File Systems --> Native Language Support, the NLS_ISO8859-1 module was not compiled in my kernel. Once I added that I was able to mount as vfat with no issues.
I'm pretty sure I removed it on my very first kernel compile. I mistakenly failed to realize that it was the defualt for US-english in my attempts to remove everything that wasn't.
actually the "good thinking" involved little more than running dmesg | tail, googling the results and going from there. I won't deny that I'm quite pleased I got this working though, despite the fact that the only reason it didn't work in the first place was down to me. thanks for the replies nykey, yours are the only ones I've been able to get for any questions I've had so far, I don't even get RTFM! replies.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.