Stories
Slash Boxes
Comments

SoylentNews is people

posted by LaminatorX on Wednesday March 26 2014, @06:51PM   Printer-friendly
from the Pencils-&-Penguins dept.

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!

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 5, Informative) by stderr on Wednesday March 26 2014, @09:56PM

    by stderr (11) on Wednesday March 26 2014, @09:56PM (#21773) Journal

    ... but I needed to download a .deb for the wifi's firmware manually and sudo dpkg -i (after installing from the .iso put on USB stick)

    You know there are unofficial install CDs with the non-free firmware blobs, right?

    Set up a proxy and use it when installing ; maybe just a squid with gigabytes of cache is enough to not download the same packages over and over again?

    I doubt you would need "gigabytes of cache". You don't really need to download that much.

    else there are more specific proxy solutions...

    ... like approx, apt-cacher or apt-cacher-ng.

    ... or even cloning the whole debian repository (all + i386 architectures) if you can download ~200GB or more over ipv6.

    A full Debian mirror would be totally overkill for most sane people and I have no idea why you even mentioned IPv6?

    An issue is the default debian desktop is Gnome 3, which is too heavy and "3D accelerated" (that means decelerated on random old hardware) so you would need to install it command-line only and then apt-get a big list of packages, like running these commands : su ; cd ; scp blah@192.168.0.1:packages_list . ; apt-get install `cat packages_list`

    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 #" # ... and get off my lawn!
    Starting Score:    1  point
    Moderation   +3  
       Insightful=1, Informative=2, Total=3
    Extra 'Informative' Modifier   0  
    Karma-Bonus Modifier   +1  

    Total Score:   5