At work we normally do all our CentOS builds using Kickstart and our own local mirrors. On top of which I built a couple of custom repositories — one for own own private software, and one for customer boxes (with software such as updated Sendmail, Clam AV, SpamAssassin, etc).
That works very well, and a (reasonably performing) box takes about 5-10 minutes from plugging a flash stick in, to pulling it out and rebooting with a fresh OS install.
But one thing we’ve needed is to build a recovery stick for use on a customer’s site. The default LiveCDs are too bogged down with extraneous crap (like X for a start) to be of any use in the field, while the recovery option on an install CD suffers the opposite problem. I needed to build something that was the best of both worlds — it had to have heaps of tools on there and it had to boot quickly. On top of which we’ve got some custom stuff that would be useful to be able to carry around such as a custom version of gawk that has a lot of modules written by my boss, Don, such as file IO functions (ala libc), cgi, and more.
So I investigated building a flash image that would meet all our worldly desires.
Continue Reading