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've followed this document pretty well ( / specifically:, however it seems to ignore the preseed.cfg file I created. I've included this in initrd when it is rebuilt (following the directions) and I also tried appending it as a boot option (/cdrom/preseed.cfg), either way the options in the preseed.cfg file aren't being used. I've tested by by having a late_command wget a file from my server, and also by throwing a text file on the target / filesystem.

I'm really hoping that I'm missing something simple...but so far I can't seem to figure out what it would be.


share|improve this question
Building a custom iso is a complex task. Please describe what you are trying to do exactly (just a "simple" preseed, or are you running commands ? ) and pastebin the relevant files (preseed, initrd). – bodhi.zazen Dec 6 '11 at 23:19
I literally cut and pasted these steps: My preseed file is from the example (, save as preseed.cfg. I uncommented the last preseed/late_command: d-i preseed/late_command string apt-install zsh; in-target chsh -s /bin/zsh Then I built the CD: – Curtis Hall Dec 7 '11 at 1:42
What is not working ? Just the failure of apt to install zsh ? – bodhi.zazen Dec 7 '11 at 1:46
How are you building this custom iso ? If you are not using them, I highly advise the debian live scripts. – bodhi.zazen Dec 7 '11 at 2:06

The only obvious thing I see is with your apt command. It should read

apt-get install zsh

I am not sure about the rest of the command either.

apt-get install zsh; chsh ubuntu -s /bin/zsh
share|improve this answer
I've tried apt-get install zsh, and I've also tried using wget to pull a file from my server to see if that works. Either way, nothing is pulled from my server and zsh isn't installed. – Curtis Hall Dec 7 '11 at 15:31
How are you customizing the iso ? IMO you are best off using the debian live scripts, and in that case you simply add zsh to the package list. I personally wrote a custom boot script to touch up what I could not with the build scripts, I think changing the default shell to zsh was one of the tasks. – bodhi.zazen Dec 7 '11 at 15:59
Hrm, I'll look into it. Do you happen to have any links that I can look at on using debian live scripts to build a Ubuntu install CD? – Curtis Hall Dec 7 '11 at 16:06 Those instructions work on ubuntu as well. The ubuntu man page also helps You sort of need to slowly work through the first page I gave you, yes it takes a little time to learn, but the result is quite nice. – bodhi.zazen Dec 7 '11 at 16:31

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.