Contained WithinFind More DocumentationFeatured Support Resources | Descargar este libro en PDF (1540 KB)
x86: Performing a Custom JumpStart InstallationDuring a custom JumpStart installation, the JumpStart program attempts to match the system that is being installed to the rules in the rules.ok file. The JumpStart program reads the rules from the first rule through the last rule. A match occurs when the system that is being installed matches all of the system attributes that are defined in the rule. As soon as a system matches a rule, the JumpStart program stops reading the rules.ok file and begins to install the system, based on the matched rule's profile. You can install a Solaris Flash archive with custom JumpStart. For instructions, see To Prepare to Install a Solaris Flash Archive With a Custom JumpStart Installation. Choose one of the following procedures:
|
GNU GRUB version 0.95 (631K lower / 2095488K upper memory) +-------------------------------------------------------------------+ |Solaris 10 10/08 image_directory | |Solaris Serial Console ttya | |Solaris Serial Console ttyb (for lx50, v60x and v65x | +-------------------------------------------------------------------+ Use the ^ and v keys to select which entry is highlighted. Press enter to boot the selected OS, 'e' to edit the commands before booting, or 'c' for a command-line. |
The image_directory is the name of the directory where the installation image is located. The path to the JumpStart files was defined with the add_install_client command and the -c option.
Instead of booting from the GRUB entry now, you can edit the boot entry. After editing the GRUB entry, you then perform the JumpStart installation. For instructions about how to edit the GRUB entry and a list of installation options, see x86: Performing a Custom JumpStart Installation by Editing the GRUB Boot Command.
At the prompt, perform one of the following instructions:
Select the type of installation you want to perform:
1 Solaris Interactive
2 Custom JumpStart
3 Solaris Interactive Text (Desktop session)
4 Solaris Interactive Text (Console session)
5. Apply driver updates
6. Single User Shell
Enter the number of your choice.
Please make a selection (1-6).
|
To select the custom JumpStart method, type 2 and press Enter.
The JumpStart installation begins.
If you do not make a selection within 30 seconds, the Solaris interactive installation program begins. You can stop the timer by typing any key at the command line.
If you select items 1, 3, or 4, you install with an interactive installation. For information about interactive installations, see Solaris 10 10/08 Installation Guide: Basic Installations.
If you select item 5, you install driver updates.
If you select item 6, you can perform maintenance tasks.
If you did not preconfigure system information in the sysidcfg file, when prompted, answer the questions about system configuration.
Follow the instructions on the screen to install the software.
When the JumpStart program finishes installing the Solaris software, the system reboots automatically. Also, the GRUB menu.lst file is automatically updated. Then the instance of Solaris that you have installed appears in the next use of the GRUB menu.
After the installation is finished, installation logs are saved in a file. You can find the installation logs in the following directories:
/var/sadm/system/logs
/var/sadm/install/logs
In some circumstances such as for debugging purposes, you might want to modify the GRUB boot command. The following procedure describes the steps to edit the GRUB boot command before performing the custom JumpStart installation.
To begin the installation, proceed with Step 1 through Step 5 in the preceding procedure, x86: To Perform an Installation or Upgrade With the Custom JumpStart Program and With GRUB.
If the system is off, turn the system on. If the system is on, reboot the system.
The GRUB menu is displayed. This menu provides a list of boot entries. The entry that is provided is the Solaris instance to be installed.
GNU GRUB version 0.95 (631K lower / 2095488K upper memory) +-------------------------------------------------------------------+ |Solaris 10 10/08 image_directory | |Solaris Serial Console ttya | |Solaris Serial Console ttyb (lx50, v60x and v68) | +-------------------------------------------------------------------+ Use the ^ and v keys to select which entry is highlighted. Press enter to boot the selected OS, 'e' to edit the commands before booting, or 'c' for a command-line. |
The image_directory is the name of the directory where the installation image is located.
If you used the NFS to set the path to the JumpStart directory with the add_install_client command and the -c option, then you do not need to include the path in the boot entry.
If you are not using NFS, then you must note the path to the compressed configuration file that contains the JumpStart directory.
To stop the booting process and use the menu entry editor, type e.
The GRUB edit menu is displayed.
kernel /I86PC.Solaris_11-8/multiboot kernel/unix -B console=ttyb,\ install_media=131.141.2.32:/export/mary/v11 \ module /I86PC.Solaris_11-8/x86.new |
Use the arrow keys to select the boot entry.
To edit the selected command, type e.
A command that is similar to the following example displays.
grub edit>kernel /I86PC.Solaris_11-8/multiboot kernel/unix -B \ console=ttyb,install_media=131.141.2.32:/export/mary/_\ module /I86PC.Solaris_11-8/x86.new |
Edit the command by typing the options that you need.
The syntax for a JumpStart installation is the following.
grub edit>kernel /I86PC.Solaris_11-image_directory/multiboot kernel/unix/ \ - install [url|ask] options -B install_media=media_type |
For a description of JumpStart options, see x86: Command Reference for Booting the System.
In the following example, the OS is installed over the network with a custom JumpStart profile.
kernel /I86PC.Solaris_11-8/multiboot kernel/unix/ - install \ -B install_media=131.141.2.32:/export/mary/v11 \ module /I86PC.Solaris_11-8/x86.new |
To accept the edits, press Enter.
Your changes are saved and the GRUB main menu is displayed.
Pressing the Escape key returns you to the GRUB main menu without saving your changes.
To begin the installation, type b.
The following table describes the command-line options for the GRUB menu boot command. The options listed are appropriate for a JumpStart installation.
The syntax of the boot command is the following.
kernel /I86PC.Solaris_11-image_directory/multiboot kernel/unix/ - install \ [url|ask] options -B install_media=media_type |
|
Option |
Description |
||||
|---|---|---|---|---|---|
|
- install |
Performs a custom JumpStart installation. In the following example, the system boots from DVD media and the following options were used:
|
||||
|
[url| ask] |
Specifies the location of the custom JumpStart files or prompts you for the location.
|
||||
|
options |
|