LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-27-2006, 12:14 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
The Floppy!


OK - so I actually had someone hand me a real floppy disk yesterday to get a small text file from. Sure, they could have emailed it to me but I was humored by interaction and took the floppy. Now I noticed as I slid the floppy in my Dell PC (Debian) that I have never even attempted to mount a floppy in this or any Linux PC for atleast 2 years.

I gave the
Code:
mount /dev/fd0
command and it did not like that one bit. I then checked fstab.

Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/sda1       /               ext3    defaults,errors=remount-ro 0       1
/dev/sda6       /home           ext3    defaults        0       2
/dev/sda5       none            swap    sw              0       0
/dev/hda        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/hdb        /media/cdrom1   udf,iso9660 user,noauto     0       0
I don't appear to have a floppy entry here so I guess I am wondering what my next step would be to get this floppy drive working?

I don't know if this is relivant but here is /etc/modules:

Code:
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

ide-cd
ide-disk
ide-generic
psmouse
mousedev
 
Old 09-27-2006, 01:14 PM   #2
i_grok
Member
 
Registered: Jun 2006
Location: Massachusetts
Distribution: Gentoo
Posts: 79

Rep: Reputation: 16
As root, open /etc/fstab and add the line:
Code:
/dev/fd0    /media/floppy    vfat    user,noauto    0    0
Then:
Code:
mkdir -p /media/floppy
mount /media/floppy

Last edited by i_grok; 09-28-2006 at 08:49 AM.
 
Old 09-27-2006, 02:29 PM   #3
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
OK, my fstab now looks like this.

--------------------

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda1 / ext3 defaults,errors=remount-ro 0 1
/dev/sda6 /home ext3 defaults 0 2
/dev/sda5 none swap sw 0 0
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdb /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy vfat,user,noauto 0 0


I then did the following:

Code:
cwilliams:/# mkdir -p /media/floppy
cwilliams:/# mount /media/floppy
mount: unknown filesystem type 'noauto'
 
Old 09-27-2006, 02:36 PM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
There should be a <tab> between the filesystem type and the settings, not a ',' comma.

here is my entry.. file system type is set to auto instead of vfat
Code:
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
 
Old 09-27-2006, 02:40 PM   #5
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
Does this look any better?

Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/sda1       /               ext3    defaults,errors=remount-ro 0       1
/dev/sda6       /home           ext3    defaults        0       2
/dev/sda5       none            swap    sw              0       0
/dev/hda        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/hdb        /media/cdrom1   udf,iso9660 user,noauto     0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
Because I still get the following error.

mount: you must specify the filesystem type

Last edited by carlosinfl; 09-27-2006 at 02:42 PM.
 
Old 09-28-2006, 08:50 AM   #6
i_grok
Member
 
Registered: Jun 2006
Location: Massachusetts
Distribution: Gentoo
Posts: 79

Rep: Reputation: 16
Sorry about my typo. It sounds like the floppy isn't formatted, or your kernel doesn't know the filesystem type. What is on this floppy?
 
Old 09-28-2006, 01:30 PM   #7
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Try
Code:
mount -t vfat /dev/fd0 /media/floppy0
I'm assuming that the floppy was formatted under Windows. If it isn't FAT32 (eg, vfat) then try ntfs

As an aside, you don't have to have an entry in fstab just to mount a particular device - you can always just mount it manually. Putting the entry in fstab however is helpful if you want the system to automatically try to mount it when it boots up
 
Old 09-28-2006, 01:46 PM   #8
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
It's working!

Code:
cwilliams@cwilliams:~$ cd /media/floppy/
cwilliams@cwilliams:/media/floppy$ ls
mraid  mraid2k.sys  Mraid35x.sys  nodev.inf  Oemsetup.inf  perc-cerc-w2k3-6.46.2.32-A05.txt  percraid.cat  txtsetup.oem
 
Old 09-29-2006, 03:06 AM   #9
Ehwaz
Member
 
Registered: Aug 2006
Distribution: FC, Mandriva, Suse
Posts: 52

Rep: Reputation: 15
Good for you!
 
Old 09-29-2006, 08:10 AM   #10
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
Quote:
Originally Posted by Ehwaz
Good for you!
I failed to mention my stupidity of not verifying the floppy has enabled via the BIOS...
 
  


Reply



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
"VFS: Insert root floppy and press ENTER", but no floppy RedShirt Linux - Software 7 02-05-2006 08:05 PM
Floppy problem: inable to find floppy vasanthraghavan Linux - Hardware 1 07-03-2005 09:34 PM
Just installed Fedora, fatal error when it looks for floppy, i have no floppy Zieroth Linux - Software 18 07-19-2004 06:42 PM
Debian Woody floppy install problems with ATAPI floppy jturnicate Linux - Newbie 0 02-17-2004 09:45 AM
Internal floppy to USB Floppy kbvaldez Linux - Newbie 0 08-21-2003 11:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:01 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
Open Source Consulting | Domain Registration