duplicating a disk

Christopher Hotchkiss christopher.hotchkiss at gmail.com
Thu Jan 27 04:56:57 UTC 2005


On Wed, 26 Jan 2005 23:40:15 +0100, Kyrre Ness Sjobak
<kyrre at solution-forge.net> wrote:
> ons, 26.01.2005 kl. 21.19 skrev Nicolas Mailhot:
> > Le mercredi 26 janvier 2005 à 11:04 -0800, cfk a écrit :
> > > Gentlemen:
> > >
> > >  I have a situation where I need to make a number of identical computers all
> > > with the same fedoraCore2.
> > >
> > >  I have tried putting a second (hdb) disk, doing a "df" on hda and based on
> > > the number of 1024 blocks going:
> > >
> > > dd if=/dev/hda of=/dev/hdb bs=1024 count=<TheNumberDfShows>
> > >
> > > and it blinks the light a long time and then croaks.
> > >
> > >  I know I did something similar to this a couple of years ago on a different
> > > project. Can someone tell me where I am going awry and perhaps educate me a
> > > little bit more.
> >
> > If you can setup an nfs or ftp/http server somewhere the fastest method
> > is network install via kickstart (using pxe if you can)
> >
> > It might take a little longer to setup but you'll make up the time very
> > fast. And if you do not have exactly the same hardware (same components
> > & firmware versions) it's way safer.
> 
> or you could do the setup you said, just use dd to copy te stuff over.
> Just boot it off a cdrom.
> 
Don't use dd for this. If you have different size hard drive,
partition or something else down the line, it can really mess you up.
I would recommend a simple tar or rsync command to copy them over.

This is if you wish to do copy machine to machine. Otherwise a custom
kickstart file with pxe is a lot easier if done right.

-- 
Christopher Hotchkiss
(813)960-9273
http://www.post227.org




More information about the fedora-devel-list mailing list