LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to view Fat32 (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-view-fat32-437154/)

Var2 04-20-2006 12:00 PM

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.

Dudydoo 04-20-2006 12:19 PM

'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

EchoWarrior 04-20-2006 12:25 PM

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 :)

Ahmed 04-20-2006 12:26 PM

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

EchoWarrior 04-20-2006 12:26 PM

Oh. Dudydoo did it first :)

python302 04-20-2006 12:33 PM

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
.

:D gud luck.

Var2 04-20-2006 12:34 PM

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" :(

EchoWarrior 04-20-2006 12:35 PM

Are you using X Window System? (Graphical desktop)
I quess you have some kind of text editor in your computer?

Var2 04-20-2006 12:43 PM

Yaaa a using KDE (graphical desktop) on fedore core 4 there r many text editor here so which one how ?????

EchoWarrior 04-20-2006 12:45 PM

Just use some editor that you like :)
Then open the /etc/fstab to it, and follow the instructions above.

demented_are_go 04-20-2006 01:37 PM

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

Ahmed 04-23-2006 10:08 AM

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

Var2 04-23-2006 12:35 PM

Thankssssss ahmad realy this helpful for newbie of linux like me :)

Ahmed 04-23-2006 03:16 PM

Did it work? :)

-A

Var2 04-24-2006 02:04 PM

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 ??


All times are GMT -5. The time now is 03:24 AM.