[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dselect selection



On Fri, 21 Mar 1997 tgakem@chem.tue.nl wrote:
> I want to install debian on different PC's using  same  selection
> of  packages  for each PC.  Is it possible if I have one PC fully
> configured to take its list of  installed  packages  and  install
> these  on  a  second  pc, whithout having to go through the whole
> list with dselect again?  I'm currently using the debian  release
> on the recent Infomagic CD-ROM set (the green one).

My solution assumes my partition tables are set up:
	/dev/hda1 -- Linux swap
	/dev/hda2 -- Linux native
	/dev/hda3 -- NT

I mount the target drive onto the source machine's IDE chain; generally it's
been easist for me to detach the CD's cables, attach them to the target HD,
and just lay it on top of the case.  Once it's rebooted into Linux and with
as little running as possible, I issue

dd if=/dev/hda2 of=/dev/hdc2 bs=512
e2fsck /dev/hdc2

The e2fsck() is because I'm copying from a live filesystem and there are
invariably a few inconsistencies and other gremlins.  Once the target 
drive's back in its own machine, I go through /etc/ and make any needed
hostname or other changes.  Thus far, I've made sure that all of my Linux
partitions are of equal size.  One of these days, I might experiment with
different-sized paritions to see what happens.  I turned one machine into
six and then six into 46 without problems.


D.

David winters+@cs.cmu.edu	If the Force with Yoda is so strong, construct
Office: 3503 WeH, x86720	a sentence with in the proper order the words
MTFBWY				then why can't he?


Reply to: