First you people need to be sure about which windows partition you want to access. For that, if you were a newbie then access any partition manager like gparted and conclude whether its hda1 or hda2… or hdb1 or hdb2 etc. Use the partition size as a clue to identify the right partition.
Once you got the right thing, create a folder in the mnt directory. If there is no such mnt directory then use the media directory.
To create a folder in any of these directories, you should have the root permission. For that, use the SU command, provide the root password and then create the folder.
mkdir /mnt/foldername
(or)
mkdir /media/foldername
Once you have created the folder, you would be mounting the windows ntfs partition onto this folder with the following command.
for example, let us assume it to be hda3
mount /dev/hda3 /mnt/foldername/ -t ntfs -o nls=utf8,umask=0222
(or)
mount /dev/hda3 /media/foldername/ -t ntfs -o nls=utf8,umask=0222
Now you can access your windows ntfs partition from /mnt/foldername which will be a readonly one. You cant modify the files on those windows ntfs partition.
I tried this on debian etch and worked great.
Recent Comments