Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've followed this document pretty well (http://askubuntu.com/questions/29121/guide-to-particulars-in-customizing-ubuntu-installer / specifically: http://askubuntu.com/a/29632/36927), 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.

Thanks

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: askubuntu.com/a/29632 My preseed file is from the example (help.ubuntu.com/10.04/installation-guide/example-preseed.txt), 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: pastie.org/2978235 –  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
add comment

1 Answer

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
    
live.debian.net/manual/html/live-manual.en.html Those instructions work on ubuntu as well. The ubuntu man page also helps manpages.ubuntu.com/manpages/lucid/man7/live-helper.7.html 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
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.