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-31-2005, 07:23 AM
|
#16
|
Member
Registered: Jan 2005
Location: philippines
Distribution: rh 9
Posts: 71
Original Poster
Rep:
|
inserted this in my fstab:
/dev/hda5 /mnt/win_d vfat umask=0 0 0
/dev/hda1 /mnt/win_c ntfs umask=0,ro 0 0
/dev/hdb1 /mnt/win_e vfat umask=0 0 0
still didnt work... i also created the directories using the mkdir command... what could be wrong here???
|
|
|
01-31-2005, 07:30 AM
|
#17
|
Member
Registered: Jan 2005
Location: Russia, Kazan
Distribution: Mandrake 10.2, RedHat sometimes..
Posts: 110
Rep:
|
after all that did you reboot?
reboot or run commands 'umount -a' then 'mount -a'
|
|
|
01-31-2005, 07:45 AM
|
#18
|
Member
Registered: Jan 2005
Location: philippines
Distribution: rh 9
Posts: 71
Original Poster
Rep:
|
i rebboted my machine after doing that...
now i tried the :
mount -t /dev/hdb1 vfat /mnt/win_e
it says "fat32 not supported by kernel"
|
|
|
01-31-2005, 07:49 AM
|
#19
|
Member
Registered: Jan 2005
Location: philippines
Distribution: rh 9
Posts: 71
Original Poster
Rep:
|
whoa!! wait a minute!! i see it now!!!... it's working now... it seems i got confused... didnt know where to look thats what!!! thanks man!!! u have been a big help...
thanks for that config that u posted...!!!
now im off to other matters on to the world of opensource... ill keep you posted!! more power!!
|
|
|
01-31-2005, 07:53 AM
|
#20
|
Member
Registered: Jan 2005
Location: Russia, Kazan
Distribution: Mandrake 10.2, RedHat sometimes..
Posts: 110
Rep:
|
Thank you too.
Do you have ICQ? If so, send me it, or say 'yes I have ICQ' and I'll send you my UIN to mailbox that is in your Properties
Last edited by RomanG; 01-31-2005 at 07:56 AM.
|
|
|
01-31-2005, 09:04 AM
|
#21
|
Member
Registered: Jan 2005
Location: philippines
Distribution: rh 9
Posts: 71
Original Poster
Rep:
|
still can mount ntfs but it doesnt really matter...
i dont have icq.. plan to get icq on of these days.. i have yahoo messenger though... onehotdudeman is my id (if u have yahoo messenger).. i'd like to chat some more with u... u've really been a great help
tnx again!!
|
|
|
01-31-2005, 12:43 PM
|
#22
|
Senior Member
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524
Rep:
|
correcting RomanG:
chmod o+w /etc/fstab sets write permission for _other_, not owner (which is actually a bad idea). What you probably meant was chmod u+w, adding w-permission to the user (owning the file). Say 'man chmod' for more specific instructions and specs of chmod.
Jonas
|
|
|
01-31-2005, 09:43 PM
|
#23
|
Member
Registered: Oct 2003
Location: india
Distribution: slack
Posts: 34
Rep:
|
change
/dev/hda5 /mnt / vfat defaults 0 0
to
/dev/hda5 /mnt /win_c vfat defaults 0 0
and
mkdir /mnt/win_dir
|
|
|
01-31-2005, 11:52 PM
|
#24
|
Member
Registered: Jan 2005
Location: Russia, Kazan
Distribution: Mandrake 10.2, RedHat sometimes..
Posts: 110
Rep:
|
Quote:
Originally posted by jonaskoelker
correcting RomanG:
chmod o+w /etc/fstab sets write permission for _other_, not owner (which is actually a bad idea). What you probably meant was chmod u+w, adding w-permission to the user (owning the file). Say 'man chmod' for more specific instructions and specs of chmod.
Jonas
|
Many many thanks for correctingg me. I automatically wrote chmod o+w because was changing permissions to one file at that time, so man chmod - first, then all above...
Thanks to you, jonaskoelker again.
So chmod o-w - take write permissions from others back, then chmod u+w - give write permissions to owner ( user) of the file(the root is). Jonas, Am I right?
Quote:
youknowwho
change
/dev/hda5 /mnt / vfat defaults 0 0
to
/dev/hda5 /mnt /win_c vfat defaults 0 0
and
mkdir /mnt/win_dir
|
/dev/hda5 /mnt / vfat defaults 0 0 - I' sorry, where did you get it? It seems to me I was correct.
|
|
|
01-31-2005, 11:57 PM
|
#25
|
Senior Member
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552
Rep: 
|
1. Log into your Linux system.
2. Open up an xterm or konsole. Do this by looking on the startbar and using the "Run Command" or similar option. Try to run xterm or konsole - you should have one (or both) of them on any relatively recent distro.
3. When the window opens and the prompt comes up, type su and press enter.
4. You should now be prompted for your root user password. Type it and press enter.
5. At the following prompt type
mkdir /mnt/win
and press enter.
6. Then type vi /etc/fstab. Press enter.
7. Move the cursor to the bottom of the list and press END.
8. Press A (ignore if it moans about editing a write-only file) and enter.
9. Type
/dev/hda1 /mnt/win vfat user,exec,dev,suid,rw,umask=000,auto 0 0
10. Press escape.
11. Type :w! (just like that - colon, w ! and press Enter.
12. Log out of superuser mode in the xterm, close the xterm and reboot.
13. You should now have acces to your FAT32 partition in Linux as /mnt/win
14. NOTE----- As far as I know Linux DOES NOT yet read NTFS partitions. So if you installed XP with NTFS, you're outta luck.
Regards!
|
|
|
02-01-2005, 12:15 AM
|
#26
|
Member
Registered: Jan 2005
Location: Russia, Kazan
Distribution: Mandrake 10.2, RedHat sometimes..
Posts: 110
Rep:
|
Stefan, how to know if pre-compiled kernel that comes with his distro supports mounting NTFS & FAT?
'modprobe -l' or 'modprobe -c'? And what about if he has no such compiled modules at all or has them built-in into kernel?
Thank you.
|
|
|
02-01-2005, 01:29 AM
|
#27
|
Member
Registered: Jan 2005
Location: philippines
Distribution: rh 9
Posts: 71
Original Poster
Rep:
|
hello guys... actually my system can see the ntfs partition, it only cannot mount it.
thanks again for all your inputs!!
|
|
|
02-01-2005, 12:32 PM
|
#28
|
Senior Member
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552
Rep: 
|
Quote:
Originally posted by RomanG
Stefan, how to know if pre-compiled kernel that comes with his distro supports mounting NTFS & FAT?
'modprobe -l' or 'modprobe -c'? And what about if he has no such compiled modules at all or has them built-in into kernel?
Thank you.
|
Hmm.. very good point. There is no way to know. What I suggested would ONLY work if he had such support compiled into the kernel of course. Thanks for correcting me - I should have mentioned that.
Its one more reason to like RedHat - GO REDHAT!! Such commonly needed stuff (like FAT32 support) seems to always be where you want it - in the kernel, ready to be used.
|
|
|
All times are GMT -5. The time now is 10:53 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
|
|