View previous topic :: View next topic |
Author |
Message |
massimo Veteran
Joined: 22 Jun 2003 Posts: 1226
|
Posted: Thu May 13, 2004 6:49 pm Post subject: problems reading from vfat [SOLVED] |
|
|
Hello, I have got Gentoo and Windows installed on my computer. Being in Gentoo I sometimes copy files to a FAT32 partition, so I can access these files when I switch to Windows too. But when I boot into Windows I cannot read the files. The files are listed, but when I try to open a file I get some error message, that it cannot be read or something like that. I have the same problem with my usb stick (Muvo TX). I can write data to the stick, but the stick doesn't seem to recognize the files (mp3s) and I cannot play them. But in both cases I can access and read files when I work in Gentoo.
kernel: 2.4.25-gentoo and vfat is compiled into the kernel
fstab:
/dev/hda5 /mnt/hda5 vfat noauto,rw,users,iocharset=iso8859-1 0 0
/dev/sda1 /mnt/muvo vfat noauto,users,rw,sync 0 0
There are no error messages at all when I copy the files in Gentoo. _________________ Hello 911? How are you?
Last edited by massimo on Fri Aug 13, 2004 11:09 am; edited 1 time in total |
|
Back to top |
|
|
Rainmaker Veteran
Joined: 12 Feb 2004 Posts: 1650 Location: /home/NL/ehv/
|
Posted: Thu May 13, 2004 11:53 pm Post subject: |
|
|
add umask=000 to the "options" section of that fstab and try again _________________ If you can't dazzle them with brilliance, baffle them with bullshit. |
|
Back to top |
|
|
massimo Veteran
Joined: 22 Jun 2003 Posts: 1226
|
Posted: Fri May 14, 2004 5:41 am Post subject: |
|
|
I tried it but with the same result as before. The other thing is, that it works sometimes, but I guess in one in 50 tries. _________________ Hello 911? How are you? |
|
Back to top |
|
|
massimo Veteran
Joined: 22 Jun 2003 Posts: 1226
|
Posted: Fri Aug 13, 2004 9:14 am Post subject: |
|
|
I've switched to kernel 2.6(.7) and I've got the same problem as before, at least the one with the usb stick (MP3 Player Muvo TX 256). I can access the stick and I can write to the stick and read the written data, but the stick cannot read (doesn't see?) the data (play the mp3s). I have an usb 2.0 extension pci card plugged in which I use for accessing the usb stick, digicam, printer etc...
The corresponding line in the fstab file hasen't changed since the first post here. Anyone any idea? I hate to copy the mp3s to the windows partition, boot into windows and copy the music there on the player _________________ Hello 911? How are you? |
|
Back to top |
|
|
LittleVampy n00b
Joined: 12 Aug 2004 Posts: 20
|
|
Back to top |
|
|
fctk Veteran
Joined: 28 Jan 2004 Posts: 1424 Location: Milan, Italy, EU
|
Posted: Fri Aug 13, 2004 9:32 am Post subject: |
|
|
@ massimo
try this:
vfat defaults,umask=000 |
|
Back to top |
|
|
massimo Veteran
Joined: 22 Jun 2003 Posts: 1226
|
Posted: Fri Aug 13, 2004 10:01 am Post subject: |
|
|
Thanks for your help, I finally found the problem. I actually never cared about the log message which showed up after I had mounted the stick:
Code: |
[kernel] Unable to load NLS charset cp437
|
Few minutes ago I did care checked the mount man page which says
Code: |
codepage=value
Sets the codepage for converting to shortname characters on FAT
and VFAT filesystems. By default, codepage 437 is used.
|
I compiled the codepage into the kernel and now it's working _________________ Hello 911? How are you? |
|
Back to top |
|
|
fctk Veteran
Joined: 28 Jan 2004 Posts: 1424 Location: Milan, Italy, EU
|
Posted: Fri Aug 13, 2004 10:04 am Post subject: |
|
|
i'm happy you solved...
anyway pls put [SOLVED]... |
|
Back to top |
|
|
|