View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 11 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Jul 08, 2005 4:11 pm 
Offline
Joined: Thu Apr 07, 2005 7:40 pm
Posts: 7
Ok, I'm setting myself up for some serious flaming, but hopefully someone will be able to help me out (and yes . . . I did do some searching first!!!)

I am trying to mount the floppy drive so I can get some data off an old disk. I have tried:

1)
#mount /mnt/floppy
(can't find /mnt/floppy in /etc/fstab or /etc/mtab)

2)
#mkdir /mnt/floppy
#mount -t auto /dev/fd0 /mnt/floppy
(mount: /dev/fd0 is not a valid block device)

For the record I am running Knoppmyth R5A15.1


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 08, 2005 5:00 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Do an:
Code:
ls /dev/fd*

You probably want: "/dev/fd0u1440"

I just went through this trying to create a FreeDOS boot disk with the Award Flash utility and an updated BIOS image on it. I seem to remember a time when Linux auto-detected the format of a floppy disk... :?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 08, 2005 5:10 pm 
Offline
Joined: Thu Apr 07, 2005 7:40 pm
Posts: 7
Thanks for the quick reply. I gave that whirl but alas it did not work.

There are a number of fd*'s, how would I know which one to use? For the record I get same error as before.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 08, 2005 5:21 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
The numeric part correspond to formatted size, so a standard 3.5" DS/DD 1.44Mb diskette would be /dev/fd0u1440 as I understand it. If there is another 1440 option try that...


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 08, 2005 6:00 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
when did this come about? what happened to the old trusty /dev/fd0 ?

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 08, 2005 11:07 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
It has been like that for a while... /dev/fd0 just linked to it.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject: Floppy Drive
PostPosted: Sat Jul 09, 2005 9:20 am 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,
Being basicly conservative on the energy, (lazy) I simply made the fstab happy:)
It shows me the floppy is at /floppy.

/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0

as root, mkdir /floppy
now you can mount /floppy besure to umount /floppy when done so files are closed properly before removing disk.

Hope this helps
Mike


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 09, 2005 11:54 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Even better! ;-)

Sorry, I was answering that without access to my KnoppMyth machine and working from memory and examples on a Mandrake based workstation...


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 09, 2005 7:46 pm 
Offline
Joined: Thu Apr 07, 2005 7:40 pm
Posts: 7
Once again, thanks for the help. I've tried them all, but still no success. Luckily my wife found the file she was looking for on the harddrive, but I will have to address this problem soon.

For the record, this is what I see when I type #mount
/dev/hda1 on / type ext3 (rw,errors=remount-ro)
none on /proc type proc (rw,nodiratime)
/dev/hda3 on /cache type ext2 (rw)
/dev/hda4 on /myth type ext3 (rw)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)

From root I did the following:
#mkdir /floppy
#mount /floppy
and got this message again:
mount: /dev/fd0 is not a valid block device


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 10, 2005 10:54 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
First add the line the mjl described above to your /etc/fstab if it isn't already there:
Code:
/dev/fd0  /floppy  vfat  defaults,user,noauto,showexec,umask=022  0  0

Second make sure you have a corresponding device entry:
Code:
root@black2:~# ls -al /dev/fd0
brw-rw----  1 root floppy 2, 0 May  7  2004 /dev/fd0

If it's missing you'll have to recreate it, but that gets "interesting" because of all the aliases.


Top
 Profile  
 
 Post subject: Missed this line
PostPosted: Tue Jul 19, 2005 9:03 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,
This is for smheoc
"mount: /dev/fd0 is not a valid block device"

I must have been asleep that day and missed that line :) Normally that error message occurs if you try to mount the floppy and there isn't a floppy in the drive... You should have no trouble using a standard dos / windows formatted floppy.

Try again. and look for the simple solutions first.

Thanks
Mike


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: Bing [Bot] and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu