Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 454
  • Last Modified:

Mounting MSDOS HardDrives: NLS Charset Error

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
ratboy2
Asked:
ratboy2
1 Solution
 
sortofCommented:
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
 
ratboy2Author Commented:
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
 
somberlainCommented:
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

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now