LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-29-2004, 11:16 PM   #1
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
Help mounting a floppy at console?


I formatted floppy with fdformat /dev/fd0
then tried mount /dev/fd0 and I get "you must specify a filesystem type".
I have checked the man pages, and help, and Oreily reference manual.

Where do I specify the filesystem type?

Ive never had this problem before and I have used floppies on this system, and yes, I have tried other floppies and I get the same thing. Thanks for any help.
 
Old 08-30-2004, 12:09 AM   #2
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Quote:
I have tried other floppies and I get the same thing.
All your floppies won't read or only the ones you have run fdformat on?
The man page for fdformat says "fdformat - Low-level formats a floppy disk".
My understanding that you are still required to put a filesystem on the disk.
Such as mkdosfs or mkfs.minix or mke2fs.
 
Old 08-30-2004, 12:23 AM   #3
haxcess
LQ Newbie
 
Registered: Apr 2004
Location: Peterborough, Ontario, Canada
Distribution: Slackware 9 & 10
Posts: 13

Rep: Reputation: 0
formatting

Try using 'superformat'
$ man superformat

$ superformat /dev/fd0 hd
That does the trick for me, it even puts the vfat filesystem on.

As for the mounting, make sure something like
/dev/fd0 /mnt/floppy vfat noauto,owner,user 0 0

is in your /etc/fstab (I only use 'msdos' disks, so the type is vfat. If you will use 'linux' floppies put 'auto' or 'ext2' in place of 'vfat'
 
Old 08-30-2004, 12:26 AM   #4
jarib
Member
 
Registered: Jun 2003
Location: British Columbia
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
Do you need to specify a mount point?

mount /dev/fd0 /mnt/floppy
 
Old 08-30-2004, 01:01 AM   #5
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Quote:
Originally posted by jarib
Do you need to specify a mount point?

mount /dev/fd0 /mnt/floppy
If you have the proper entry in fstab, you can just type in mount /dev/fd0 or mount /mnt/floppy. Either way works on mine. If you have no entry in fstab then you have to put the whole thing in like this. mount -t vfat /dev/fd0 /mnt/floppy. That works wiether it is a hard drive or whatever. If you type in /mnt/floppy it looks for the rest in fstab. If it is not there, it will spit out a error message. Sometimes you can leave out the -t vfat but sometimes it won't even try.

Hope that helps

Later

 
Old 08-30-2004, 04:52 PM   #6
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
I already have the proper entry in my fstab. I am trying to put a linux Filesystem on a floppy using the console?

I tried mkfsext2
and
mkfsreiserfs
neither work, but I am not sure when I do that or where ? before I do fdformat or after?

Something must have happend to my system cuz I have always clicked on the kde floppy Icon and it worked but using the format option in kde has never worked, ive always had to login as root to format a floppy.
 
Old 08-30-2004, 06:45 PM   #7
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
If you want something that works with windoze, try mkfs.vfat /dev/fd0. That should work with windoze. I'm not a big windoze fan or user for that matters so not 100% sure.

If it says command not found, type locate vfat. You should find a file in sbin that is the correct format command. It should be the same but you never know.

Hope that helps.

 
Old 08-30-2004, 07:53 PM   #8
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Quote:
not sure when I do that or where ? before I do fdformat or after?
Again, just my understanding...
The fdformat is not strictly needed in all cases. It would be used to "clean format" a floppy.
One of the format commands would be done after the fdformat, or completely by itself. I usually prefer the mkdosfs except in special cases. The -m command can add fun messages when the system is accidently booted with the floppy in.

Are you only having these problems with the floppy drive or are you seeing it elsewhere? CD? Other partitions?
This free floppy toolset can check your floppy drive (among other things) if you think that might be needed.
 
Old 08-30-2004, 09:12 PM   #9
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Just floppy
 
  


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
Mounting a floppy computereps Linux - Newbie 3 04-18-2005 12:20 PM
i want to a copy a file from root to a floppy on the console using slackware 10.0 salviadud Linux - Newbie 2 02-07-2005 10:32 PM
mounting an audio CD from console? Hosiah Red Hat 2 01-18-2005 05:59 PM
Mounting a floppy oryan_dunn Linux - Software 10 10-03-2002 11:20 AM
mounting floppy Greg Linux - General 3 02-19-2001 07:08 AM

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

All times are GMT -5. The time now is 09:59 PM.

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