LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   R/W Fat32 file (https://www.linuxquestions.org/questions/linux-general-1/r-w-fat32-file-37627/)

thiamhong 12-08-2002 12:39 AM

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.

:newbie:

DavidPhillips 12-08-2002 02:19 AM

mount the disk
issue these commands...



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


trickykid 12-08-2002 02:23 AM

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.

DavidPhillips 12-08-2002 02:57 AM

you may want to consider using ext3

bullwinkel 12-08-2002 03:21 AM

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

DavidPhillips 12-08-2002 04:23 AM

try fdisk -l

see what you have

if the mount command failed it should give an error

thiamhong 12-08-2002 06:11 AM

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

acid_kewpie 12-08-2002 06:19 AM

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.

mike L 12-08-2002 06:19 AM

look for a monitor sitting in your task bar, it's called the konsole type the commands there.

thiamhong 12-08-2002 06:35 AM

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

trickykid 12-08-2002 11:12 AM

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.

whansard 12-08-2002 05:31 PM

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

thiamhong 12-08-2002 07:24 PM

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

:newbie:

:Pengy: Alvin

michaelk 12-08-2002 09:55 PM

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.

thiamhong 12-09-2002 02:02 AM

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


All times are GMT -5. The time now is 05:18 PM.