Linux - NewbieThis 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.
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.
First, we'll get root able to mount it, then we'll worry about users...
As root, create a directory to mount it to...
# mkdir /mnt/floppy
Put a floppy in, and try mounting it...
# mount -t vfat /dev/fd0 /mnt/floppy
If it doesn't give you an error, try listing what's on the floppy...
# ls /mnt/floppy
If it lists, you are golden. You can then unmount it with...
#umount /mnt/floppy
...Note the spelling, it's not uNmount, it's umount. I don't know why, it just is.
If that works, reply, and we'll work on setting up you /etc/fstab to allow any user to mount/unmount the floppy.
Hrmm. I tried what you said. Here is exactly what I did...
[jared@localhost jared]$ su -
[root@localhost root]# mkdir /mnt/floppy
[root@localhost root]# mount -t vfat /dev/fd0 /mnt/floppy
mount: /dev/fd0 is not a valid block device
[root@localhost root]#
It gave me that "mount: /dev/fd0 is not a valid block device". I know the floppy is working because I recently used it to flash my bios.
Ack, nevermind, that worked. I'm a retard. I didn't have a disk in . Now we can try to make it so that every one can do that. Also, how can I get it to mount automatically on startup?
Add a line to the /etc/fstab file. For how to do so: look at the file, it's almost self-explanatory; read 'man fstab'; search here, it's asked all the time. For automatic mounting put 'auto' in the options field.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.