Deploying Debian 5 GNU/Linux with Insight Control for Linux Version 6.0 and 6.1

11
8. The Broadcomm firmware files are not included in Debian 5. Download them from the following
web address:
http://ftp.us.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-nonfree_0.21.tar.gz
9. Extract the Broadcomm firmware files from the tar file. The example below assumes that you
downloaded the tar file to the /root directory. This example only extracts the Broadcom
firmware (for example, bnx2 and bnx2x).
# tar -C /opt/repository/boot/Debian5-i386Boot/iram/lib/firmware \
--strip-components 2 -xvzf /root/firmware-nonfree_0.21.tar.gz \
--wildcards "*/bnx*fw"
10. Copy any .udeb packages that you downloaded in Step 5 to the iram directory.
Step 7: Create auxiliary RAM disk for the kernel
Use this procedure to create an auxiliary RAM disk, containing the customizations you made, that will
be integrated with the original initramfs file named initrd.gz at kernel start time:
1. Change to the iram directory:
# cd /opt/repository/boot/Debian5-i386Boot/iram
2. Create the archive file and compress it with the GZIP program:
# find . | cpio -o -H newc | gzip > ../iram1.gz
Step 8: Create a default custom OS configuration file
To perform an automated Debian installation, a preseed configuration file needs to be created that
provides the answers to the questions normally asked during a Debian installation. Because each
preseed file might contain values that are specific to the server being installed, we need a way to
customize the preseed file for each server. To do this, create a script called install_config that
generates the preseed file automatically. Insight Control for Linux invokes the install_config
script when a custom OS installation is performed. For more information, see the section titled
Automating a custom OS Installation in the HP Insight Control for Linux User Guide.
1. Change to the Debian5-i386 directory:
# cd /opt/repository/instconfig/custom/Debian5-i386
Invoke the text editor of your choice to create a file named install_config.
2. Copy the following bash script and paste it into the text editor’s buffer.
#!/bin/bash
if [ $# -ne 1 ]
then
echo "usage: $0 variables_file" 1>&2
exit 1
else
VARS_FILE=$1
fi
# Source in the variables provided by Insight Control for Linux
. $VARS_FILE
# The data inside this here document will be written to the preseed file.
COMMANDS=`cat <<EOF