priority=critical locale=en_US url=http://bit.ly/uinstall
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
Enjoy
:-Dustin
This is awesome Dustin. TAMULUG has done this previously at our install fests, saves alot of time!
ReplyDeleteit works only for server edition?
ReplyDeleteServer and alternate, yes.
ReplyDelete:-Dustin
Great!! I had a debian preseed file for installing lenny, but I always wanted to make one for Ubuntu! This one is cool! Thanks again!!
ReplyDeleteDebian/Ubuntu's kickstart files :)
ReplyDeletePretty cool , so i can create my own preseed
ReplyDeletebit.ly/flapslike
and configure the server to be preinstalled with software like firebird
apache , php
and give the url to deveopers to start writing code it in their own virtual machine
re-inventing debian-installer documentation for dummies.
ReplyDeletep.s. really cool stuff, actually. for those who are so lazy like me. thanks!
Thanks, Dustin. This is fantastic. It's annoying to have to keep checking in on an install when you're just firing up a vm to check something. It just wasn't quite annoying enough for me to do anything about it. Now I don't have to. Sweet!
ReplyDeleteIs there anything release-level specific in it?
Thanks Dustin -
ReplyDeleteThe "priority=critical" kernel parameter was something I was missing, and this post clued me in to what that was! Almost impossible to find debugging information on why it's not proceeding if you're missing it!
This is great. Thanks.
ReplyDeleteHi Dustin, thanks a lot for this, It has help me a lot when dealing with masive instalations. However for today it looks like the link is down.
ReplyDeleteThanks Dustin. This is great!
ReplyDeleteYou know what controls the installation packages for the first time ubuntu server?
Carlos Llano
Thanks a lot. Unfortunately http://bit.ly/uquick is currently unavailable. Could you post the contents here?
ReplyDeleteThe link is to http://bit.ly/uquick is as Kim says broken.
ReplyDeleteI have a small derivative available, that only add power management components (Ie nut - Network UPS Tools):
ReplyDeletehttp://bit.ly/u3VhTj
http://opensource.eaton.com/stable/cloud/uquick-power
Hope it helps,
Arnaud
Hello, is there a way to make English default language when the cd boot? I tried everything but it always ask to choose which language I want
ReplyDeleteDustin,
ReplyDeleteIt does ask questions. At the Write changes to disk part. It will stop and ask, and also at Finishing Partitioning.