LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mounting disk (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-disk-274436/)

Maze 01-05-2005 10:15 PM

mounting disk
 
Hello to Everyone!

I'm new to Linux and I'm using RedHat 7.2.
I'm currently having problem on how to access my files on a separate HD (FAT32) and I don't know how to mount it.
A little help would be very much appreciated, thanks! :)

leonscape 01-05-2005 10:34 PM

Make sure your root and then:

mkdir /mnt/windisk
mount -t vfat /dev/hdXX /mnt/windisk

Replacing /dev/hdXX with what the device actually is, if your not sure try

fdisk -l

Which will list all the partitions and what the devices will be.

Once your happy this works edit /etc/inittab and add it in there

/dev/hdXX /mnt/windisk vfat rw,users,noauto 0 0

After that:

mount /mnt/windisk - Mounts the Disk
umount /mnt/windisk - Unmounts the Disk

Also you can set up stuff in say a Window manager to use this.


All times are GMT -5. The time now is 10:08 AM.