Click to See Complete Forum and Search --> : How do I mount my Windows partition


Grizzzzi
11-07-2000, 01:56 PM
I just began using Linux (I installed) RH7.0

I need to know how to mount my Windows drive from the command prompt

Thanx in advance

TheLinuxDuck
11-07-2000, 03:20 PM
Originally posted by Grizzzzi:
I just began using Linux (I installed) RH7.0
I need to know how to mount my Windows drive from the command prompt
Thanx in advance

First, make a dir to mount to, such as /windows or /mnt/win, something applicable. (mkdir, if you aren't sure how to do it)

Then, determine which partition of the drive is your windows partition. (You can run fdisk -l /dev/hd? <? being the correct letter for the drive windows is on a,b,c,d> to list out the partition of the drive.)

Then run mount /dev/hd?n /mnt/win (? being the appropriate drive, and n being the number of the partition.

If you're unclear on any of this, please let me know. http://www.linuxnewbie.org/ubb/smile.gif

------------------
TheLinuxDuck
Wait... that's a penguin?!?!?
:wq

Phreakee
11-07-2000, 03:31 PM
Don't forget that you will have to use the -t vfat flag in the mount command for mount to recognize a FAT partition.

for example my windows partition is on my IDE drive, partition 5 so my mount command would look like:

mount -t vfat /dev/hda5 /mnt/windows

if you want this drive to be mounted everytime you boot then you need to add an entry to the /etc/fstab file.

Grizzzzi
11-07-2000, 05:01 PM
Thanx for the help

I putted an entry in fstab and it worked