LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-04-2010, 08:44 AM   #1
hearthstone
Member
 
Registered: Dec 2005
Distribution: Debian Stable
Posts: 109

Rep: Reputation: 4
can't mount floppy


I run Debian Lenny

my fstab reads:

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
/dev/hda5 none swap sw 0 0
/dev/hdd /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdc /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,auto 0 0

I read the other posts on the subject, but they were no help.

~# mount /media/floppy0
mount: special device /dev/fd0 does not exist

I do have automount enabled.

Thanks, Hearthstone.
 
Old 03-04-2010, 08:51 AM   #2
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
/dev/fd0 doesn't exist, so, you have no regular floppy drive detected by your OS. The cause could be one of these:
  • The drive is not correctly attached, either the power cord or the data cable (or both) is not ok. Check your BIOS post output to check if the drive is physically being recognized by your motherboard, if affirmative. Then check the dmesg output to see if the drive is being detected by Linux.
  • Your kernel has no support for floppy drives. You will have to check that, and enable it if needed.
  • Your drive is not a standard floppy drive, then we will need more info.

As long as the device node is not created, mounting it will be impossible.
 
1 members found this post helpful.
Old 03-05-2010, 03:50 PM   #3
hearthstone
Member
 
Registered: Dec 2005
Distribution: Debian Stable
Posts: 109

Original Poster
Rep: Reputation: 4
can't mount floppy

Quote:
Originally Posted by i92guboj View Post
/dev/fd0 doesn't exist, so, you have no regular floppy drive detected by your OS. The cause could be one of these:
[list][*]The drive is not correctly attached, either the power cord or the data cable (or both) is not ok. Check your BIOS post output to check if the drive is physically being recognized by your motherboard, if affirmative. Then check the dmesg output to see if the drive is being detected by Linux....
Indeed--I cannot find the floppy registered anywhere...

How do I get the "BIOS post output"?

Thanks, Hearthstone.
 
Old 03-05-2010, 04:56 PM   #4
hearthstone
Member
 
Registered: Dec 2005
Distribution: Debian Stable
Posts: 109

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by i92guboj View Post
/dev/fd0 doesn't exist, so, you have no regular floppy drive detected by your OS. The cause could be one of these:
[list][*]The drive is not correctly attached, either the power cord or the data cable (or both) is not ok. .
I purposefully left the floppy in and I reboted--the light went on and I got a message: NTLDR is missing Press any key to restart

I concluded that there was nothing wrong with the physical connection.

Once I removed the floppy from the drive I was able to restart.

By-the-way--what program recognizes all the drives and writes the fstab when the OS is being installed?

What should I do now?

Tanks, Hearthstone.
 
Old 03-05-2010, 05:11 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,099

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
Is floppy loaded - "lsmod | grep -i floppy" ? Try modprobing it if not.
 
1 members found this post helpful.
Old 03-05-2010, 05:52 PM   #6
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Rep: Reputation: 210Reputation: 210Reputation: 210
With mtools it is possible to read floppy drives without mounting them. You can then copy the contents of the floppy onto your hard drive. There used to be a gui for this called mtoolsfm back with Etch, but this seems to not exist in Lenny (or Squeeze). However, everything you need for reading the floppy via the command line exists with mtools.

Regarding mounting it, I would suggest being more specific in your fstab file about the "type" --IE, instead of "auto", put "vfat,msdos". Here is how my fstab file looks (I'm only including the floppy mount point):
Code:
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/fd0        /media/floppy0  vfat,msdos    rw,user,noauto  0       0

Last edited by mark_alfred; 03-05-2010 at 05:59 PM.
 
Old 03-05-2010, 09:53 PM   #7
hearthstone
Member
 
Registered: Dec 2005
Distribution: Debian Stable
Posts: 109

Original Poster
Rep: Reputation: 4
can't mount floppy - solved!

I have been doing Internet search and I found a post that suggested trying "modprobe floppy" - http://www.sysresccd.org/forums/view...asc&highlight=

I did and it seems to be working now.

Thanks to you all!

Sincerely - Hearthstone.
 
  


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
Cannot mount my Floppy drive while creating driver floppy gobs04 Linux - Newbie 2 09-23-2009 07:43 PM
How to mount floppy riba43 SUSE / openSUSE 9 03-28-2007 08:17 AM
MINIX mount: Can't mount /dev/fd0 on floppy: Invalid argument jcaser1948 Other *NIX 2 10-04-2006 11:38 AM
cannot mount a floppy ursinus Ubuntu 14 06-14-2006 05:23 AM
cannot mount floppy killercrazyeyes Linux - Newbie 5 04-13-2005 10:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:23 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