Solaris 10 6/06 安装指南:Solaris Live Upgrade 和升级规划

Procedurex86: 在成功激活新的引导环境后使用 GRUB 菜单回退

当您成功激活新的引导环境但对结果不满意时,请使用本过程。可以通过使用 GRUB 菜单快速切换回初始引导环境。


注 –

要切换的引导环境必须是用 GRUB 软件创建的 GRUB 引导环境。如果某个引导环境是在 Solaris 8、9 或 10 3/05 发行版中创建的,则该引导环境不是 GRUB 引导环境。


  1. 成为超级用户或作为等效角色。

    角色包含授权和具有一定权限的命令。有关角色的更多信息,请参见《System Administration Guide: Security Services》中的“Configuring RBAC (Task Map)”

  2. 重新引导系统。


    # init 6
    

    此时将显示 GRUB 菜单。Solaris OS 是初始引导环境。second_disk 引导环境被成功激活并显示在 GRUB 菜单上。如果由于某种原因主项没有进行引导,则可使用 failsafe 项进行恢复。


    GNU GRUB version 0.95 (616K lower / 4127168K upper memory)
    +-------------------------------------------------------------------+
    |Solaris                                                            |
    |Solaris failsafe                                                   |
    |second_disk                                                        |
    |second_disk failsafe                                               |
    +-------------------------------------------------------------------+
    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.
  3. 要引导至初始引导环境,使用方向键选择初始引导环境并按回车键。


示例 10–1 在成功激活新的引导环境后回退


# su
# init 6

GNU GRUB version 0.95 (616K lower / 4127168K upper memory)
+-------------------------------------------------------------------+
|Solaris                                                            |
|Solaris  failsafe                                                  |
|second_disk                                                        |
|second_disk failsafe                                               |
+-------------------------------------------------------------------+
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.

选择初始引导环境:Solaris