LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Detecting window drives inRedHat9 (https://www.linuxquestions.org/questions/linux-newbie-8/detecting-window-drives-inredhat9-228044/)

satish427 09-08-2004 03:49 AM

Detecting window drives inRedHat9
 
Please can any one give instructions on how to autoload window drives in Redhat9 ...... I have tried fdisk and mount but no able to automate the process.... :confused:

jax8 09-08-2004 04:12 AM

you will haveto add it to the file /etc/fstab

do a google search for instructions

linux_terror 09-08-2004 04:13 AM

Are the drives fat32 or ntfs, you may have only read access if they are NTFS or get filesystem not supported by kernel...
As for mounting them automatically...first you need to make a mount point. Like this...
Code:

mkdir /mnt/wins
then you need to add a line like this into your /etc/fstab
Code:

/dev/hdb1          /mnt/wins      vfat      defaults  0 0
that would be for a fat32 filesystem(vfat) on the hdb1 partition, that you wanted to be mounted to /mnt/wins.

If it is an NTFS filesystem then you would add the same line but instead of vfat you would put ntfs on the line.

If you have more than one partition that you need to mount then just create another mount point such as /mnt/wins2 and add another line to your /etc/fstab with the correct partition(such as hdb2) and filesystem.

Now your system will automount these on boot so they are always available to you.

Hope this helps,
linux_terror


All times are GMT -5. The time now is 07:15 AM.