System Administration Guide: Basic Administration

ProcedureSPARC: How to Change the Default Kernel by Using the Boot PROM

  1. Change to run level 0.


    # init 0
    

    The ok PROM prompt is displayed. For more information, see theinit(1M) man page.

  2. Set the boot-file property to an alternate kernel.


    ok setenv boot-file boot-file
    
  3. Verify that the default boot device has been changed.


    ok printenv boot-file
    
  4. Save the new boot-file value.


    ok reset-all
    

    The new boot-file value is written to the PROM.