LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Mounting a Windows Drive (https://www.linuxquestions.org/questions/linux-software-2/mounting-a-windows-drive-58929/)

digsby0007 05-09-2003 02:21 PM

Mounting a Windows Drive
 
I am running RH 8 on a partition. I had xp on the other partition, but I deleted the os. So how do I in red hat mount that xp drive? Im trying to transfer over all of my media files, the I can format it. But I cant see where it is. I have RH on a 15 gig partition, and a partition of 10 gigs (where the xp media is)


Thanks,
Digsby

david_ross 05-09-2003 02:24 PM

Create a mount point:
mkdir /mnt/xp

Then mount it:
mount -t ntfs /dev/hda1 /mnt/xp

Where "a" is your drive and "1" is your partition.

Crashed_Again 05-09-2003 02:46 PM

I think you also have to add ntfs support to your kernel. You can find everything you need here.

anil 05-09-2003 02:54 PM

first of all you need to know what partition was used by xp for that
use (run as root)

fdisk /dev/hda

then use 'p' to print all the partitions
note down all the partitions which are not used by linux
example

/dev/hda1
/dev/hda2

exit fdisk by using `q` option

you need to format your hard disk to ext3 format, as this format most used by linux. type the following command

mke2fs -j /dev/hda1

this would create your ext3 partion. now you need to mount it. create a directory and mount it on it.

ex: mkdir /data

mount /dev/hda1 /data

if you want this change to be permanent , at it in your /etc/fstab file

Anil

Crashed_Again 05-09-2003 04:18 PM

Okay after reading anvil's post and then re-reading your post I think I had the wrong idea of what was going on. So you removed XP from the other partition and now you just have an empty partition that you want to turn into a Linux parition right? If so then anvil's got what you need.


All times are GMT -5. The time now is 07:23 PM.