Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Mar 1997 21:25:39 -0500
From:      "Joseph Wronkowski" <jawronko@islc.net>
To:        "Burley" <khan@ibm.net>
Cc:        "FreeBSD" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: disk copy
Message-ID:  <199703130222.VAA24913@server.islc.net>

next in thread | raw e-mail | index | archive | help
I have got the dd to work but I am having trouble formating a disk.  these
are the steps i am using:
fdformat -lv /dev/fd0 floppy

**the -v generates the next lines that follow****
format as floppy track 80
disksetup -w /dev/fd0 floppy
initailize /dev/fd0: Block (cooked)device given need character (raw) device
fdformat: disksetup failed no such file.

then after that all happens i try to mount the disk anyway to see what it
does and it says incorrect super block.

Am I doing something wrong?

Thanks for any help in advance

Joe
----------
> From: Burley <khan@ibm.net>
> To: Joseph Wronkowski <jawronko@islc.net>
> Cc: freebsd-questions@freebsd.org
> Subject: RE: disk copy
> Date: Sunday, March 09, 1997 10:01 PM
> 
> 
> On 10-Mar-97 Joseph Wronkowski wrote:
> >Hi
> >First I am trying to format disks for bsd so they will mount and the
> >correct way to mount it. Second if you could describe how to use dd.  I
> >want to try to copy some disk but I have been unable to figure it out. 
I
> >use fdformat to fromat fd0 and that seems to work but it won't mount
> >because it says bad super block.  I tried to use newfs on it but it says
no
> >label so I try to use disksetup but it won't read fd0.
> >
> >Can someone help pleas
> 
> Some questions and info...
> 
> Q)Why do you wish to format for bsd...
> 
> you can read doz/windos disk
> -------------------------------
> How to copy disk is:
> 
> dd if=(disk name) of=/dev/fd0.1440
>    ^^   ^^^^^^^^  ^^  ^^^^^^^^^^^^ 
> in file   like     ^    This is the a:(drive)..the end number is for 1.44
floppy
>          Boot.flp  ^^
>                    out file     
> +++++++++++++++++++++++++++++++++++++++++++++++++++
> say you would like to copy a disk a: to a:
> example: dd if=/dev/fd0.1440 of=/home/infile   (that will copy all of a: 
>                                                         to infile)
> 
> now copy it back would
> dd if=/home/infile of=/dev/fd0.1440    (that will copy infile to a:)
> 
> 
> ========================================
> 
> or you can mcopy a: /home/infile
> 
> look in the manpages....by typing man mcopy 
> 
> |||||||||||||||||||||||||||||||||||||||||||||||
> 
> to mount try this: make dir called /adrv
> mkdir /adrv
> mount -t msdos /dev/fd0 /adrv
> 
> that should do it do a dos disk...but the msdos will be something else if
> you use bsd disk...
> 
> I hope that helped
> 
> khan@ibm.net
> 
> 
> E-Mail: khan@ibm.net
> Date: 09-Mar-97
> Time: 22:19:12
> ----------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703130222.VAA24913>