Go to main content

Booting and Shutting Down Oracle® Solaris 11.4 Systems

Exit Print View

Updated: November 2020

x86: How to Boot From Media to Resolve a Problem With the GRUB Configuration That Prevents the System From Booting

If your x86 based system will not boot, the problem might be caused by a damaged boot loader or a missing or corrupt GRUB menu. Use the following procedure in these types of situations.

Note -  This procedure does not require you to mount the boot environment.

If you need to recover a root pool or root pool snapshot, see Replacing Disks in a ZFS Root Pool in Managing ZFS File Systems in Oracle Solaris 11.4.

Before You Begin

Ensure that your role has the appropriate rights profiles to perform this procedure. See Using Rights Profiles to Administer Boot Features.

  1. Boot from the Oracle Solaris media.
    • Text installation – From the GRUB menu, select the Text Installer and command line boot entry, then select the Shell option (option 3) from the text installation screen.
    • Automated installation – Booting from an AI server on the network requires a PXE boot. Select the Text Installer and command line entry from the GRUB menu. Then, select the Shell option (option 3) from the text installation screen.
  2. Import the root pool.
    $ zpool import -f rpool
  3. To resolve a GRUB configuration issue, do one of the following:
    • If the system will not boot, but no error messages are displayed, the boot loader might be damaged. To resolve the problem, see Installing GRUB 2.
    • If the GRUB menu is missing, a "cannot open grub.cfg" error message is displayed at boot time. To resolve this problem, see Generating the GRUB Menu.
    • If the GRUB menu has become corrupted, other error messages might be displayed as the system attempts to parse the GRUB menu at boot time. See also Generating the GRUB Menu.
  4. Exit the shell and reboot the system.
            1  Install Oracle Solaris
            2  Install Additional Drivers
            3  Shell
            4  Terminal type (currently sun-color)
            5  Reboot
    Please enter a number [1]: 5