How do I mount my windows partition in Redhat Linux?

tgzo

Member
May 23, 2001
106
0
0
I know during install, there was an option for my to choose my windows mount point, however, I accidentally skipped it. I want to know now how do I set up a mount point for my windows system and its files which is on a different partition in Linux. What config files do I have to modify in Redhat?

thanks a lot!
 

Cyph3r

Senior member
Jan 20, 2000
790
0
0
First of all, go into the kernel source and run the configuration, make menuconfig if you are using the text console or make xconfig if inside X-Windows. Go to the filesystems tab and make sure that FAT, VFAT and NTFS (read-only) is either checked or set to be modules. If they were already checked or set to Module then you are already all set, if not, do so, recompile the kernel and reboot the machine.

Once the machine comes back again, go into the /mnt directory and ask root create a new directory to mount the Windows partition. Now issue a command like:

mount -t vfat /dev/hdaX /mnt/<mount directory>. You will have to figure out the exact partition where your Windows is installed. If you are using an IDE harddrive then you will be using /dev/hdX, if you have SCSI, then it's /dev/sdX where X refers to the exact hard drive. For IDE drives, the possibilities are a=primary master, b=primary slave, c=secondary master, d=secondary slave. In SCSI land, a=ID 0, b=ID 1 and so on..

Now you can do a /sbin/fdisk /dev/hdX to look at the partitions on the drive and figure out which is your Windos parition.

When you've figure out all the necessary information, you can go and edit /etc/fstab to make sure that your Windows partition get's mounted automatically each time you login to Linux..Regards