HP DL785 Sun Solaris 10 Deployment Guide for HP ProLiant Servers - Page 33

Custom bootable ISO image creation, Prerequisites for creating a custom bootable ISO image

Page 33 highlights

Custom bootable ISO image creation This section describes a procedure for creating a custom bootable ISO image with a modified miniroot for use in booting a ProLiant server to a network-based, possibly automated Solaris installation. Prerequisites for creating a custom bootable ISO image To create and use a custom bootable ISO image, the following prerequisites must be met: • DHCP Service-Booting a network installation from a custom ISO image requires a DHCP service on the network to provide networking configuration for the client. • System running Solaris 10 1/06 (or higher)-Use a system running Solaris x86 as the staging system. • A modified miniroot-If the CD is used to boot to a network-based installation, then the miniroot must include the HPQnetstrategy package. For more information, see "Miniroot preparation." • Solaris multiboot program-The Solaris multiboot program is available on the media (DVD or the first CD), and under the installation media root directory on the install server as .../boot/multiboot. • GRUB menu.lst-If using the directory layout described in the next section, the value for pathtomultiboot in menu.lst should be /multiboot and pathtominiroot must be /x86.miniroot. For more information, see "GRUB preparation." If the CD is used to boot to a network-based installation, then the GRUB "kernel" line must include a directive for HPQnetstrategy. Creating a custom bootable ISO image To create a custom bootable ISO image: 1. Ensure you have met all the requirements for installation and have all the necessary tools available for installation. For more information, see "Prerequisites for creating a custom bootable ISO image." 2. Organize the CD as follows (in this example, /var/tmp/iso is the root of the CD): # mkdir /var/tmp/iso # mkdir -p /var/tmp/iso/boot/grub # cp /boot/grub/stage2_eltorito /var/tmp/iso/boot/grub # cp .../menu.lst /var/tmp/iso/boot/grub # cp .../x86.miniroot /var/tmp/iso/x86.miniroot # cp /boot/multiboot /var/tmp/iso/multiboot 3. Create the ISO image using mkisofs(8): # cd /var/tmp # mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot \ > -boot-load-size 4 -boot-info-table -o solarisboot.iso iso The resulting ISO image is /var/tmp/solarisboot.iso. Deployment tasks 33

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54

Deployment tasks 33
Custom bootable ISO image creation
This section describes a procedure for creating a custom bootable ISO image with a modified
miniroot for use in booting a ProLiant server to a network-based, possibly automated Solaris
installation.
Prerequisites for creating a custom bootable ISO image
To create and use a custom bootable ISO image, the following prerequisites must be met:
DHCP Service—Booting a network installation from a custom ISO image requires a DHCP
service on the network to provide networking configuration for the client.
System running Solaris 10 1/06 (or higher)—Use a system running Solaris x86 as the staging
system.
A modified miniroot—If the CD is used to boot to a network-based installation, then the miniroot
must include the
HPQnetstrategy
package. For more information, see “Miniroot preparation.”
Solaris multiboot program—The Solaris multiboot program is available on the media (DVD or the
first CD), and under the installation media root directory on the install server as
.../boot/multiboot
.
GRUB
menu.lst
—If using the directory layout described in the next section, the value for
pathtomultiboot
in
menu.lst
should be
/multiboot
and
pathtominiroot
must be
/x86.miniroot.
For more information, see “GRUB preparation.”
If the CD is used to boot to a network-based installation, then the GRUB “kernel” line must
include a directive for
HPQnetstrategy
.
Creating a custom bootable ISO image
To create a custom bootable ISO image:
1.
Ensure you have met all the requirements for installation and have all the necessary tools
available for installation. For more information, see “Prerequisites for creating a custom bootable
ISO image.”
2.
Organize the CD as follows (in this example,
/var/tmp/iso
is the root of the CD):
# mkdir /var/tmp/iso
# mkdir -p /var/tmp/iso/boot/grub
# cp /boot/grub/stage2_eltorito /var/tmp/iso/boot/grub
# cp .../menu.lst /var/tmp/iso/boot/grub
# cp .../x86.miniroot /var/tmp/iso/x86.miniroot
# cp /boot/multiboot /var/tmp/iso/multiboot
3.
Create the ISO image using
mkisofs(8)
:
# cd /var/tmp
# mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot \
> -boot-load-size 4 -boot-info-table -o solarisboot.iso iso
The resulting ISO image is
/var/tmp/solarisboot.iso
.