Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Mar 1997 22:01:12 -0500 (EST)
From:      Burley <khan@ibm.net>
To:        Joseph Wronkowski <jawronko@islc.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   RE: disk copy
Message-ID:  <XFMail.970309221913.khan@ibm.net>
In-Reply-To: <199703100208.VAA10450@server.islc.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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?XFMail.970309221913.khan>