Solved

Mounting MSDOS HardDrives: NLS Charset Error

Posted on 1998-11-10
3
434 Views
Last Modified: 2008-02-26
When I go to mount my msdos hard drives from within Linux I get the following error message:
Unable to load NLS charset cp437 (nls_cp437)

I mount like this: mount /dev/hda1 /c:

The mounting, though, was successful as I am able to access my msdos hard drives.  I just don;t like that error message.  When I do the mounting from with in X windows, thru the X term, I don't get this error message what so ever as if X windows handled the problem.

Oh and one more thing.  I notice my msdos mounted hard drives have all their filenames in the 8-char.3-char format of old msdos and not the long filenames of win95.  How do I get linux to recognize the long filenames of my msdos mounted HDs?

Thanks!
0
Comment
Question by:ratboy2
3 Comments
 

Accepted Solution

by:
sortof earned 50 total points
ID: 1638474
in the system root make a folder called /c
the colon : mighr be interpreted as a command.. im not sure.. but just to make sure it works leave it out..
then type:

mount -t vfat /dev/hda1 /c

that should mount the drive and you should be able to view it.  if not then the drive is not vfat and youll need to try the correct type.

i hope this works for ya
0
 

Author Comment

by:ratboy2
ID: 1638475
Nope, the error message:
Unable to load NLS charset cp437 (nls_cp437)

still exists.  Mounting the drive is ok (I can access the msdos HD ok), just I hate that error message.  Maybe is there a way to hide output messages?

Thanks.
0
 

Expert Comment

by:somberlain
ID: 1638476
try recompiling your kernel and setting up that charset again.  also, if you want vfat support be sure to add support for vfat along with msdos and fat filesystems.  I use modules for M$ filesystems and just modprobe them if I need to access a msdos disk.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now