LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 02-22-2003, 11:57 AM   #1
nocoolname
LQ Newbie
 
Registered: Feb 2003
Posts: 4

Rep: Reputation: 0
I can't see "some" VFAT files


Hi,

I have a dual boot laptop (XP/Red Hat 8) with a VFAT partition (25 GB) supposedly for data, the idea is to read and write data to the same partition no matter which OS is running, bu it's not working quite well. When I am using linux I cant see and modify the files and directories created in XP, but when I boot in XP the files created in linux are just not there.

Any thoughts?

 
Old 02-22-2003, 01:24 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
First off, make sure it's fat32, normally XP is ntfs. Second, you'll want to load the vfat module, so open up a terminal, and (as root) type:
modprobe vfat

Then find which partition the vfat partition is with:
fdisk -l
And finally mount it somewhere:
mount -t vfat /dev/hdx /mnt/anywhere

replacing /dev/hdx with the device from fdisk -l and /mnt/anywhere with wherever you want to mount the device.

Cool
 
Old 02-22-2003, 01:28 PM   #3
nocoolname
LQ Newbie
 
Registered: Feb 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks!

That is what I did BEFORE the posting, the partition mounts and I can read and write to it using the VFAT module (the fs type is VFAT in the /etc/fstab) the problem is that the files I create in linux don't show up when I try to access them from XP not even as hidden files or anything....

anyway thanks for trying...
 
Old 02-22-2003, 09:02 PM   #4
nocoolname
LQ Newbie
 
Registered: Feb 2003
Posts: 4

Original Poster
Rep: Reputation: 0
I have to add that I ran a chkdsk /f in the partition (from XP) and the files appeared as lost chains, is this a bug in the VFAT module or am I doing something wrong?

Ideas, comments, anything...?
 
Old 02-23-2003, 11:46 AM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
I don't want you to think I am not following this, but I must say, I've never had a problem with it. I too dual boot XP and linux (several distros) and I've never come across that type of error. My files show up no problem. You might try looking at it from win side of things, maybe it's a problem over there.

I really don't know what to tell you at this point. Google around and see if others have reported a problem, maybe they also have a fix for it.

Cool
 
Old 02-23-2003, 11:54 AM   #6
Nefarious
Member
 
Registered: Nov 2002
Location: NY, USA
Distribution: Slackware / College Linux / WinXP
Posts: 198

Rep: Reputation: 30
heh... sorry this has no meaning to that topic cuz im a linux noob but umm master can u go on aim please i need your help,
 
Old 02-24-2003, 01:00 AM   #7
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
MasterC forgot a step. You have to make a directory for the mount device before mounting it or you will get errors.

In my fstab file shows the codepage, iocharset, and umask for my two FAT32 partitions. My iocharset is iso8859-1, codepage is 850, and umask is 0 0 0. Before entering those values check man if you can set these values with the mount command.

nocoolname, you could have sync problems. The files may still be in memory and they have not flush to disk. Try running sync if you have it. You may need to add sync into your fstab file. For Windows XP, download memzip from systweak or a sync utility from system internals.

Did you format FAT with DOS format or LINUX format. LINUX format may not be compatable with Windows XP. Also LINUX may not be compatible with Windows XP filesystem features like linking a system folder (program files, my music, my documents, etc) to a partition.
 
Old 02-24-2003, 08:38 AM   #8
nocoolname
LQ Newbie
 
Registered: Feb 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Thumbs up

The think fixed itself, I don't know how or why, but it's OK now, I am sorry to tell you that I did what all you suggested BEFORE the first posting, so it did not help, but I really appreciate the time and effort you guys put in this.

Thank you very much, people like you is what make this comunity grow stronger.

So, as MasterC says

Cool!!
 
Old 02-24-2003, 01:08 PM   #9
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Good Deal, gotta love it when for no reason describable, things just work

Cool
 
Old 02-24-2003, 01:55 PM   #10
Allen614
Member
 
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465

Rep: Reputation: 30
Disable System Restore in XP. I've seen problems with this before. When XPs journaling can't account for a file it moves it to Unknown as a file fragment.
 
  


Reply



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
Mounting vfat Partition In CentOS (OR: how to defeat the "Already Mounted Or Busy" me VCore5.0 Red Hat 0 10-20-2005 11:25 AM
add "Artist" and "Album Title" to mp3 files powah Linux - Software 2 04-05-2005 03:04 AM
why iam getting problems like "...too many files opened" or "segmentation fault" naren_0101bits Linux - Newbie 2 07-19-2004 12:20 PM
"X-MS" cant open because "x-Multimedia System" cant access files at "smb&qu ponchy5 Linux - Networking 0 03-29-2004 11:18 PM
"ifcfg-ethx" and "network-functions" files peok Linux - Networking 12 08-13-2003 06:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:31 PM.

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