From owner-freebsd-questions Wed Mar 12 18:22:55 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA26920 for questions-outgoing; Wed, 12 Mar 1997 18:22:55 -0800 (PST) Received: from server.islc.net (root@server.islc.net [207.53.107.10]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA26915 for ; Wed, 12 Mar 1997 18:22:52 -0800 (PST) Received: from jawronko.cypress-tech.net ([207.53.107.254]) by server.islc.net (8.8.5/8.7.3) with ESMTP id VAA24913; Wed, 12 Mar 1997 21:22:43 -0500 (EST) Message-Id: <199703130222.VAA24913@server.islc.net> From: "Joseph Wronkowski" To: "Burley" Cc: "FreeBSD" Subject: Re: disk copy Date: Wed, 12 Mar 1997 21:25:39 -0500 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1155 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 > To: Joseph Wronkowski > 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 > ----------------------------------