Phoenix666 writes:
My daughter attends a small public school in Brooklyn that has asked me to help them figure out the best way to get working computers into the hands of more of their students. They are too small to have their own sysadmin or to be allocated budget to simply buy all new laptops for everyone, and they're so small that they fall far down on the Department of Education's list of priorities.
They do have 50 old Dell laptops running XP that are so full of cruft now as to barely work, so I have suggested loading them up with Ubuntu and a light-weight desktop like XFCE. Installing 50 laptops one-by-one, though, is still a lot of work so I have been exploring doing a mass installation with PXE or Clonezilla.
I haven't attempted anything like this before, so I thought perhaps there are Soylentils who have and could give me a heads-up about potential gotchas they have come across in the past, and which aren't so easy to find via Googling. Ideally I'd like to be able to set aside a Saturday to go in, queue up the machines in the library, and get them chunking through the installation in parallel. Thanks, folks!
(Score: 5, Informative) by stderr on Wednesday March 26 2014, @09:56PM
You know there are unofficial install CDs with the non-free firmware blobs, right?
I doubt you would need "gigabytes of cache". You don't really need to download that much.
... like approx, apt-cacher or apt-cacher-ng.
A full Debian mirror would be totally overkill for most sane people and I have no idea why you even mentioned IPv6?
No, no, no, no, NO!... That's not how you should set up and clone a Debian system to another box. For example, where did you get the packages_list from? Did you make it by hand? And what about the rest of the configuration, like the network settings, what mirrors to use and the timezone?
A better way would be something like:
First you select xfce during the initial install, so that's taken care of and Gnome won't be installed.
Second you install debconf-utils and run dpkg --get-selections > packages.txt ; debconf-get-selections > debconf.txt on the box, thereby getting a list of the installed packages and their configuration.
On the other boxes, you make a minimal install and copy packages.txt and debconf.txt to each of them.
(If you want to, you can run dpkg --clear-selections, but I doubt it's needed and in case of very different hardware, you probably want to avoid it. The command will make the box forget about the state of all packages, but won't actually uninstall anything.)
Then you run debconf-set-selections < debconf.txt ; dpkg --set-selections < packages.txt ; apt-get dselect-upgrade on the boxes. This will first configure all the packages (installed or about to be installed) the same way as on the original box, then tell the system about which packages to install and then finally install them.
Keep the packages.txt and debconf.txt around in case one of the machines needs to be reinstalled later.
alias sudo="echo make it yourself #" #