Re: Configuring 100 identical Debian Laptops
- To: "Nathan Bockrath" <firstname.lastname@example.org>, "debian laptop list" <email@example.com>
- Subject: Re: Configuring 100 identical Debian Laptops
- From: Russell Coker <firstname.lastname@example.org>
- Date: Fri, 2 Feb 2001 11:17:13 +0100
- Message-id: <0102021117130E.03642@lyta>
- Reply-to: Russell Coker <email@example.com>
- In-reply-to: <firstname.lastname@example.org>
- References: <email@example.com>
On Tuesday 30 January 2001 05:57, Nathan Bockrath wrote:
> I have this lovely task of configuring a large number of identical laptops,
> and I am hoping that someone knows a way to do the install without running
> through the gazillion dialog boxes on each one. Basically, the only
> difference on each laptop is the IP address and the Hostname, all the other
> configuration info should be the same. I just do not want to do this
> install one by one...
> Has anybody done this? If so, please enlighten me...
The problem with network installs is that laptops have slow network
connections. If you get a recent model high-end laptop and a new/good
CardBus Ethernet card then you can get 8MB/s at the cost of most of your CPU
For that number I suggest using adapters to put the laptop drives in a
desktop machine. However I suggest the following proceedure:
Install the first machine with all required software.
# this fills all unused space with zeros - easily compressed
cat /dev/zero > /foo ; rm /foo
Then do gzip -9 < /dev/hdb > file.gz
Then for each hard drive do zcat file.gz > /dev/hdb
Where /dev/hdb is the laptop drive mounted in a desktop.
Gzipping usually helps because most machines have slow IO and fast CPUs.
To make the OS notice the new partitioning do:
echo w | fdisk /dev/hdb
(should work, I haven't tried it - may need to use expect).
Then use sed to change the IP addresses, names, etc. It should be easy to
write a script to mount the new file system, run sed on the files, and umount
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/ Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page