LinuxQuestions.org
Visit Jeremy's Blog.
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 01-31-2005, 07:23 AM   #16
linus johann
Member
 
Registered: Jan 2005
Location: philippines
Distribution: rh 9
Posts: 71

Original Poster
Rep: Reputation: 15

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???
 
Old 01-31-2005, 07:30 AM   #17
RomanG
Member
 
Registered: Jan 2005
Location: Russia, Kazan
Distribution: Mandrake 10.2, RedHat sometimes..
Posts: 110

Rep: Reputation: 15
after all that did you reboot?
reboot or run commands 'umount -a' then 'mount -a'
 
Old 01-31-2005, 07:45 AM   #18
linus johann
Member
 
Registered: Jan 2005
Location: philippines
Distribution: rh 9
Posts: 71

Original Poster
Rep: Reputation: 15
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"
 
Old 01-31-2005, 07:49 AM   #19
linus johann
Member
 
Registered: Jan 2005
Location: philippines
Distribution: rh 9
Posts: 71

Original Poster
Rep: Reputation: 15
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!!
 
Old 01-31-2005, 07:53 AM   #20
RomanG
Member
 
Registered: Jan 2005
Location: Russia, Kazan
Distribution: Mandrake 10.2, RedHat sometimes..
Posts: 110

Rep: Reputation: 15
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.
 
Old 01-31-2005, 09:04 AM   #21
linus johann
Member
 
Registered: Jan 2005
Location: philippines
Distribution: rh 9
Posts: 71

Original Poster
Rep: Reputation: 15
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!!
 
Old 01-31-2005, 12:43 PM   #22
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
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
 
Old 01-31-2005, 09:43 PM   #23
youknowwho
Member
 
Registered: Oct 2003
Location: india
Distribution: slack
Posts: 34

Rep: Reputation: 15
change
/dev/hda5 /mnt / vfat defaults 0 0
to
/dev/hda5 /mnt /win_c vfat defaults 0 0

and
mkdir /mnt/win_dir
 
Old 01-31-2005, 11:52 PM   #24
RomanG
Member
 
Registered: Jan 2005
Location: Russia, Kazan
Distribution: Mandrake 10.2, RedHat sometimes..
Posts: 110

Rep: Reputation: 15
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.
 
Old 01-31-2005, 11:57 PM   #25
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
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!
 
Old 02-01-2005, 12:15 AM   #26
RomanG
Member
 
Registered: Jan 2005
Location: Russia, Kazan
Distribution: Mandrake 10.2, RedHat sometimes..
Posts: 110

Rep: Reputation: 15
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.
 
Old 02-01-2005, 01:29 AM   #27
linus johann
Member
 
Registered: Jan 2005
Location: philippines
Distribution: rh 9
Posts: 71

Original Poster
Rep: Reputation: 15
hello guys... actually my system can see the ntfs partition, it only cannot mount it.

thanks again for all your inputs!!
 
Old 02-01-2005, 12:32 PM   #28
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
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.
 
  


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
How to format to FAT32, and how to mount my FAT32 partition. bonniehandi Linux - Newbie 16 03-05-2006 07:54 PM
Can't mount FAT32 partition EcceVery Debian 5 09-13-2004 05:53 AM
mount of fat32 partition mys71 Red Hat 2 05-09-2004 02:54 PM
Mount fat32 partition? CletusJones Slackware 19 12-28-2003 08:13 PM
How to mount a new fat32 partition IceOnly Linux - Software 2 06-11-2003 01:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:36 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
Open Source Consulting | Domain Registration