LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-17-2005, 07:01 PM   #1
TxLonghorn
Member
 
Registered: Feb 2004
Location: Austin Texas
Distribution: Mandrake 9.2
Posts: 702

Rep: Reputation: 231Reputation: 231Reputation: 231
Can't write to floppy


I don't understand why I can't make a directory on a floppy and copy files to it.
Here is what I did...

[root@daniel dan]# fdformat /dev/fd0
Double-sided, 80 tracks, 18 sec/track. Total capacity 1440 kB.
Formatting ... done
Verifying ... done

[root@daniel dan]# mke2fs /dev/fd0
mke2fs 1.35 (28-Feb-2004)
Filesystem label=
OS type: Linux...
Writing inode tables: done
Writing superblocks and filesystem accounting information: done

[root@daniel dan]# mount -t ext2 /dev/fd0 /mnt/floppy
mount: permission denied

[root@daniel dan]# mkdir -p /mnt/floppy/boot
mkdir: cannot create directory `/mnt/floppy/boot': No medium found

[root@daniel floppy]# umount /mnt/floppy
umount: /mnt/floppy: device is busy
umount: /mnt/floppy: device is busy

[root@daniel mnt]# mount -t ext2 /dev/fd0 /mnt/floppy
mount: permission denied

[root@daniel floppy]# mount
/dev/hda1 on / type ext3 (rw)
none on /proc type proc (rw)
none on /proc/bus/usb type usbfs (rw)
none on /sys type sysfs (rw)
/dev/hda6 on /home type ext3 (rw)
none on /mnt/floppy type supermount (rw,sync,dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,codepage=850)

[root@daniel mnt]# cp /boot/grub/stage* /mnt/floppy
cp: cannot stat `/mnt/floppy/stage1': No medium found
cp: cannot stat `/mnt/floppy/stage2': No medium found

I have tried this with two tested good floppies, and I don't understand why I can't copy files to the disk after formatting and creating a file system ???
 
Old 03-17-2005, 07:24 PM   #2
AltF4
Member
 
Registered: Sep 2002
Location: .at
Distribution: SuSE, Knoppix
Posts: 532

Rep: Reputation: 31
does "/mnt/floppy" directory exist ?
what are the permissions ?
 
Old 03-17-2005, 07:39 PM   #3
TxLonghorn
Member
 
Registered: Feb 2004
Location: Austin Texas
Distribution: Mandrake 9.2
Posts: 702

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
You can see from the mount command that /mnt/floppy exists
[root@daniel floppy]# mount
/dev/hda1 on / type ext3 (rw)
none on /proc type proc (rw)
none on /proc/bus/usb type usbfs (rw)
none on /sys type sysfs (rw)
/dev/hda6 on /home type ext3 (rw)
none on /mnt/floppy type supermount (rw,sync,dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,codepage=850)

The owner is root and the permissions are rwxrwxrwx
 
Old 03-17-2005, 07:47 PM   #4
Basslord1124
Member
 
Registered: Jun 2004
Location: KY
Distribution: Debian, Mint, Puppy
Posts: 507

Rep: Reputation: 51
Hardware failure perhaps? What about fstab/mtab? I've actually never formatted a floppy in Linux so I dunno.
 
Old 03-17-2005, 08:03 PM   #5
TxLonghorn
Member
 
Registered: Feb 2004
Location: Austin Texas
Distribution: Mandrake 9.2
Posts: 702

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
A hardware failure is not likely. I booted off one of the floppies about 10 times before I formatted it. No problems booting.
I tried an old floppy, and was able to copy files to it - just not the new ones.
I checked permissions on all of them
 
  


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
can't write to the floppy ??!?? safrout Mandriva 2 11-16-2004 12:08 PM
Cannot write to Floppy, even as root Bob Moore Linux - Hardware 7 07-22-2004 10:22 AM
Still can't write to floppy - why? jhecht Linux - Software 6 06-28-2004 11:36 AM
Can't write to floppy PionexUser Linux - Newbie 3 07-20-2003 12:13 AM
Write to a CD-RW like a floppy... harrkev Linux - General 1 10-26-2001 12:29 PM

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

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