Automated installations

[View full size image]

Basic Configuration

Installation Method

Soot Loader ÜnMrs Partition tnfonnacion Netwöfk CùfifiguTâtiiiti

Authe-nticätion User Configuration Firewall Configuration

Display Configuration

Package Selection Pre-Installation Scnpt Posl-lnsta:lation Script

Kickstart Conf/gurMor

Basic Configuration [required)

Default Language: English (United Kingdom) Keyboard:

Mouse :

Time Zone:

Probe for Mouse

Ëmulate 3 Buttons


□ Use urc clotk Language Support: ; ; Albanian [

"large t ArcM e ctu re: 6

•f Reboot system after installation Perform m-stallaition in text mode Perform installation in mteractrve mncfe

Click to select various options, and then enter the specifics desired for the target system. Start by selecting the default system language, type of keyboard, mouse, and so on. Of course, automated installations work best when installing to similar equipment. When finished, press Ctrl+S, or use the Save file item from the File menu. The configuration will be saved with the name ks.cfg. When you use the kickstart installation method, the kickstart file will be read by computers booting to the install. The kickstart language covers nearly every aspect of an install with the exception of sound card, printer, or modem setup.

For example, a portion of a kickstart file generated for an install might look like

#Generated by Kickstart Configurator

#System language lang en_US

#Language modules to install langsupport en_US

#System keyboard keyboard us

#System mouse mouse genericps/2

#System timezone timezone —utc America/New_York #Root password rootpw —iscrypted $1$/n3yjyDV$AWoBZgRQq/lAxyRhX1JSM1

Note that not all the output of a sample ks.cfg is shown. However, you can see that this file will feed kickstart directions for an install, including an encrypted root password to be installed on the target system.

The next step is to copy your new ks.cfg to a boot disk created using one of the boot floppy images (found under the images directory on the first Ubuntu CD/DVD). You can do this with Linux by using the mount and cp commands. For example, insert your boot disk into your PC, and then use the mount command (as root) like so:

$ sudo mount /mnt floppy

If Ubuntu has mounted your floppy automatically, you'll receive an error message such as /dev/fd0 already mounted. You can then simply copy the ks.cfg file to your floppy like so:

$ sudo cp ks.cfg /mnt/floppy

You can verify the contents of the floppy using the ls command like this:

$ ls /mnt/floppy boot.msg general.msg initrd.img ks.cfg ldlinux.sys options.msg param.msg rescue.msg snake.msg splash.lss syslinux.cfg syslinux.png vmlinuz

Then unmount the floppy using the umount command like so:

# umount /mnt/floppy

Remove the disk. It is now ready for use. When you use the disk to boot a PC, after booting, tell the install boot image that you would like to perform a kickstart install like this:

linux ks=floppy

The installer will then use the specifications you outlined in the Kickstart Configurator and saved in ks.cfg to install Ubuntu.


Was this article helpful?

0 0

Post a comment