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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
12-08-2002, 12:39 AM
|
#1
|
LQ Newbie
Registered: Dec 2002
Location: Malaysia
Posts: 13
Rep:
|
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.
|
|
|
12-08-2002, 02:19 AM
|
#2
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
mount the disk
issue these commands...
mkdir /mnt/fat32
mount -t vfat /dev/hda1 /mnt/fat32
cd /mnt/fat32
ls
|
|
|
12-08-2002, 02:23 AM
|
#3
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
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.
|
|
|
12-08-2002, 02:57 AM
|
#4
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
you may want to consider using ext3
|
|
|
12-08-2002, 03:21 AM
|
#5
|
LQ Newbie
Registered: Mar 2002
Location: BFE
Distribution: Mandrake 8.0
Posts: 16
Rep:
|
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..................
|
|
|
12-08-2002, 04:23 AM
|
#6
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
try fdisk -l
see what you have
if the mount command failed it should give an error
|
|
|
12-08-2002, 06:11 AM
|
#7
|
LQ Newbie
Registered: Dec 2002
Location: Malaysia
Posts: 13
Original Poster
Rep:
|
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????
|
|
|
12-08-2002, 06:19 AM
|
#8
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
12-08-2002, 06:19 AM
|
#9
|
Member
Registered: May 2001
Distribution: SuSE 10 (SLED)
Posts: 30
Rep:
|
look for a monitor sitting in your task bar, it's called the konsole type the commands there.
|
|
|
12-08-2002, 06:35 AM
|
#10
|
LQ Newbie
Registered: Dec 2002
Location: Malaysia
Posts: 13
Original Poster
Rep:
|
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
|
|
|
12-08-2002, 11:12 AM
|
#11
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
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.
|
|
|
12-08-2002, 05:31 PM
|
#12
|
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,305
Rep:
|
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
|
|
|
12-08-2002, 07:24 PM
|
#13
|
LQ Newbie
Registered: Dec 2002
Location: Malaysia
Posts: 13
Original Poster
Rep:
|
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
|
|
|
12-08-2002, 09:55 PM
|
#14
|
Moderator
Registered: Aug 2002
Posts: 26,198
|
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.
|
|
|
12-09-2002, 02:02 AM
|
#15
|
LQ Newbie
Registered: Dec 2002
Location: Malaysia
Posts: 13
Original Poster
Rep:
|
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 08:50 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|