Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
|
 |
08-15-2002, 06:07 PM
|
#1
|
Member
Registered: Feb 2002
Distribution: Gentoo
Posts: 95
Rep:
|
can't mount fs
I login as a normal user...and try to access the floppy...
so I mount /dev/fd0 /mnt/floppy
the result is, "only root can do this"...
I am running RH7.3
I can't believe that a normal user can't even read a floppy or cdrom???
What have I done wrong??? can anyone help???
|
|
|
08-15-2002, 06:20 PM
|
#2
|
Senior Member
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368
Rep:
|
The problem is less likely to be that normal users cannot access the floppy. If you try to explicitely mount (i.e. provide both the device and mount-point) a device, then you will probably be given this error. Check your /etc/fstab file to see what permissions have been given to your floppy drive. If they're a bit confusing, post them here and we'll see what we can do for you.
|
|
|
08-16-2002, 02:59 AM
|
#3
|
Member
Registered: Feb 2002
Distribution: Gentoo
Posts: 95
Original Poster
Rep:
|
well, this is my fstab:
what should be the setting for /dev/fd0 then???
=========================================================
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/usr /usr ext3 defaults 1 2
/dev/hda9 /home ext2 defaults 1 2
/dev/hda7 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
|
|
|
08-16-2002, 03:42 AM
|
#4
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Add "user" after owner, comma separated. Hopefully that will take care of that annoying problem, and just a "tip". You can mount devices listed in your fstab by simply typing the location of the mount. Example:
To mount your dev/hda9 in /home all you would have to type is:
mount /home
Cool
|
|
|
08-16-2002, 03:06 PM
|
#5
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
I think you can just mount your floppy using
mount /mnt/floppy
|
|
|
08-17-2002, 06:39 PM
|
#6
|
Member
Registered: Feb 2002
Distribution: Gentoo
Posts: 95
Original Poster
Rep:
|
I probably did this:
when I was installing redhat 7.3...I didn't put /dev/hda9 to mounting point /home...
so when I finished installing I have to add the line
/dev/hda9 /home....myself...
and I can't seem to mount /home...
fix??
|
|
|
08-18-2002, 01:13 AM
|
#7
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
do you have a directory named /home to mount it in, do you have a file system on hda9, what's the error for
mount /home
also you can use
mount /dev/fd0
or
mount /mnt/floppy
|
|
|
08-18-2002, 03:43 PM
|
#8
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
Quote:
Originally posted by mathfeel
I probably did this:
when I was installing redhat 7.3...I didn't put /dev/hda9 to mounting point /home...
so when I finished installing I have to add the line
/dev/hda9 /home....myself...
and I can't seem to mount /home...
fix??
|
During RedHat installation it created a new /home. What you need to do:
1) Log in as root.
2) Rename your current /home (for example to /home_new).
3) Edit /etc/fstab, add there a line:
/dev/hda9 /home ext2 defaults 1 2
Save and exit
4) Create a new /home
mkdir /home
After reboot your old /home should be mounted as /home.
After writing this I've read that you've already added the entry. So just steps 2 and 4 are important.
|
|
|
08-21-2002, 09:01 PM
|
#9
|
Member
Registered: Feb 2002
Distribution: Gentoo
Posts: 95
Original Poster
Rep:
|
Here is another problem:
I followed your advise...my floppy seems to mount right now...
but when I switch disk and do:
mount /mnt/floppy
it gives me a message saying /mnt/floppy is already mounted!!
so do I have to explicitly unmount the floppy (and cdrom??) and then mount them again???
is there easier way?...
|
|
|
08-21-2002, 10:09 PM
|
#10
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
you cannot just take out a mounted floppy
before taking out the floppy do this
umount /dev/fd0
or umount /mnt/floppy
|
|
|
All times are GMT -5. The time now is 03:58 AM.
|
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
|
|