Solaris Live Upgrade 2.0 Guide

SPARC: To Fall Back to the Original Boot Environment by Using a CD or Net Image

If you were unsuccessful at using luactivate in the previous procedure, use this procedure to boot from a CD or a net image. You need to mount the root (/) slice from the last active boot environment. Then run the luactivate command, which makes the switch. When you reboot, the last active boot environment is up and running again.

  1. At the OK prompt, boot the machine to single-user state from the installation CD, the network, or a local disk:


    OK boot cdrom -s 
    

    or


    OK boot net -s
    

    or


    OK boot disk -s
    

    disk

    The name of the disk and the slice where a copy of the operating system resides, for example disk1:A.

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


    # fsck mount point
    

    mount_point

    A root file system that is known and reliable

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


    # mount logical_device_name /mnt/sbin
    

    logical_device_name

    Any device, including a Veritas VxVM volume or Solstice DiskSuite metadevice 

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


    # /mnt/sbin/luactivate
    

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

  5. Unmount /mnt/sbin


    # umount logical_device_name /mnt/sbin
    

    logical_device_name

    Any device, including a Veritas VxVM volume or Solstice DiskSuite metadevice 

  6. Reboot.


    # init 6
    

    The previous working boot environment becomes the active boot environment.