LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   accessing windows drive (https://www.linuxquestions.org/questions/linux-general-1/accessing-windows-drive-563192/)

tostay2003 06-20-2007 07:46 AM

accessing windows drive
 
Hi ,

I two operating systems (windows, fedora linux).

I want to access windows directory, which is on /dev/hda1

how can I do that...

I tried to mount /dev/hda1 ---- didnt work
I tried to add a line to /etc/fstab ----- didnt work

I don't even know whether I was doing right, was loittering around with the commands.

How can I access windows directory.

brianL 06-20-2007 08:07 AM

Try installing ntfs-3g.

pixellany 06-20-2007 08:21 AM

Depending on your version of Fedora, there might already be a mount point setup in /mnt--if not you can make a mount point using "mkdir windows" (or "mkdir some_name")
then:
mount /dev/sda1 windows
OR
mount /dev/sda1 some_name

The ntfs filesystem should be detected automatically--if not, then do:
mount -t ntfs /dev/sda1 window

If there is already an entry in fstab, then:
mount windows

Here is the fstab entry that my system sets up automatically:
/dev/sda1 /mnt/sda1 ntfs-3g noauto,users 0 0

This says that the partition will not be automatically mounted at boot time and that anyone in the "users" group is allowed to mount it

"man mount" and "man fstab" for more details

pixellany 06-20-2007 08:22 AM

Quote:

Originally Posted by brianL
Try installing ntfs-3g.

Indeed--an older version of Fedora might not have it

Also, tell us what errors you get


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