LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-20-2006, 01:00 PM   #1
Var2
Member
 
Registered: Sep 2005
Location: India
Distribution: Fedora 4 (past)
Posts: 36

Rep: Reputation: 15
How to view Fat32


I just installed Fedore core few days before on other parition ,i have xp in c (fat32) and insatled linux on d (ext3) ,but i can't see my c: patrion as it fat32 so how can i do that i can view fat32 partion from linux and i don't wana do this for tempary use i want that i can view my fat32 pations noramly always from linux.
 
Old 04-20-2006, 01:19 PM   #2
Dudydoo
Member
 
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 275

Rep: Reputation: 38
'su' to root and make a directory for the mount ...
Code:
# mkdir /mnt/win_c
and add the following line to /etc/fstab ...
Code:
/dev/hda1    /mnt/win_c   vfat    defaults,umask=000    0 0
then type or reboot ...
Code:
# mount /mnt/win_c
 
Old 04-20-2006, 01:25 PM   #3
EchoWarrior
Member
 
Registered: Aug 2005
Location: Finland
Distribution: Gentoo 2006.0, Debian 3.1r0
Posts: 60

Rep: Reputation: 15
Well, first make a mount point for the Windows partition:
mkdir /mnt/windows

Then mount it:
mount -t vfat /dev/hdaX /mnt/windows

Where the "X" is the partitions number

I quess you want it to mount automatically on boot? Then edit /etc/fstab (as root)
and add the following line there:
/dev/hdaX /mnt/windows vfat noauto,user 0 2

After that you dont need to use the mount command always. If the line works

"X" is again the number of partition

Im not sure will they work, but try
 
Old 04-20-2006, 01:26 PM   #4
Ahmed
Member
 
Registered: May 2005
Location: München, Germany
Distribution: Slackware, Arch
Posts: 386

Rep: Reputation: 41
It doesn't have to be in /mnt/win_c by the way

It can be anywhere you want it to be, and I suggest you create a directory somewhere in your home folder, like

/home/[your user name]/C:

Just make sure to write that directory in /etc/fstab as it is.

-A
 
Old 04-20-2006, 01:26 PM   #5
EchoWarrior
Member
 
Registered: Aug 2005
Location: Finland
Distribution: Gentoo 2006.0, Debian 3.1r0
Posts: 60

Rep: Reputation: 15
Oh. Dudydoo did it first
 
Old 04-20-2006, 01:33 PM   #6
python302
LQ Newbie
 
Registered: Apr 2006
Posts: 6

Rep: Reputation: 0
regarding viewing fat32

well check for file :--

1. /etc/fstab

under that file u will be having 6 options.am telling u about the optons one by one.
before doing that -check for commond
Quote:
fdisk -l
.you will be able know the name of your windows partition i.e,/dev/hdc1 or like that with there file type vfat.


after that what u do is add this disk entry to
/etc/fstab file like....

Quote:
vi /etc/fstab
now 1st option- palce ur windows drive name there , /dev/hdc2 or wtever is there.

now in 2nd option-create a directory that will mount ur windows file system like
Quote:
/media/windows
.you need to have a directory where ur windows files will get placed.

now in 3ed option-write
Quote:
vfat
.

in 4th option go for -
Quote:
defaults
only.

in 5th and 6tt go for -
Quote:
0,0
after doing this restart your sytem or relogin i am sure your problem will be able to see contents of windows file under directory
Quote:
/media/windows
.

gud luck.

Last edited by python302; 04-20-2006 at 01:42 PM.
 
Old 04-20-2006, 01:34 PM   #7
Var2
Member
 
Registered: Sep 2005
Location: India
Distribution: Fedora 4 (past)
Posts: 36

Original Poster
Rep: Reputation: 15
Daer friends thanks
But am realy i newbie ,and just istalled linux and even don't know any coomand of it so plz tell me step by step as how and where to make directory then how i can mount it ,as i am using windows alawys so i don't anything about linux so plz help me !

Yaaa brother but where to write this "fdisk -l"

Last edited by Var2; 04-20-2006 at 01:38 PM.
 
Old 04-20-2006, 01:35 PM   #8
EchoWarrior
Member
 
Registered: Aug 2005
Location: Finland
Distribution: Gentoo 2006.0, Debian 3.1r0
Posts: 60

Rep: Reputation: 15
Are you using X Window System? (Graphical desktop)
I quess you have some kind of text editor in your computer?
 
Old 04-20-2006, 01:43 PM   #9
Var2
Member
 
Registered: Sep 2005
Location: India
Distribution: Fedora 4 (past)
Posts: 36

Original Poster
Rep: Reputation: 15
Yaaa a using KDE (graphical desktop) on fedore core 4 there r many text editor here so which one how ?????
 
Old 04-20-2006, 01:45 PM   #10
EchoWarrior
Member
 
Registered: Aug 2005
Location: Finland
Distribution: Gentoo 2006.0, Debian 3.1r0
Posts: 60

Rep: Reputation: 15
Just use some editor that you like
Then open the /etc/fstab to it, and follow the instructions above.
 
Old 04-20-2006, 02:37 PM   #11
demented_are_go
Member
 
Registered: Mar 2006
Distribution: Fedora Solaris Slackware
Posts: 50

Rep: Reputation: 15
vi is a good editor, some may say it's not that easy to use, but it's worth learning. There's a tutorial here for beginner users : http://www.eng.hawaii.edu/Tutor/vi.html
 
Old 04-23-2006, 11:08 AM   #12
Ahmed
Member
 
Registered: May 2005
Location: München, Germany
Distribution: Slackware, Arch
Posts: 386

Rep: Reputation: 41
1) Log in as root

2) Create a folder wherever you want:
/home/{your user name}/C: or Win_C or whatever you want to call it. I'll assume you call it /home/{user name}/C:

("/home/yourusername/C:" means: You created a folder called C: inside the directory that carries your user name, which is inside the directory called /home)
This is the folder where you will see the files from C: later. You can choose to create it anywhere else under any name, so just note the name down.

3) Use any text editor like kwrite (but NOT OpenOffice Writer)
4) Open a file called /etc/fstab (It's in the /etc directory, and the file itself is called fstab)
5) Add this line the file:

[Mind you, I put "PATH*" instead of the path of the folder where you want the partition mounted. So if it's /home/username/C:, then replace PATH* with /home/username/C:]
Code:
/dev/hda1   PATH*     vfat     user,rw,exec,umask=000 0 0
MAKE SURE not to change anything else in the file fstab.

6) Log out and log in as your user account.

Look in the folder which you created where you want the partition to be mounted. Are your files there? If not, open a konsole (menu => system => konsole) and type in the command line:

Code:
mount -a
then hit enter. The partition should be mounted in that folder and you should be able to access your files.

Good luck

-A

Last edited by Ahmed; 04-23-2006 at 11:10 AM.
 
Old 04-23-2006, 01:35 PM   #13
Var2
Member
 
Registered: Sep 2005
Location: India
Distribution: Fedora 4 (past)
Posts: 36

Original Poster
Rep: Reputation: 15
Thankssssss ahmad realy this helpful for newbie of linux like me
 
Old 04-23-2006, 04:16 PM   #14
Ahmed
Member
 
Registered: May 2005
Location: München, Germany
Distribution: Slackware, Arch
Posts: 386

Rep: Reputation: 41
Did it work?

-A
 
Old 04-24-2006, 03:04 PM   #15
Var2
Member
 
Registered: Sep 2005
Location: India
Distribution: Fedora 4 (past)
Posts: 36

Original Poster
Rep: Reputation: 15
ya it really worked but i can seee files of fat32 ib root and bit throuh my username so how can i give permision my own username to access these files ??
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE Konqueror View Mode Icons (Image Preview/Tree View) sadarax Linux - General 7 06-27-2006 01:45 PM
View NFTS after (FAT32 to NTFS) Amir_1984 SUSE / openSUSE 3 11-07-2005 02:10 AM
Aplication used to view fat32 drives content Born_dead Linux - Software 2 10-03-2005 05:14 AM
To view the ext3 FS in windows(FAT32) savimonty Linux - Software 2 04-23-2005 08:00 AM
view fat32 in linux dual boot XP ALInux Linux - Software 3 11-16-2003 05:04 AM


All times are GMT -5. The time now is 02:17 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration