LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mounting a windows partition? (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-a-windows-partition-55227/)

codename000 04-15-2003 08:26 PM

mounting a windows partition?
 
my specs are:
1 x 20G hd
partition 1: windows xp(fat32) (dev/hda1??)
partition 2: RH linux (dev/hda2??)
partition 3: no os, only files(fat32) (dev/hda3??)

so the question is how can i mount the windows partition(s)?
will i be able to still browse the those mounted partitions in windows after doing this? or will i need to unmount them afterwards?

thx in advance for any help.:)

paneless 04-15-2003 09:27 PM

Make a directory /mnt/winXP:

mkdir /mnt/winXP

Type the following (probably need to be root):

mount -t vfat /dev/hda1 /mnt/winXP

That should let you access your XP partition.

To have it mount automatically at boot, edit /etc/fstab, adding the following line (again, probably as root):

/dev/hda1 /mnt/winXP vfat ro 0 0

Make sure to get each part of the above line in the right column. This will mount the partition as read only when you boot into linux.


All times are GMT -5. The time now is 01:25 AM.