[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mounting floppy

On Fri, Jul 28, 2000 at 10:58:34PM -0700, Dale Morris wrote:
> kmself@ix.netcom.com [kmself@ix.netcom.com] wrote:
> > 
> > Try:
> >  
> >     $ e2fsck /dev/fd0
> >     $ dd if=/dev/fd0 bs=512 count=1 | od -c
> > 
> > ...not that I can read all the output, but there should be some 
> > signature ext2fs stuff in the first block of the disk.
> > 
> > ...and DON'T fsck up that second command or you'll overwrite something.
> > You want "if" (infile), not "of" (outfile) specified.
> here's the result:
> debian:~# e2fsck /dev/fd0
> e2fsck 1.18, 11-Nov-1999 for EXT2 FS 0.5b, 95/08/09
> Couldn't find ext2 superblock, trying backup blocks...
> e2fsck: Attempt to read block from filesystem resulted in short read while trying to open /dev/fd0
> Could this be a zero-length partition?
> debian:~# dd if=/dev/fd0 bs=512 count=1 | od -c
> 1+0 records in
> 1+0 records out
> 0000000   #       T   h   e       b   e   l   o   w       c   o   n   f

Someone's writing raw output to disk.  There is no filesystem, just raw
data.  How did you create the disk in the first place?

To read, try:

   $ dd if=/dev/fd0 of=somefile bs=1024 count=1440

...replacing "somefile" with appropriate path and filename.

...and then access your file with standard tools.  You'll probably find
that it's filled with ASCII nulls (\000) following some point.  I'm not
sure of good methods for pulling out the data from here, but you can
probably muck around with tools to get a good approximation.

What did you expect to find on the disk?

Karsten M. Self <kmself@ix.netcom.com>     http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.                    http://www.opensales.org
  What part of "Gestalt" don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/    K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0

Attachment: pgptrJRNYRnXg.pgp
Description: PGP signature

Reply to: