|
|||
Part I Overall Planning of Any Solaris Installation or Upgrade 1. Where to Find Solaris Installation Planning Information 2. What's New in Solaris Installation 3. Solaris Installation and Upgrade (Roadmap) 4. System Requirements, Guidelines, and Upgrade (Planning) 5. Gathering Information Before Installation or Upgrade (Planning) Part II Understanding Installations That Relate to GRUB, Solaris Zones, and RAID-1 Volumes 6. x86: GRUB Based Booting for Solaris Installation x86: GRUB Based Booting (Overview) 7. Upgrading When Solaris Zones Are Installed on a System (Planning) 8. Creating RAID-1 Volumes (Mirrors) During Installation (Overview) 9. Creating RAID-1 Volumes (Mirrors) During Installation (Planning) |
x86: GRUB Based Booting (Planning)This section describes the basics of GRUB based booting and describes the GRUB menu. When you install the Solaris OS, two GRUB menu entries are installed on the system by default. The first entry is the Solaris OS entry. The second entry is the failsafe boot archive, which is to be used for system recovery. The Solaris GRUB menu entries are installed and updated automatically as part of the Solaris software installation and upgrade process. These entries are directly managed by the OS and should not be manually edited. During a standard Solaris OS installation, GRUB is installed on the Solaris fdisk partition without modifying the system BIOS setting. If the OS is not on the BIOS boot disk, you need to do one of the following:
The preferred method is to install the Solaris OS on the boot disk. If multiple operating systems are installed on the machine, you can add entries to the menu.lst file. These entries are then displayed in the GRUB menu the next time you boot the system. For additional information on multiple operating systems, see How Multiple Operating Systems Are Supported in the GRUB Boot Environment in System Administration Guide: Basic Administration. x86: Performing a GRUB Based Installation From the NetworkPerforming a GRUB based network boot requires a DHCP server that is configured for PXE clients and an install server that provides tftp service. The DHCP server must be able to respond to the DHCP classes, PXEClient and GRUBClient. The DHCP response must contain the following information:
Note - rpc.bootparamd, which is usually a requirement on the server side for performing a network boot, is not required for a GRUB based network boot. If no PXE or DHCP server is available, you can load GRUB from CD-ROM or local disk. You can then manually configure the network in GRUB and download the multiboot program and the boot archive from the file server. For more information, see Overview of Booting and Installing Over the Network With PXE in Solaris Express Installation Guide: Network-Based Installations. Description of the GRUB Main MenuWhen you boot an x86 based system, the GRUB menu is displayed. This menu provides a list of boot entries to choose from. A boot entry is an OS instance that is installed on your system. The GRUB menu is based on the menu.lst file, which is a configuration file. The menu.lst file is created by the Solaris installation program and can be modified after installation. The menu.lst file dictates the list of OS instances that are shown in the GRUB menu.
In the following example, the GRUB main menu shows the Solaris and Microsoft Windows operating systems. A Solaris Live Upgrade boot environment is also listed that is named second_disk. See the following for descriptions of each menu item. GNU GRUB version 0.95 (616K lower / 4127168K upper memory) +-------------------------------------------------------------------+ |Solaris | |Solaris failsafe | |second_disk | |second_disk failsafe | |Windows | +-------------------------------------------------------------------+ 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.
Description of GRUB menu.lst FileThe GRUB menu.lst file lists the contents of the GRUB main menu. The GRUB main menu lists boot entries for all the OS instances that are installed on your system, including Solaris Live Upgrade boot environments. The Solaris software upgrade process preserves any changes that you make to this file. Any revisions made to the menu.lst file are displayed on the GRUB main menu, along with the Solaris Live Upgrade entries. Any changes that you make to the file become effective at the next system reboot. You can revise this file for the following reasons:
Caution - Do not use the GRUB menu.lst file to modify Solaris Live Upgrade entries. Modifications could cause Solaris Live Upgrade to fail. Although you can use the menu.lst file to customize booting behavior such as booting with the kernel debugger, the preferred method for customization is to use the eeprom command. If you use the menu.lst file to customize, the Solaris OS entries might be modified during a software upgrade. Changes to the file would then be lost. For information about how to use the eeprom command, see How to Modify Boot Behavior by Using the eeprom Command in System Administration Guide: Basic Administration. Example 6-2 Menu.lst FileHere is a sample of a menu.lst file: default 0 timeout 10 title Solaris root (hd0,0,a) kernel$ /platform/i86pc/kernel/$ISADIR/unix -B console=ttya module$ /platform/i86pc/$ISADIR/boot_archive title Solaris failsafe root (hd0,0,a) kernel /boot/platform/i86pc/kernel/unix -s -B console=ttya module /boot/x86.miniroot-safe #----- second_disk - ADDED BY LIVE UPGRADE - DO NOT EDIT ----- title second_disk root (hd0,1,a) kernel$ /platform/i86pc/kernel/$ISADIR/unix module$ /platform/i86pc/$ISADIR/boot_archive title second_disk failsafe root (hd0,1,a) kernel /boot/platform/i86pc/kernel/unix -s module /boot/x86.miniroot-safe #----- second_disk -------------- END LIVE UPGRADE ------------ title Windows root (hd0,0) chainloader -1
For a complete description of multiple operating systems, see How Multiple Operating Systems Are Supported in the GRUB Boot Environment in System Administration Guide: Basic Administration. Locating the menu.lst File to Change the GRUB MenuYou must always use the bootadm command to locate the GRUB menu's menu.lst file. The list-menu subcommand finds the active GRUB menu. The menu.lst file lists all the operating systems that are installed on a system. The contents of this file dictate the list of operating systems that is displayed on the GRUB menu. If you want to make changes to this file, see Locating the GRUB Menu’s menu.lst File (Tasks) in Solaris Express Installation Guide: Solaris Live Upgrade and Upgrade Planning. |
||
|