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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-02-2005, 03:01 PM
|
#1
|
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539
Rep:
|
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!
Last edited by nadroj; 01-02-2005 at 03:04 PM.
|
|
|
01-02-2005, 03:07 PM
|
#2
|
Member
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with 2.6.16.18 (still off the hook)
Posts: 284
Rep:
|
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!!!!
|
|
|
01-02-2005, 03:22 PM
|
#3
|
Member
Registered: Jan 2004
Distribution: Mac OS X 10.6.4 "Snow Leopard", Win 7, Ubuntu 10.04
Posts: 322
Rep:
|
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.
Last edited by claudius753; 01-02-2005 at 03:24 PM.
|
|
|
01-02-2005, 04:15 PM
|
#4
|
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539
Original Poster
Rep:
|
thank you very much, both mago and claudius!
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.
Last edited by nadroj; 01-02-2005 at 04:22 PM.
|
|
|
01-02-2005, 04:30 PM
|
#5
|
Member
Registered: Jan 2004
Distribution: Mac OS X 10.6.4 "Snow Leopard", Win 7, Ubuntu 10.04
Posts: 322
Rep:
|
Installing xmms should be easy to do through Synaptic. Just search for xmms, and install it, it will resolve dependencies.
|
|
|
01-02-2005, 05:05 PM
|
#6
|
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539
Original Poster
Rep:
|
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.
|
|
|
01-02-2005, 05:08 PM
|
#7
|
Member
Registered: Jan 2004
Distribution: Mac OS X 10.6.4 "Snow Leopard", Win 7, Ubuntu 10.04
Posts: 322
Rep:
|
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.
|
|
|
01-02-2005, 05:28 PM
|
#8
|
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539
Original Poster
Rep:
|
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
|
|
|
01-02-2005, 05:42 PM
|
#9
|
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539
Original Poster
Rep:
|
got xmms running and playing my songs 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:42 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|