[pocket-linux] How can I get read the floppys?

David Horton dhorton at speakeasy.net
Sat Mar 26 07:58:51 CST 2005


mlij at globo.com wrote:
> How can I get read the floppys?
> 
> For example, phase8-image.gz.
> 
> bash# mount /dev/fd0 /mnt
> mount: you must specify the filesystem type
> 
> bash: mount -t ext2 /dev/fd0 /mnt
> mount: wrong fs type, bad option, bad superblock on /dev/fd0,
>        or too many mounted file systems
> 
> However this floppy is working.
> 
> Until now, I could not read the files in the floppys with xx-image.gz
> Always I have the messages above.
> 
> All the floppys are working correctly.
> I am asking this because I do get to continue the boot using the usr disk
> mp3blaster.
> There is a message: bad blocks on fd0 (something like this)
> 
> 
> So I tried to read the others images. I can not read them.
> But they are working.
> 
> I am learning linux. I apologize if I am asking "things" that are too easy!
> 
> 

Are you writing the image to floppy like this:

   dd if=phase8-image.gz of=/dev/fd0 bs=1k

And then attempting to mount the floppy like this:

   mount /dev/fd0 /mnt

If that is the case then you will always get an error and that is to be 
expected.  The reason for the error is because there is no filesystem on 
the floppy, there is only a gzip file.  The actual filesystem is wrapped 
inside the gzip file.  When you try to mount, the mount command only 
sees the gzip file and does not understand that there is a filesystem 
inside it.

If you skip ahead to section A.2.2.1 in the guide there is a better 
explanation and some tips on how to overcome this limitation.


Dave



More information about the Pocket-Linux mailing list