IBM HANDBOOK 260 User Manual

Page 239

Advertising
background image

Hints and Tips

221

SIZE_MB =

HDISKNAME =

locale:

BOSINST_LANG = C

CULTURAL_CONVENTION = C

MESSAGES = en_US

KEYBOARD = en_US

3. Create the customization script using an editor.

# vi cloner

Sample Script:

#!/usr/bin/ksh

set -x

RV=$(bootinfo -z)

if [ "$RV" -eq 1 ]

then

installp -abcgXd/../SPOT/usr/sys/inst.images bos.rte.mp

ln -fs /usr/lib/boot/unix_mp /usr/lib/boot/unix

fi

if [ "$RV" -eq 0 ]

then

installp -abcgXd/../SPOT/usr/sys/inst.images bos.rte.up

ln -fs /usr/lib/boot/unix_up /usr/lib/boot/unix

fi

devinstall -b -d /../SPOT/usr/sys/inst.images -f /../tmp/device.pkgs

cfgmgr -v -i /../SPOT/usr/sys/inst.images

BLVDISK=‘lslv -l hd5 | grep hdisk | head -1 | cut -d’ ’ -f1‘

ln -f /dev/r$BLVDISK /dev/ipldevice

bosboot -a -d /dev/ipldevice

bootlist -m normal $BLVDISK

rm -f /etc/firstboot

sync

sync

sync

exit 0

4. Backup the three files to a diskette:

# find . -print | backup -ivqf/dev/rfd0

Advertising
This manual is related to the following products: