Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-07-2004, 10:20 AM   #1
LQ Newbie
Registered: Aug 2004
Location: The Netherlands
Posts: 2

Rep: Reputation: 0
Question WinXP can't read linux files copied to FAT32 partition

After hours of browsing and trying I'm trying my luck on these forums.

The setting:
On my notebook I have configured my harddrive which for multi-boot (winXP, Fedora Core1). I have formatted one partition in FAT32 using Partition Magic to share files between the two Os's. In WinXP I can read and write files on this disk. In linux I've mounted the drive (using /etc/fstab) and can read and write on this "datadisk".

The problem:
When I copy files to the "datadisk" in linux, windows can't find them in the filesystem. Only after running "chkdsk /f" the files are automatically recovered and accessable. I must say I was surprised by this behaviour. I suspect some inconsistencies in the fat filetables, but can't seem to find the correct settings. I also tried to use fdisk to set the ID of the partition hda6 from b to c (LBA mode), but without results...

The question:
Any guesses here how to correct this problem, so my linux files copied to a FAT32 partition are readable by both Os's ? Anyone experienced similar situations ?

Some background:
Partition Magic info:

Linux localhost.localdomain 2.4.22-1.2115.nptl #1 Wed Oct 29 15:42:51 EST 2003 i686 i686 i386 GNU/Linux
LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
/dev/hda5               swap                    swap    defaults        0 0
/dev/cdrom              /mnt/cdrom              udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/hda6               /mnt/datadisk           vfat    umask=0        0 0
fdisk -l
Disk /dev/hda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1      1912  15358108+   c  Win95 FAT32 (LBA)
/dev/hda2          1913      1925    104422+  83  Linux
/dev/hda3          1926      3200  10241437+  83  Linux
/dev/hda4          3201      4864  13366080    f  Win95 Ext'd (LBA)
/dev/hda5          3201      3330   1044193+  82  Linux swap
/dev/hda6          3331      4864  12321823+   b  Win95 FAT32
Old 08-07-2004, 10:31 AM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
Welcome to LQ.

You may want to try checking your hard disk with "badblocks" to make sure there isn't a hardware fault.

You could also try copying all of the data off the partition and then reformatting it. You could also try upgrading your kernel incase there is a bug in hte vfat filesystem module.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Could I create a FAT partition that both WinXP and Linux could read/write to? EOHooligan Linux - General 4 01-25-2005 11:48 AM
Windows files copied to my linux partition are locked when logged in as a normal user necbrownie Slackware 8 10-15-2004 08:11 AM
prevent files from getting copied even though they have read permission arnieboy Linux - Security 9 10-08-2003 03:12 PM
Can't see files created using RH9 on the FAT32 partition in WinXP jvala Linux - General 1 09-02-2003 10:17 AM
mounting fat32 winXP partition in linux for mp3s centr0 Linux - General 2 03-08-2003 10:28 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration