Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I like to use Debootstrap for making sparse systems (usually a base for something embedded) or paravirtualized Xen guests.

I'm familiar with how to tell Debootstrap what packages I want beyond the typical minimal base, but I have yet to find the right combination of tools to let me specify and auto generate locales after the base system has been installed.

Do I need to do this in my own scripts, or is there a way to tell Debootstrap what locales I want and have it just generate them?

share|improve this question
up vote 5 down vote accepted

I would suggest using grml-debootstrap. This is a wrapper script around debootstrap and comes from the grml live cd. This script has a file /etc/debootstrap/locale.gen where you can put your locales and they are generated at the right time. grml-debootstrap also has lots of more advantages and its worth to look at.

share|improve this answer
Thanks! I'm going to give it a try. – Tim Post Aug 1 '10 at 16:17

Your Answer


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.