LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-24-2004, 12:20 AM   #1
lokizen
Member
 
Registered: Jul 2004
Distribution: debian woody
Posts: 69

Rep: Reputation: 15
Talking 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?
Thanks in advance for any help! =D
Lokizen

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



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

Last edited by lokizen; 08-24-2004 at 12:26 AM.
 
Old 08-24-2004, 12:42 AM   #2
m0rt3r
Member
 
Registered: Mar 2004
Distribution: slackware 10
Posts: 75

Rep: Reputation: 15
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
 
Old 08-24-2004, 12:47 AM   #3
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
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
 
Old 08-24-2004, 12:53 PM   #4
lokizen
Member
 
Registered: Jul 2004
Distribution: debian woody
Posts: 69

Original Poster
Rep: Reputation: 15
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!
 
Old 08-24-2004, 12:59 PM   #5
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
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
 
Old 08-24-2004, 08:08 PM   #6
lokizen
Member
 
Registered: Jul 2004
Distribution: debian woody
Posts: 69

Original Poster
Rep: Reputation: 15
=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
Lokizen
 
Old 08-25-2004, 12:38 AM   #7
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
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
 
Old 08-25-2004, 01:02 AM   #8
lokizen
Member
 
Registered: Jul 2004
Distribution: debian woody
Posts: 69

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

Last edited by lokizen; 08-25-2004 at 01:03 AM.
 
Old 08-25-2004, 01:17 AM   #9
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
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
 
Old 08-25-2004, 01:49 AM   #10
lokizen
Member
 
Registered: Jul 2004
Distribution: debian woody
Posts: 69

Original Poster
Rep: Reputation: 15
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!!
Lokizen
 
Old 08-25-2004, 02:00 AM   #11
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi

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

regards
 
Old 08-25-2004, 02:06 AM   #12
lokizen
Member
 
Registered: Jul 2004
Distribution: debian woody
Posts: 69

Original Poster
Rep: Reputation: 15
??? 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?

Last edited by lokizen; 08-25-2004 at 02:11 AM.
 
Old 08-25-2004, 02:19 AM   #13
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
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
 
Old 08-25-2004, 02:44 AM   #14
lokizen
Member
 
Registered: Jul 2004
Distribution: debian woody
Posts: 69

Original Poster
Rep: Reputation: 15
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.
 
Old 08-25-2004, 02:50 AM   #15
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
accessing ntfs drive ntisoldtech Linux - Newbie 3 04-26-2005 08:49 PM
permission problem accessing ntfs drive in MDK jmcdonald21 Linux - Hardware 2 03-28-2005 12:19 AM
Accessing a NTFS Raid-0 drive ShakyJake Slackware 2 10-19-2004 10:16 PM
Accessing a NTFS drive through wine? bassline Linux - Newbie 3 03-15-2004 03:45 PM
accessing c and d drive ntfs partitions from rh9.0 mani singh Linux - Software 5 02-27-2004 02:56 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration