LinuxQuestions.org
Help answer threads with 0 replies.
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 05-23-2005, 11:30 PM   #1
mind_prodigy
LQ Newbie
 
Registered: May 2005
Distribution: Slackware 10.0
Posts: 3

Rep: Reputation: 0
problems mounting hard disk


Hey, guys. I'm having a problem mounting a hard disk. Whenever I try mounting my 2nd hard disk, or my windows partition, to a mount point, any mount point, the ownership of the folder changes to root, and my regular user cant view it. It is a fat32 partition. My /etc/fstab file looks like this:

/dev/hda5 swap swap defaults umask=000 0 0
/dev/hda2 / reiserfs defaults umask=000 1 1
/dev/hda1 /windows vfat defaults umask=000 1 0
/dev/hdb1 /storage vfat defaults umask=000 1 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

any suggestions? Thanks!

Josh
 
Old 05-24-2005, 12:04 AM   #2
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 59
u said 2nd hard disk or the windows partition, are you referring to these 2?
Code:
/dev/hda1 /windows vfat defaults umask=000 1 0
/dev/hdb1 /storage vfat defaults umask=000 1 0
as these are in the fstab file, i suppose your having them mounted automatically upon boot, and your not using the 'mount' command, correct?

try changing it to something like:
Code:
/dev/hdb1       /storage       vfat    auto,users,umask=000,rw 0 0
 
Old 05-24-2005, 06:03 PM   #3
mind_prodigy
LQ Newbie
 
Registered: May 2005
Distribution: Slackware 10.0
Posts: 3

Original Poster
Rep: Reputation: 0
Talking problem solved

Problem solved. My Users have access to both partitions now. Thanks for the help!
 
Old 05-24-2005, 09:42 PM   #4
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 59
all is well now? np
just wondering what was the resolution? did you try my recommended fstab edit or were you using 'mount' command or what?

thx
 
Old 05-26-2005, 05:49 PM   #5
mind_prodigy
LQ Newbie
 
Registered: May 2005
Distribution: Slackware 10.0
Posts: 3

Original Poster
Rep: Reputation: 0
Yes, I set my fstab up exactly like you suggested, and everything worked fine. It automounted, and all my users were able to access the partitions. I figured the 'auto' part of the lines set up the automount, so I tried using the mount command with the fstab set up without auto, and that worked fine as well. All is good now. I appreciate the help. Thanks again! Oh, just for future reference, what part of those two lines of the fstab actually let my regular users use those partitions? Thanks!

Last edited by mind_prodigy; 05-26-2005 at 05:50 PM.
 
Old 05-26-2005, 11:44 PM   #6
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 59
hmm.. im curious now, i cant seem to understand why it wouldnt work the first time...
only thing i can think of is the space you have after defaults.. can you try and experiment for me please?

change one of the 2 lines that were having a problem, from:
Code:
/dev/hdb1 /storage vfat defaults umask=000 1 0
to
Code:
/dev/hdb1 /storage vfat defaults,umask=000 1 0
ie: replace the space after defaults with a comma
and can you save, reboot, and do what you originally were doing and let me know if that works for that partition?

it would be appreciated, thanks

edit: if this works, i should be able to explain to you why it does

Last edited by nadroj; 05-27-2005 at 01:08 AM.
 
  


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
mounting hard disk with other OS nelo Linux - Hardware 1 10-12-2005 08:59 PM
mounting hard disk Olle Linux - Newbie 8 01-22-2005 12:31 PM
Mounting a hard disk??? dsschanze Linux - Hardware 4 09-25-2004 11:46 PM
mounting hard disk LTF Linux - Newbie 5 08-31-2004 04:49 PM
Mounting another hard disk Bluebottle Linux - General 3 02-08-2003 06:06 PM


All times are GMT -5. The time now is 06:19 AM.

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