Economy Size Geek - Installation Toolkit
Now that you have a kickstart configuration file, you need to get the system to use it. You need to host the file with a Web server. In my case, keg already has Apache running, so I can just stick it up there.
Then, I just add a new option to my boot.txt:
And, I added a new stanza to my pxelinux.cfg/default:
LABEL karmic_i386_install_seeded kernel ubuntu/karmic/i386/ubuntu-installer/i386/linux append vga=normal initrd=ubuntu/karmic/i386/ ↪ubuntu-installer/i386/initrd.gz ↪ks=http://192.168.210.254/ks.cfg --
Now I can choose to boot a standard installer or one that has been preseeded with other software. My first install was completed using a KVM virtual machine. To get it to PXE boot, I needed to set it up to bridge onto my internal network (so it could get a DHCP address and talk to the PXE server), and I had to download a gPXE ISO (rom-o-matic.net/gpxe/gpxe-0.9.9/contrib/rom-o-matic). That allowed me to PXE boot the machine even though the KVM BIOS did not support PXE.
The kickstart/preseed stuff was more complicated than I would have liked. It took a lot of rebooting and re-installing to get the syntax correct so that all three cases worked. I found tons of introductory documentation, but as soon as I needed something more detailed, I was on my own. For example, I did not have the owner option set on my preseed, and I originally wanted to do the downloading and installing of Skype in the post but had to resort to using a first boot script. It made me understand why people end up writing their own “post-install” scripts instead of using these larger tools. That being said, now that I have all this together, installation should be a breeze. Maybe I finally will get around to bringing all my machines up to a common and current version of Ubuntu.
Dirk Elmendorf is cofounder of Rackspace, some-time home-brewer, longtime Linux advocate and even longer-time programmer.
- Readers' Choice Awards 2013
- Mars Needs Women
- Linux Kernel News - November 2013
- Sublime Text: One Editor to Rule Them All?
- RSS Feeds
- Raspberry Pi: the Perfect Home Server
- December 2013 Issue of Linux Journal: Readers' Choice
- Tech Tip: Really Simple HTTP Server with Python
- IBM Will Minimize Impact of Future Disasters
- Linux Systems Administrator
- The kernel doesn't really
33 min 6 sec ago
1 hour 4 min ago
1 hour 4 min ago
3 hours 9 min ago
- This should be very helpful
4 hours 22 min ago
- As much as I share your point
6 hours 42 min ago
- So girls had it better ?
10 hours 14 min ago
- Reply to comment | Linux Journal
10 hours 34 min ago
- why is GNOME 3 in the fifth position at 14.1 %?
16 hours 6 min ago
- Sublime Is Brilliant!
21 hours 9 min ago