LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   getting ntfs support for accessing windows drive (https://www.linuxquestions.org/questions/linux-newbie-8/getting-ntfs-support-for-accessing-windows-drive-221580/)

lokizen 08-24-2004 12:20 AM

getting ntfs support for accessing windows drive
 
I have installed XMMS as a mp3 player and have almost got it to where i can access my windows drive. I added a mount point, /mnt/winc, and edited both fstab and mtab to include hda1, my windows drive. I have read that i need to make my kernel compliant with NTFS format to actually read anything off the drive. How? :confused:
Thanks in advance for any help! =D
Lokizen

(also i need to resize my desktop, i dislike having to horizontal scroll, how?)

:newbie:

just noticed, does hda represent the first drive or hda1?

m0rt3r 08-24-2004 12:42 AM

i'm sure you only need to edit your fstab file. Well at least in slack that's all i had to do, i didn't have to recompile the kernel.
hda represents the first drive, the master drive.
When i get home i'll look at my fstab and post it here

masand 08-24-2004 12:47 AM

hi
hda is the ur primary master
hda1 represent ur first primary partiton

also try mounting
#mount -t ntfs /dev/hdax /mnt/win
x=no. of ur drive
win =directory where u want to mount

this wuill go if ur kernel supports ntfs partitions

regards

lokizen 08-24-2004 12:53 PM

Ok, i think the drive succesfully mounted... but how do i access it? i used
#mount -t /dev/hda /mnt/winc

no error message! how do i navigate to it, and can i get the drive to mount automatically? i set up a hard disk icon on my kde desktop, but it says it can only be mounted throught root.
Thanks again! :)

masand 08-24-2004 12:59 PM

hi there

once ur drive is mounted u can go to their through any browser u have konquerer etc etc

also u need to put an entry in /etc/fstab to mount that automatically
a xample is
-------------------------------------
/dev/hda8 /mnt/win_g auto defaults 0 0
--------------------------------------
here u need to have the /mnt/win_g directory in ur /mnt

regards
gaurav

lokizen 08-24-2004 08:08 PM

=whew= the learning curve is not so steep anymore, but the problem still remains...
I changed the fstab, and either konqueror cant find my windows drive, or i'm having user difficulty.
How do i navigate 'above' root to find my other drive? or is it supposed to show up under desktop (i use kde) like cdrom and fd0?
Thanks a trillion :D
Lokizen

masand 08-25-2004 12:38 AM

HI
THERE

when u open up konquerer
go to up sign(the up arrow)
ot type this in the adress bar "/mnt",, excluding " "
then u are in /mnt directory
then u can navigate to ur folders there which u might have made

regards
gaurav

lokizen 08-25-2004 01:02 AM

hmmm. my mount folder for windows is /mnt/winc but it contains 0 files 0 directories...
something aint copasetic i tell ya! :D
It seems to me that it might be mounted but not reading somehow,
since i'm a :newbie: it seems that i need a little more (Help!)
Lokizen
(and thank Linus I have all of you to help!)

masand 08-25-2004 01:17 AM

hii

the commad is
mount /dev/hda1 /mnt/winc (we have hda5 here not hda as u mentioned,u need to replace hda5 by he name of ur partiton,for that run "fdisk -l")
did u mount ur drive
#mount /dev/hda1 /mnt/winc

keep me posted on that

regards
gaurav

lokizen 08-25-2004 01:49 AM

Success! now i need to change permissions to access it!
(cannot access: not enough permissions)
Should i do this command line? or is there a gui solution?
Wow. thanks a gazillion all of you, this has been a very happy learning experience!! :D
Lokizen

masand 08-25-2004 02:00 AM

hi

from where are u accessing that
also u cannot write to it(if it is a ntfs partiton)

regards

lokizen 08-25-2004 02:06 AM

??? i'm actually just trying to access mp3s from hda1, but permissions wont allow.
I used konqueror to see it,but has a cute little lock on it. But lemme try something...

Ok, winc is showing no files or directories still, DENIED! ::laughing::
Could insufficient permissions show the drive as empty as opposed to giving an error message?

masand 08-25-2004 02:19 AM

hi
if u have ntfs drive then by default permisons u need to be root for that
and u need to change that permissions so that else can access that drives

regards

lokizen 08-25-2004 02:44 AM

Almost... i can access the drive only from root and it wont let me change permissions, i noticed on startup of linux that hda1 is win2k+ and is mounted read only, which is ok. But even in root i cant seem to allow my user account to access it.

masand 08-25-2004 02:50 AM

hi

now since u r using deian,so i do not what driver it is using??

are u using 2.6 kernel,
i just change my permisison from the konqueror ,right click on the folder where the drive is mounted

and set from there only

regards


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