Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am customizing an Ubuntu install CD. The requirements are that everything needed be included on the CD. I'd also like to remove everything that's not needed. The use case is not a general purpose PC, but more of a Kiosk/Appliance.

What I need is a way to determine which packages need to be on the CD and which ones I can safely remove. I can follow the dependency tree from the set of packages I list in my kickstart file, but there remains many packages I do not want. I also need a way to add new packages to the CD and automatically include any of the dependent packages automatically. I am working on scripts to do this but it seems like these tools must already exist. I've looked through the debian developer tools and haven't found anything that really applies to what I'm trying to do.

What I have found seemed to be debian-specific and likely wouldn't work for creating an Ubuntu install CD. (namely, the packages 'debian-cd' and 'easycdd')

share|improve this question
add comment

3 Answers

debootstrap is actually what you want to use to set up a truly minimal base debian or ubuntu system.

share|improve this answer
add comment

Check out the output of:

aptitude search ~pimportant ~prequired ~pstandard

debootstrap installs most of these, but since it can be used to install a chroot, it doesn't install a kernel or bootloader.

share|improve this answer
add comment
up vote 0 down vote accepted

I ended up using germinate which is what the official debian (and ubuntu) cd build process uses.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.