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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-17-2005, 07:01 PM
|
#1
|
Member
Registered: Feb 2004
Location: Austin Texas
Distribution: Mandrake 9.2
Posts: 702
|
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 ???
|
|
|
03-17-2005, 07:24 PM
|
#2
|
Member
Registered: Sep 2002
Location: .at
Distribution: SuSE, Knoppix
Posts: 532
Rep:
|
does "/mnt/floppy" directory exist ?
what are the permissions ?
|
|
|
03-17-2005, 07:39 PM
|
#3
|
Member
Registered: Feb 2004
Location: Austin Texas
Distribution: Mandrake 9.2
Posts: 702
Original Poster
|
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
|
|
|
03-17-2005, 07:47 PM
|
#4
|
Member
Registered: Jun 2004
Location: KY
Distribution: Debian, Mint, Puppy
Posts: 507
Rep:
|
Hardware failure perhaps? What about fstab/mtab? I've actually never formatted a floppy in Linux so I dunno.
|
|
|
03-17-2005, 08:03 PM
|
#5
|
Member
Registered: Feb 2004
Location: Austin Texas
Distribution: Mandrake 9.2
Posts: 702
Original Poster
|
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
|
|
|
All times are GMT -5. The time now is 05:26 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|