LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   NTFS Drive mounting on ubuntoo problem (https://www.linuxquestions.org/questions/linux-newbie-8/ntfs-drive-mounting-on-ubuntoo-problem-273015/)

nadroj 01-02-2005 03:01 PM

NTFS Drive mounting on ubuntu problem
 
*background
im very new to linux, but really want to learn. im dual booting xp pro and ubuntu. while in ubuntu, i wanna listen to my mp3s on one of my ntfs partitions, but cant seem to.. i know im doing something wrong because i dont have much experience

*to the point
im trying mount an ntfs partition. i type "mount /dev/hda1 -t ntfs /mnt/win1 -o rw", to allow r/w access to the folder, i think. seems to mount fine. but when i try and display the folder (using gui) it gives error saying "You do not have the permissions necessary to view the contents of "win1". i can view the folder using cmd line however. do i need to supply with the mount cmd, that user 'jordan' owns the folder, or something?

thanks for any feedback!

mago 01-02-2005 03:07 PM

That is almost totally correct, now you better edit the /etc/fstab and add this line so you will have the NTFS partition mounted automaticly every time.


CODE]/dev/hda1 /mnt/win1 ntfs auto,users,umask=000,ro 0 0[/CODE]
Unless you have the new modules to write to the NTFS is not likely that you will be able to.


Cheers!!!!

claudius753 01-02-2005 03:22 PM

Code:

mount /dev/hda1 /mnt/win1 -t ntfs -r -o umask=000
I think the problem was you were mounting as root, and did not have the proper permissions set up for mortal users to do anything with the drive. You can still see the files from the command line, because you were probably still root.

I see you are using Ubuntu, as I recall, that has no su for root, you must use the "root terminal" or something similar to do commands as root. That is why you could see the files from the terminal.

nadroj 01-02-2005 04:15 PM

thank you very much, both mago and claudius! :D
i have successfully mounted 3 of my ntfs partitions, and can access them fine from gui browsers.

claudius:
yeah.. i guess i was mounting as root.. in ubuntu, apparently you get root terminal access by typing "sudo su" then passw, and u can enter cmds as root. which now makes sense.. i could view the folder cuz i was still in the same console window, logged in as root.

mago:
i noticed one of the parameters you told me to add to fstab, "ro".. this means mount filesystem as read-only? i figured it did... so i replaced it with rw, for all 3 mounts. nothing blew up, so thats good. but it doesnt seem to allow me to write to the drive.

at least iv learned how to mount my other ntfs partitions, which is cool. i went to go play some mp3s, but ubuntu doesnt seem to have xmms, so it opened in "rythmBox", at which point it told me it doesnt have the .mp3 codec ;p

i guess im off now to try and learn how to install xmms now, lol, hope its not too hard

thanks again.

claudius753 01-02-2005 04:30 PM

Installing xmms should be easy to do through Synaptic. Just search for xmms, and install it, it will resolve dependencies.

nadroj 01-02-2005 05:05 PM

ok i found and downloaded synaptic... on to install...

it says to run the command "./configure" , then "make", then "make install"
after i do ./configure.. it shows afew lines, which seem to be correct.. then it gives error and says "configure: error: no acceptable C compiler found in $PATH"
above that it says it cant find: cl, cc, cc (again), and gcc.... which is the gnu c compiler right? so i take it i gotta install the gcc...? hope THAT one works.

claudius753 01-02-2005 05:08 PM

Is not synaptic included in Ubuntu? I thought for sure it was already in a menu somewhere. I'm not using it at the moment, so i couldn't tell you exactly where in the menu, but I thought for sure it was there.

nadroj 01-02-2005 05:28 PM

lol...
yeah i just found it in the menu Computer > System config :S
i just opened it and im gonna try and look for xmms and install.

i notice gcc is in the list, and installed... im wondering how come it said it couldnt find the c $path? that didnt mean it wasnt installed, right? it just meant i didnt setup the environment/$path for the compiler right? i have been learning java for almsot a year, and i know about the path and classpath variables, they are probably similar, just ones C and ones java.
in my last voyage with linux, i installed suse and tried to do java in it.. i looked online on how to setup the path variables but couldnt find out.. oh well this is getting off topic, sry

thanks

nadroj 01-02-2005 05:42 PM

got xmms running and playing my songs :D no more silence

i was wondering how to add it to my "applications > multimedia" menu..? or how to set the program up to handle all my audio files so i dont have to select to open with xmms for each song? or could you give me a link where to look, to shut me up?


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