Solaris 10 Installation Guide: Solaris Live Upgrade and Upgrade Planning

Procedurex86: To Fall Back With Boot Environments on the Same Disk

Steps
  1. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. Decide how to boot the system.

    • If you boot from the Solaris Operating System DVD or the Solaris Software - 1 CD, insert the disc. Your system's BIOS must support booting from a DVD or CD.

    • If you boot from the network, use Preboot Execution Environment (PXE) network boot. The system must support PXE. Enable the system to use PXE by using the system's BIOS setup tool or the network adapter's configuration setup Tool.

    • If you boot from a diskette, insert Solaris 10 3/05 Device Configuration Assistant diskette into the system's diskette drive.


      x86 only –

      You can copy the Device Configuration Assistant software to a diskette from the Solaris Operating System for x86 Platforms DVD or Solaris Software for x86 Platforms - 2 CD by using the procedure described in x86: (Optional) To Update the Boot Diskette Before Activating.


    Follow the directions onscreen until the Current Boot Parameters menu is displayed.

  3. Type b -s to boot the machine to single-user state.

  4. If necessary, check the integrity of the root (/) file system for the fallback boot environment.


    # fsck mount_ point
    
    mount_point

    A root (/) file system that is known and reliable

  5. Mount the active boot environment root slice to some directory (such as /mnt):


    # mount device_name /mnt
    
    device_name

    Specifies the location of the root (/) file system on the disk device of the boot environment you want to fall back to. The device name is entered in the form of /dev/dsk/cwtxdysz.

  6. From the active boot environment root slice, type:


    # /mnt/sbin/luactivate
    

    luactivate activates the previous working boot environment and indicates the result.

  7. Unmount /mnt/sbin.


    # umount device_name
    
    device_name

    Specifies the location of the root (/) file system on the disk device of the boot environment you want to fall back to. The device name is entered in the form of /dev/dsk/cwtxdysz.

  8. Reboot.


    # init 6
    

    The previous working boot environment becomes the active boot environment.