LinuxQuestions.org
Review your favorite Linux distribution.
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 12-17-2003, 11:14 AM   #1
darthczyz
Member
 
Registered: May 2003
Distribution: Redhat 9
Posts: 49

Rep: Reputation: 15
floppies in linux


floppy disks really give me a lot of problems in linux, specifically RH9. today i was trying to copy a network card module from one laptop to another, both running RH9, and both with the same kernel. one laptop had a built in floppy, the other had a USB floppy. i formatted the floppy on the built in, put the file on, took it to the USB drive, and it found nothing. i then 'touched' a file on the disk, took it back to the built in, nothing. then i went to another laptop with a built in floppy, put the disk in, and it detected the touched files. so i put the network module on the disk from that laptop, which was also RH9, and it read it fine on the USB drive. long story short, shouldn't i be able to write to a disk and move it to any other disk drive and read it? i tried the following things:

mkfs -t ext2 ... and then explicitly mounting ext2 on the other
plain mkfs (which said it defaulted to ext2 anyway)

any help? any good floppy FAQs out there? any help is appreciated
 
Old 12-17-2003, 04:23 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,790

Rep: Reputation: 292Reputation: 292Reputation: 292
"i formatted the floppy on the built in, put the file on, took it to the USB drive, and it found nothing."

There are two different answers depending on whether you are using automount or not.

If you are not using automount then you need to mount a filesystem before you use it and umount a file system before you remove the floppy from the drive:
mkfs /dev/fd0
mount /dev/fd0 /mnt/floppy
cp /home/user/file.in.question /mnt/floppy
umount /dev/fd0

If you are using automount then you and automount are in disagreement on the mount status of the floppy. I consider automount to be more of a problem than a help. You can get rid of automount in the /etc/fstab line for the floppy.


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

Last edited by jailbait; 12-17-2003 at 04:29 PM.
 
Old 12-17-2003, 04:23 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Are you unounting them before taking them
out?

Cheers,
Tink
 
Old 12-18-2003, 08:07 AM   #4
darthczyz
Member
 
Registered: May 2003
Distribution: Redhat 9
Posts: 49

Original Poster
Rep: Reputation: 15
hey guys,

thanks for your help. i'll go try that. hopefully this is one more mystery solved

skiz
 
Old 01-06-2004, 03:01 PM   #5
sillygirly
Newbie
 
Registered: Aug 2003
Location: Ohio, USA
Distribution: Currently in between distros...
Posts: 17

Rep: Reputation: 0
I'm having a similar issue. I would like my floppy to be ready to use. Even when I do this... I get an error.
# mount /dev/fd0 /mnt/floppy
mount: wrong fs type, bad option, bad superblock on /dev/fd0,
or too many mounted file systems
 
Old 01-06-2004, 03:06 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hi Silly, :)

You really shouldn't attach your problem
to somebody elses thread ...

That said, what does your fstab look like?

And, mount accepts several syntax', but
the one you chose isn't valid.

If there's a entry in /etc/fstab, you can use
either
mount /dev/<physical device>
or
mount /<mountpoint>

If you specify both you're supposed to tell
it the filesystem type, too, as in
mount -t msdos /dev/fd0 /mnt/floppy

Read
man mount
man fstab
for more info.


Cheers,
Tink
 
Old 01-06-2004, 03:24 PM   #7
sillygirly
Newbie
 
Registered: Aug 2003
Location: Ohio, USA
Distribution: Currently in between distros...
Posts: 17

Rep: Reputation: 0
I see no problem that I added my problem to theirs. We both have similar problems.

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/scd0 /mnt/cdrom iso9660 noauto,user,ro, 0 0
dev/hda3 swap swap defaults 0 0
 
  


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
Linux on AST Ascentia with floppies Tons of Fun Linux - Laptop and Netbook 0 08-26-2005 08:25 AM
creating floppies with linux? orange400 Linux - General 2 06-14-2004 05:27 AM
load linux by floppies only on laptop sunilprabha Linux - Games 0 12-25-2003 11:52 PM
Linux Install w/ Floppies? zsejk Linux - General 1 12-03-2003 06:03 PM
Does Linux have a program to format floppies? Manyguns Linux - Newbie 2 07-21-2001 03:02 PM


All times are GMT -5. The time now is 09:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration