Viewing FAT 32 partition
Hi again !
I'm new to Linux and running Red Hat 9. I've heard it should be possible to access and open files on FAT partitions. As you can see I have such partitions: http://home.swipnet.se/thor/pngs/Vie...tition - 1.png I've been trying to find my fat partitions in the Nautilus browser whithout success. All I've found is this: http://home.swipnet.se/thor/pngs/Vie...tition - 2.png I'm thankful if someone could help me ! |
Hi!
Did you mount the partitions? try Code:
mount /dev/hd?? /mount/point -t vfat Regards |
Thank You !
http://home.swipnet.se/thor/pngs/Vie...tition - 3.png Is this the right code? What does "only root can do that" mean? Do I have to enter the password for root? If so, how and where can I do that? This is the first time I'm working whith Linux commands. |
Hey :)
The command is right. On the screenshot you're logged as a user [thor] and users don't have the permissions to mount partitions, so you need to be root to do that. Type in the console: 1. su (this will allow you to log as a root) 2. you'll be asked for a root password 3. as root, type the following commands mkdir /mnt/windows (it creates a directory) mount /dev/hda1 /mnt/windows -t vfat 4. Reboot 5. Finished ;) |
If you want to, you can write on that FAT32 partition (and it's quite safe)
If so: Log as user, edit /etc/fstab: The "dev/hda1" line (which is your mounted partition) should look like this: /dev/hda 1 /mnt/windows vfat rw,auto,umask=000,quiet 0 0 rw .. read, write auto .. the partition will mount automatically umask=000 .. allows users to use that partition |
for more information on "mount" command type "man mount".
For more information on console commands, I'd get the (free) eBook of Paul Sheer: "Linux: rute user's tutorial and exposition" (you can find it with google), or some interesting documents in http://tldp.org/ (The Linux Documentation Project); or do a search in the forum If you have more questions on this, ask :) Regards |
martina-cz wrote:
Quote:
http://home.swipnet.se/thor/pngs/Vie...tition - 4.png How do I go on? |
No, first type "mkdir /mnt/windows" and press enter; then enter "mount /dev/hda1 /mnt/windows -t vfat" and press enter
Regards PS And don't forget the 'spaces'! |
I hope it works now :)
|
Thanks everyone! It's working now! :)
Now I can view and open my Windows documents in Red Hat. But it's one thing I'm wondering about. It seems to be necessary every time I boot up Red Hat to go to the Terminal and write the command "mount /dev/hda1 /mnt/windows -t vfat" in order to get access to hda1. This is a quite complicated procedure to do every time. Is it possible to craeate a shortcut on the Desktop which by a mouseclick gives me immediate access to hda1? Do I really have to mount hda1 by this complicated procedure every time I start up Red Hat? |
No, read above what martina-cz wrote:
Quote:
I repeat, for more details type "man mount" and read the documentation of this command (also "man fstab") Regards |
Thanks Y0jiMb0 !
I opened "fstab" and added the line: /dev/hda1 /mnt/windows vfat rw,auto,umask=000,quiet 0 0 just as you said. I restarted Red Hat and now it's working. hda1 turns up in Nautilus. :) Thanks a lot. I have a lot to learn. |
Glad to hear you got it! ;)
Regards |
All times are GMT -5. The time now is 06:21 PM. |