As you might imagine, I install the Ubuntu Server a lot, so I'm frequently asked about preseeding Ubuntu Server installations.
There are some excellent resources out there. I have learned much from several Debian sites, as well as from fellow members of the Ubuntu and Debian developer communities.
Most of my daily installations are throwaway KVM virtual machines on my development laptop. I have answered the same questions in Ubuntu's installer thousands of times... "Yes, I still speak English, my keyboard is US, please do remove all partitions and yes that partition layout is just fine!"
Of course these questions are preseedable in Ubuntu. You just need to craft that magic preseed file, but that's necessarily trivial. In this post, I am sharing just such a layout with you at http://bit.ly/uinstall.
Start with a released or daily development Ubuntu Server ISO, or just use TestDrive, as I always do. Append the following options to your kernel command line (ESC, then F6 at the boot screen):
And your installation should proceed from start to finish, with no questions asked!priority=critical locale=en_US url=http://bit.ly/uinstall
The preseed I've provided at http://bit.ly/uinstall is generally useful, but you may well want to customize it yourself. A few important notes about the choices I have made in that preseed configuration:
- Keyboards and language are US/English
- Networking is default DHCP
- Target disk is completely repartitioned/reformatted
- fine for my VMs, might not be so fine for real hardware!
- Default username/password is ubuntu/ubuntu
- again, fine for my VMs with no outside connectivity
- Additionally install a couple of essential tools, in case they aren't already there
- linux-server kernel, openssh-server
- Launch Byobu by default at login