Operating Systems > Linux and UNIX

Question about FAT32 and RedHat Linux

(1/3) > >>

ProdigySim:
First of all, can RedHat Linux Read/Write on FAT32 partitions?

Secondly, if it can, where do I go to access those partitions?

Fett101:
Yes. And, I dunno about Red Hat, but in Mandrake it's automatically mounted with the other drives under /mnt/

Stryker:
in the control center of kde you can choose to display mounted and unmounted partitions on the desktop, you might want to configure this for easy access to them. otherwise, you'll have to mount them in a folder... typically /mnt/dos or something.

Copperhead:
You need to edit a file called /etc/fstab.  In that file, there should be a listing of all devices that you have mounted. Let's use an example:

* Red Hat is on a dual boot with Windows on the primary harddrive

Run this command:

$ cat /etc/fstab

It should return something like this:


#/etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>               <dump>  <pass>
/dev/hdb1       /               ext3    errors=remount-ro       0       1
/dev/hdb3       /media          ext3    auto                    0       0
/dev/hdb4       /home           ext3    auto                    0       0
/dev/hdb5       none            swap    sw                      0       0
proc            /proc           proc    defaults                0       0
/dev/fd0        /floppy         auto    user,noauto             0       0
/dev/cdrom      /cdrom          iso9660 ro,user,noauto          0       0
/dev/hda1       /windows/c      vfat    auto                    0       0
/dev/hda5       /windows/g      vfat    auto                    0       0
/dev/hda6       /windows/d      vfat    auto                    0       0
/dev/scd0       /cdwriter       auto    ro,noauto,user,exec     0       0


In this example, I have two physical harddrives (/dev/hda and /dev/hdb), both of which are partitioned. (/dev/hda1 = "C:" on Windows, whereas /dev/hdb1 is the / directory of my Linux drive). I had to manually input the information into /etc/fstab to make it automount upon the initial, and only, boot of Linux, as specified in the <options> column.  You don't really have to worry about the <dump> and <pass> fields for now. What I have will work, for the time being.  

When setting up /etc/fstab, you have to not only declare the file system type (in this case vfat), and its representation in the /dev directory (in this case /dev/hda1), but you must also specify a mount point (in this case /windows/c).  Basically, what this means, is that  you have to make mountable directories where you would like to access your mounted filesystems. In my case, I ran this command after I editied /etc/fstab:

$ mkdir -p /windows/c # and then all other Windos drives

Once everything was delcared, you can run:

$ mount /windows/c

Then run this command:

$ cd /windows/c; ls -la

You should be able to see the entire DOS tree, the directories, files, and permissions.

After that, you can set up "shortcuts" to your Windows drives on your GNOME/KDE/whatever desktop.


Hope that helps  

Faust:
If first poster was asking for future reference then I wouldn't worry too much about the info overload, Red Hat will do it all automatically during the install.

Navigation

[0] Message Index

[#] Next page

Go to full version