Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] MountingFAT32Partition



Lyle (Hiroshi) Saxon wrote:

> How do I mount the partition that is sleeping
> with the FAT 32 data still sitting on it with RedHat?

First, you have to have directories through which to access the FAT 32 area,
so you should go to your /mnt directory and make subdirectories such as
win_c, win_d, etc., depending on how many Windows partitions to which you
need access.

You should think about whether you want to create these new directories as
root user or as regular user. I created them as regular user so that I have
access to these partitions without having to become su.

Then, to find out how Red Hat assigned the mount points to your FAT 32
directories, go to a shell prompt and become su.

Then do

hwbrowser

and check the hard drives to see how Linux named the appropriate drives.

[It has been the case on my RH8 system, and on others that I have seen, that
hwbrowser crashes immediately. I have written to RHN (which I am paying
for) more than five times about this, and they never answer me. As an
alternative, I have been finding out the mounting information by putting in the
first RH CD and starting an install. When you get to the partitioning stage,
you can see the names of the mount points and write them down.]

Having this information, you can now edit your /etc/fstab file to include
the appropriate information. Mine looks like this:

-----------------------------------------------------------
LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
/dev/hda7               swap                    swap    defaults        0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0 0
/dev/hda1		/mnt/win_c		vfat	noauto,owner,users 0 0
/dev/hda2		/mnt/win_d		vfat	auto,users,uid=chuck,gid=chuck 0 0
/dev/hda3		/mnt/win_f		vfat	auto,users,uid=chuck,gid=chuck 0 0
/dev/sda1		/mnt/win_g		vfat	noauto,user 0 0
/dev/sdb1		/mnt/win_h		vfat	noauto,user 0 0
/dev/cdrom              /mnt/cdrom              iso9660 noauto,owner,kudzu,ro 0 0

-----------------------------------------------------------

You can see that I have my win_d and win_f drives mounted automatically when
I start Linux. I can mount win_c and win_g, etc, but doing 

su

mount /mnt/win_c

Most likely, the more advanced users on the list can give you more accurate
advice than this.

Chuck

---------------------------
Charles Muller  <acmuller@example.com>
Faculty of Humanities,  Toyo Gakuen University
Digital Dictionary of Buddhism and CJKV-English Dictionary [http://www.acmuller.net]
H-Buddhism List Editor [http://www2.h-net.msu.edu/~buddhism/]
Mobile Phone: 090-9310-1787


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links