From: Stephen Tweedie (sct@dcs.ed.ac.uk)
Date: 04/14/93


From: sct@dcs.ed.ac.uk (Stephen Tweedie)
Subject: Re: HELP WITH DD
Date: 14 Apr 1993 23:43:21 GMT

In article <1993Apr13.140544.2473@ensmp.fr>, belmouh@idefix.NoSubdomain.NoDomain (Rachid BELMOUHOUB <belmouh@cig.ensmp.fr>) writes:

> I am a newbie to Linux world. And I am in the process of getting the
> SLS release on sunsite.unc.edu.

> I have red the FAQ. It is indicated thet one can use 'dd' on his
> UNIX systeme to transfert the files directly to floppies in place of
> rawrite. While reading the doc of 'dd' I found that a lot of options
> can be used to do this. My question is what are the options to
> create the firts two floppies a1 and a2, for the SLS release?

On many Unix systems it is not necessary to use dd at all - you can
just copy the data to the disk using "cp".

For example, to copy a plain disk image to disk on a sun4, (where
/dev/rfd0c is the raw block device associated with the 3.5" drive,)
you can use
        cp <image> /dev/rfd0c
or even
        cat <image> > /dev/rfd0c
and if you have a compressed disk image, you can just use
        zcat <image.Z> > /dev/rfd0c

If you have to use 'dd', then it is probably best to select a 9K block
size for 3.5" disks: use
        dd bs=9k if=<image> of=/dev/rfd0c
or
        dd bs=9k < <image> > /dev/rfd0c

Try using cp or cat first - it's probably the easiest way.

Cheers,
 Stephen Tweedie.