Can't mount floppy disk.
Hello,
I've tried a number of different things to get my floppy drive mounted and nothing works. Read the man page...clear as mud for a newbie, but didn't help...got more confused. I tried the following and it also didn't work: [root@centos5 /]# mount -t msdos /dev/fd0 /mnt/floppy mount: mount point /mnt/floppy does not exist Floppy isn't in the /etc/fstab file. There is a valid floppy disk in the drive with a text file on it wich can be read by windows notepad. BTW, there isn't anything special in the mnt or media directories. Any help will be appreciated. |
A mount point must exist before you can mount it there. In other words, you're mounting the contents of the floppy into the specified directory, not creating a new one. So, try the following first:
Code:
# mkdir /mnt/floppy |
Thanks,
That command worked and I saw the new directory in mnt. Now how do I mount the floppy to see what's on the disk and/or format the floppy? |
Hi,
Quote:
This link and others are available from 'Slackware-Links' . |
Thanks onebuck.
I just looked at the file you suggested, it isn't much/any better then the man pages. I posted my message because I can't seem to find the right combination to mount the floppy drive. If you know how to do this or have a suggestion of commands I can use, please post them here. Best way for one to learn is by example. Thanks |
Hi,
Not always true! I posted the links so you can learn from the information provided. Code:
excerpt from 'man mount' You will need a mount point, on my system there is '/mnt/floppy'. The device on my machine can be found with a 'ls -al /dev/floppy; Code:
:~# ls -al /dev/floppy You really need to get used to reading the available material for your distribution or linux in general. The 'man command' is your friend. If you want a online reference then 'LINUX MAN PAGES ONLINE'. This link and others are available from 'Slackware-Links' . |
Thanks onebuck.
What I did was go out to google and found some simple descriptions of the mount command and its options and how to get started with it. I previously created the mount point as indicated from a previous listers reply in /mnt/floppy. Then cd to /mnt/floppy I haven't had a chance this morning yet because I'm not near a Linux machine but if I do: touch newfile then vi newfile then enter text then :wq that should put the file out on the floppy should't it? Thanks again... BTW, I did look over the links you provided, however, the details were as cryptic as the man pages were for mount. |
Just curious, what kind of filesystem do you currently have on the floppy disk? In any case, you can probably just do "mount /dev/fd0 /mnt/floppy" and the mount command will detect the filesystem for you. But yes indeed, once the floppy's been mounted, you can cd to /mnt/floppy and create files on it with vi. Or, my personal favorite:
Code:
echo "enter text" > /mnt/floppy/newfile |
Hi,
The 'Rute' is a good reference and it will help you once you start to have things sink in. Experience with the OS will help. Find out what you are doing wrong or what it takes to do a specific task then apply it. There are loads of tutorials that you can find online. Several good ones in my sig that you can reference. You can also look at 'Slackware-Links'. The Wiki is not just for SlackwareŽ, loads of Linux references. Take a look an see what you can use. |
http://www.alwanza.com/howto/linux/floppy.html
Quote:
|
newtovanilla
Thank you for your detailed reply. And again thanks to all who were kind enough to reply to my newbie question. The detail you provided hit the spot. |
All times are GMT -5. The time now is 07:42 AM. |