LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 07-29-2004, 12:36 PM   #1
NonSumPisces
Member
 
Registered: May 2004
Location: Västerås, Sweden
Distribution: Slackware Current
Posts: 228

Rep: Reputation: 30
user mounting and using removable hd


I've got a removable harddrive that I want to be able to use when logged in as ordinary (l)user.

I've tried to add the following to my fstab, but no good:

/dev/sda1 /export/storage vfat noauto,users,rw 0 0

I get the message "mount: only root can that" when I try to mount it.
Do I have to tinker with sudo or what? I havn't been able to decipher how to use sudo yet, so some other solution would be great.
 
Old 07-29-2004, 10:31 PM   #2
Vincent_Vega
Member
 
Registered: Nov 2003
Location: Jacksonville, FL
Distribution: Slackware & Arch
Posts: 825

Rep: Reputation: 31
Try changing 'users' to 'user', see if that helps.
 
Old 07-30-2004, 11:40 AM   #3
NonSumPisces
Member
 
Registered: May 2004
Location: Västerås, Sweden
Distribution: Slackware Current
Posts: 228

Original Poster
Rep: Reputation: 30
I tried that before, but that doesn't matter now, solved it this morning.
What I did was changing "users" to "owner" and then

chown anv.users /dev/sda1

That solved it
 
Old 07-30-2004, 12:46 PM   #4
Vincent_Vega
Member
 
Registered: Nov 2003
Location: Jacksonville, FL
Distribution: Slackware & Arch
Posts: 825

Rep: Reputation: 31
I mount usb drives all the time and I've never had to do that! I'll have to look into what you did and maybe find out why you had to do it like that. It seems like it might not be the best way to solve the problem but maybe I'm wrong.
Glad you got it working though!
 
Old 08-14-2004, 05:35 AM   #5
nhatkhai
LQ Newbie
 
Registered: Aug 2004
Location: fresno ca usa
Posts: 6

Rep: Reputation: 0
if you are in just as a user then you can jes log into console and su

then

mount /dev/sda1 /mnt/cdrom

this will mount for the session

if you want to add it permanet into your fstab then you may give it this setting

/dev/hda4 swap swap defaults 0 0
/dev/hda3 / reiserfs defaults 1 1
/dev/hda1 /ntfs-1 ntfs defaults 1 0
/dev/hda5 /ntfs-2 ntfs defaults 1 0
/dev/hdb1 /ntfs-3 ntfs defaults 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
/dev/sda1 /ntfs-4 ntfs defaults 1 0
/dev/sdb1 /ntfs-5 ntfs defaults 1 0


the 2 sd drives are in a external firewire case, but i leave on all the time so added permanet into fstab, but a simple mount as superuser in a console can handle a usb device that may not always be connected to the machine
 
  


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
Load kde profile from /mnt/removable/user instead of /home/user preacher.ca Linux - General 3 12-02-2005 04:00 PM
mounting removable media matthewa Linux - Hardware 2 11-12-2005 10:44 PM
Mounting Removable Disk That's Not Plugged In At Boot Time Superman53 Linux - Laptop and Netbook 3 10-21-2004 07:57 AM
Mounting removable media george_mercury Linux - General 1 07-28-2004 12:14 PM
Mounting as user qcoder Linux - General 3 11-29-2003 01:00 PM


All times are GMT -5. The time now is 02:50 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration