LinuxQuestions.org
Review your favorite Linux distribution.
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 12-08-2002, 12:39 AM   #1
thiamhong
LQ Newbie
 
Registered: Dec 2002
Location: Malaysia
Posts: 13

Rep: Reputation: 0
R/W Fat32 file


I am newbie to redhat 8.0, i have successfully install redhat 8.0 in my system and it is run smoothly.

But i have a few question,
1) can redhat 8.0 read/write fat32 file system? if yes, i have problem to read my win98 files. I installed redhat 8.0 in my second harddisk, but i can't see all the files in my first hardisk. From the hardware browser in redhat, i can see my first hardisk with the size and type.
2) can redhat8.0 install in fat32 file system, currently i am installed it on ext2 partition.

Appreciate if anyone can assist me, thank you.

 
Old 12-08-2002, 02:19 AM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
mount the disk
issue these commands...



mkdir /mnt/fat32
mount -t vfat /dev/hda1 /mnt/fat32
cd /mnt/fat32
ls

 
Old 12-08-2002, 02:23 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
Yes, you can read the FAT filesystem from within Linux. You'll need to mount the partition or drive to read from it.
man mount for more details or search the forum here as this is asked almost daily.
And no, I wouldn't recommend running Linux on a FAT32 filesystem as there are some distro's out there that can, but it wasn't designed to run on it.
 
Old 12-08-2002, 02:57 AM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
you may want to consider using ext3
 
Old 12-08-2002, 03:21 AM   #5
bullwinkel
LQ Newbie
 
Registered: Mar 2002
Location: BFE
Distribution: Mandrake 8.0
Posts: 16

Rep: Reputation: 0
Red face i've been through it all done it and still nothing?

i want to mount /hda1 well i did all the commands ya left here and i have dirs but empty. nothing shows up .. its like the drives arent there but yet i know they are.. everything works with mandrake just fine lol... thanks anyway i guess..................
 
Old 12-08-2002, 04:23 AM   #6
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
try fdisk -l

see what you have

if the mount command failed it should give an error
 
Old 12-08-2002, 06:11 AM   #7
thiamhong
LQ Newbie
 
Registered: Dec 2002
Location: Malaysia
Posts: 13

Original Poster
Rep: Reputation: 0
mount the disk
issue these commands...



mkdir /mnt/fat32
mount -t vfat /dev/hda1 /mnt/fat32
cd /mnt/fat32
ls



Any one can tell me where to issue command above?????
is there something like Command prompt in windows98????
 
Old 12-08-2002, 06:19 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
is there something like Command prompt in windows98????
Sorry, but as someone very used to Linux that's a really funny thing to hear. you'll see soon i'm sure...

yes there is a "DOS prompt" but it's a proper one, not the junk windows uses. you want to open a terminal. preaumably you're on KDE so you'd find "konsole" easiest, should be in your menu somewhere.

many more hardcore users do everything in a console / terminal, as it's so much faster and easier than all these crappy windows-by-nmbers applications.
 
Old 12-08-2002, 06:19 AM   #9
mike L
Member
 
Registered: May 2001
Distribution: SuSE 10 (SLED)
Posts: 30

Rep: Reputation: 15
look for a monitor sitting in your task bar, it's called the konsole type the commands there.
 
Old 12-08-2002, 06:35 AM   #10
thiamhong
LQ Newbie
 
Registered: Dec 2002
Location: Malaysia
Posts: 13

Original Poster
Rep: Reputation: 0
thanks list, i have mount my first partition of my first hard disk, how can i mount the second and third partition of my first hard disk??

thank you
 
Old 12-08-2002, 11:12 AM   #11
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
The same way you did the first one ? But what kind of filesystem is on the second or third ? Is it FAT32 or DOS EXT.. if its DOS EXT FAT32 then Linux can run into problems trying to read from those from what I know of.. or tried even.
 
Old 12-08-2002, 05:31 PM   #12
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,305

Rep: Reputation: 66
yea, that "is there a prompt like in win98?" thing killed me.
I can't take it. That win98 prompt sucks whores.
i did once find a program called filec that added filename
completion at the prompt in win98. It didn't work too great though. Every version of windows that comes out, they
take out the command line utilities i use the most.
Thank heaven for cygwin. i can use the bash prompt in
windows when i have to run it.
some unix shells
bash
ash
korn
csh
zsh
 
Old 12-08-2002, 07:24 PM   #13
thiamhong
LQ Newbie
 
Registered: Dec 2002
Location: Malaysia
Posts: 13

Original Poster
Rep: Reputation: 0
Now i can mount all my first hard disk partition, using
mount /dev/hda1 /mnt/fat32.......

Thanks list.

Another problem come out now,
every time i want to access my partition, i need to re-mount all drive.
How can i automount all my partition when startup?

By the way, all the files in the mount hard disk is read only, what to do if i want to write to the file, for example i want to open my MS Word file and modify the content using OpenOffice?

Thanks......



Alvin
 
Old 12-08-2002, 09:55 PM   #14
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,198

Rep: Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089
automount FAT32 partitions

Since you are really a newbie here is the answer. After this I expect you to search the website first.

Add the following line for each FAT32 partition you want to automount in the /etc/fstab file. You will need to be root to accomplish this using a text editor.

/dev/hda1 /mnt/fat32 fat32 auto,user,umask=0 0 0

Use the same mount points like you did when for the mount command.
 
Old 12-09-2002, 02:02 AM   #15
thiamhong
LQ Newbie
 
Registered: Dec 2002
Location: Malaysia
Posts: 13

Original Poster
Rep: Reputation: 0
what do you mean by you will need to be root to accomplish this using a text editor?

does this means that i need to login as root using the password i defined when the installation time.

i am really a newbie, appreciate with all your helps.

i am trying to change my working environment from windows to linux....
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
FAT32 File Recovery barghota Linux - General 2 09-30-2005 10:28 PM
fat32 file access permissions wwnexc Linux - Security 2 09-05-2005 10:04 PM
Fat32 Long file names cppkid Programming 1 07-29-2005 04:01 AM
Azureus file resuming on fat32 therock598 Linux - Software 0 10-27-2004 03:51 PM
File size limit on FAT32 bjb123 Linux - Software 2 11-17-2003 01:02 PM

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

All times are GMT -5. The time now is 08:50 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