
Chapter 10. Installing Linux with kickstart 151
00: STORAGE = 512M
00: Storage cleared - system reset.
==> ipl cms
...
Do you want to IPL Linux from minidisk 100? y/n
n
Verify that you have a 512MB virtual machine:
==> q v stor
00: STORAGE = 512M
This change is for the duration of the user ID session. When you logoff and log back on
this user ID, the storage will revert to 256 MB.
3. Run rhel52 exec to initiate the kickstart. You see some initial kernel messages, followed
by the file system format and Red Hat Package Manager (RPM) package installation.
==> rhel52
...
Kernel command line: ramdisk_size=40000 root=/dev/ram0 ro ip=off
CMSDASD=191 CMSCONFFILE=LINUX02.CONF
ks=nfs:9.12.5.30:/nfs/ks/linux02-ks.cfg
RUNKS=1 cmdline
...
4. The first time that kickstart is run, the installer must format the DASD for Linux use. It is
normal to see error messages of the following format if the DASD you are using has never
been formatted. In subsequent kickstart installs, you should not see these errors:
end_request: I/O error, dev dasda, sector 0
Buffer I/O error on device dasda, logical block 0
Please wait while formatting drive dasda...
5. At the end of the kickstart, IPL the 100 disk to make any changes to your RHEL 5.2 golden
image:
/mnt/sysimage/dev done
/mnt/sysimage done
you may safely reboot your system
==> #cp ipl 100
00: zIPL v1.5.3 interactive boot menu
00: 0. default (linux)
00: 1. linux
...
Now you have installed Linux onto the virtual server using kickstart. This process can be
repeated for other Linux guests. Here we showed a minimal installation with kickstart, but you
can completely customize the kickstart file to install different packages based on your
requirements. For more information regarding kickstart options, see the documentation
located at
http://www.redhat.com/docs/manuals/enterprise/ From there, click Installation Guide,
then click 28. Kickstart Installations.
Note: Towards the end of the kickstart, it is normal to see some unrecognized
characters on the window. This is because the 3270 console cannot display the
progress meter during the post-nstallation phase. To automatically clear the 3270
console and avoid multiple windows of unreadable messages, issue the #cp term more
0 0 command before running RHEL52 EXEC.
Note: The VDISK swap device is configured in the %post section of the kickstart file.
Comentários a estes Manuais