SmartSetup Scripting Toolkit Deployment Guide for HP Integrity Servers with Microsoft Windows Server 2003 for Itanium-based Systems
Table Of Contents
- SmartSetup Scripting Toolkit Deployment Guide
- Table of Contents
- About This Document
- 1 Overview
- 2 Creating a server profile
- 3 Setting up the toolkit environment
- 4 Setting up the boot mechanism
- Using a bootable CD/DVD
- Using a USB flash device
- Using network boot
- Interrupting the SSTK deployment process
- 5 Utilities Reference
Create a bootable disk image
The SSTK includes the files you need to create a bootable disk image. Creating the disk image
involves copying these boot files to a small FAT partition and creating the image (.img) file.
The bootable disk image must be a FAT file system to be available at the EFI level. Also, if a
bootloader file named bootia64.efi is located in \efi\boot directory, the Integrity server
automatically executes that boot loader.
To create a bootable disk image:
1. Create a directory for the bootable image:
mkdir ./bootable-image
2. Use the dd command to create a blank file with the size needed to store the boot files:
dd if=/dev/zero of=./bootable-image/boot.img bs=1024 count=25000
3. Format this image file with FAT file system:
mkfs.msdos ./bootable-image/boot.img
4. Create a directory and mount this image file, for example:
mkdir ./bootable-image/image
mount ./bootable-image/boot.img ./bootable-image/image –o loop
5. Create the bootable directory (/efi/boot):
mkdir –p ./bootable-image/image/efi/boot
6. Copy the necessary files from boot_file/efi/boot to the
./bootable-image/image/efi/boot directory:
./bootable-image/image/efi/boot directory:
bootia64.efi
elilo.efi
elilo.conf (bootloader configuration file)
rootfs.gz (root file system)
linux (kernel)
7. If needed, copy additional files to ./bootable-image/image directory. These files might
include toolkit files, configuration files, or third-party tools.
8. Unmount the image file. umount ./bootable-image/image
The boot.img file is now a FAT file system containing the bootia64.efi file, which boots
the Linux OS.
Create a CD build directory
1. Create a directory:
mkdir ./linuxbootCD
2. Create a subdirectory to store the boot image:
mkdir ./linuxbootCD/boot
3. Copy the boot image file, boot.img, to the ./linuxbootCD/boot directory:
cp /bootable-image/boot.img ./linuxbootCD/boot
Create the ISO file
The mkisofs command is used to create an ISO file. The following table describes the arguments
used with this command.
44 Setting up the boot mechanism