Mass duplication of linux drives
Nathan Saper
natedog@well.com
Sun, 27 Aug 2000 00:21:28 +0000 (GMT)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sat, 26 Aug 2000, der.hans wrote:
> Am 26. Aug, 2000 schwäzte Justin so:
>
> > Hey everyone-
> >
>
> > I need to make 40 copies of one harddrive for 40 workstations. This is
> > the first time that I have ever had to do this with Linux
> > workstations. What I have done in the past with Windows workstations
> > is use Partition Magic to copy the partitions, this however is not
> > working do to the fact that LILO is in the MBR and I do not know how
> > to duplicate the MBR to make the copies bootable. I have checked the
>
> I belive ghost will do everything, but you have to pay for it.
>
> Another option is to use lilo to setup your mbr. One way is to move the
> new disk into the new box, use a floppy to boot, then run lilo. Another is
> while you've got the disk hooked up to the original, provided the original
> is up and running Linux, chroot to the new disk and run lilo.
>
> I believe Nate has recently posted info about running such things via
> chroot and know Kevin and JLF know how to do it well. Searching the last
> few weeks of the list for chroot should give you the necessary info.
>
> BTW, you could use dd, tar, cpio and a few other things to do what
> partition magic is doing. That would also allow you to run customizing
> scripts on the new drive before putting it in place.
>
If the disks are exactly the same, I'd use dd. If the original disk image
is on /dev/sda1, and the new disk is /dev/sdb, just make a partition on
sdb of the same size as sda1, then do a 'dd if=/dev/sda1
of=/dev/sdb1'. You can use dd if the disks aren't the same as well, but
it's much more complicated.
> Also, several dists have quickstart autoloaders that take advantage of the
> package management systems they're using, e.g. autoinstall debian from a
> local mirror.
>
> ciao,
>
> der.hans
> --
> # der.hans@LuftHans.com home.pages.de/~lufthans/ www.Opnix.com
> # "... the social skills of a cow on acid." - der.hans
>
>
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
>
> Plug-discuss mailing list - Plug-discuss@lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>
- --
Nathan Saper
natedog@well.com (PGP)
http://www.well.com/user/natedog/
PGP Key ID: 9AD0F382
PGP Key Fingerprint: 743D FE2C 7F2E 7CAE 4A5F 0B19 D855 B205 9AD0 F382
Fidonet: 1:114/59.10
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: pgpenvelope 2.9.0 - http://pgpenvelope.sourceforge.net/
iD8DBQE5qF8O2FWyBZrQ84IRAmCUAKChrqAj8TnapLgb1BwH2wVaJExATwCfRJR2
8GwimGID4urwNOTcwNdMxn0=
=WCaF
-----END PGP SIGNATURE-----