Deploying Debian 5 GNU/Linux with Insight Control for Linux 6.2

12
HP provides an example Debian auto_config script that you can use as a model for creating your
own.
For more information on how to use this script, see the Installing a Custom Operating System with HP
Insight Control for Linux white paper.
Follow this procedure to create an auto_config script by copying and modifying the example
script:
1. Change to the Debian5-i386 directory:
# cd /opt/repository/instconfig/custom/Debian5-i386
2. Copy the example auto_config script to the current directory.
# cp ../examples/Debian5/auto_config .
3. Edit your copy of auto_config using the text editor of your choice and make any necessary
modifications.
4. Save the auto_config file and exit the text editor.
5. Extend executable permission to the auto_config file:
# chmod +x auto_config
6. You might experience hangs during the installation because of bugs in the Debian network
installer. The following Debian bug reports document these bugs:
Debian Bug report logs - #425397
tasksel/pkgsel causing Etch netboot install to hang indefinitely
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=425397
Debian Bug report logs - #366717
Method http has died unexpectedly (Packages/DiffIndex)
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=366717
To work around this issue, you might need to omit packages from tasksel or pkgsel and install
them with a post-installation script using apt-get. For example:
# apt-get install openssh-server
For assistance with this or any other Debian issues, you need to seek support from the Debian
Open Source Community. You can access the HP Debian community from the following web
address:
http://h18004.www1.hp.com/products/servers/software/debian/index.html?jumpid=reg_R1002_USEN
Step 12: Create a boot_stanza script
In order to network-boot the Debian kernel and RAM disk, the boot loader configuration file needs to
contain:
a line specifying the kernel name (linux) and
an append line that specifies the RAM disk (initrd.gz) and other, necessary kernel parameters.
The boot_stanza script constructs a boot stanza that specifies your kernel and RAM disk, which
allows your boot loader to boot your custom OS. Insight Control for Linux provides an example
boot_stanza script.
Follow this procedure to create a boot_stanza script by copying and modifying the example script:
1. Change directory to the space for the Debian OS in the Repository:
# cd /opt/repository/instconfig/custom/Debian5-i386