Solved

Mounting MSDOS HardDrives: NLS Charset Error

Posted on 1998-11-10
3
437 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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.

773 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