共用方式為


Applying Updates to a System That Uses Hibernate Once/Resume Many

After you have configured a Hibernate Once/Resume Many environment, you must consider how you will update your device. Adding updates to your run-time image will change the state of the system. Because of this state change, you should re-hibernate your run-time image after applying an update.

To apply an update to a system that uses Hibernate Once/Resume Many

  1. Boot your run-time image.

  2. Disable EWF by using the EWF Manager command or the EWF API. For example:

    ewfmgr c: -disable
    ewfmgr c: -deactivateHORM
    
  3. Restart the system. For example:

    xpepm -restart
    
  4. If you have not previously disabled HORM (step 2 above), press F8 at the Resuming Windows screen during system boot and do the following:

    1. At the prompt, select Delete restoration data and proceed to system boot menu. The system boots normally and EWF will be disabled.
  5. Apply all updates.

  6. Enable EWF by using the EWF Manager command or the EWF API. For example:

    ewfmgr c: -enable
    
  7. Restart the system. EWF will be enabled.

  8. Reactivate HORM by using the EWF Manager command or the EWF API. For example:

    ewfmgr c: -activateHORM
    
  9. Open applications and start any processes that you want to be running on the system when it resumes from hibernation.

  10. Hibernate the system. For example, use the Windows XP Embedded Power Management Application component:

    xpepm -hibernate
    

After the system completes the hibernation process, use the EWF Manager to get the HORM state, for example:

ewfmgr

HORM should be activated. The system will now boot from the hibernation image in the HORM environment when it's restarted.

See Also

Hibernation and EWF | EWF Performance Considerations | EWF Design Considerations

Last updated on Wednesday, October 18, 2006

© 2006 Microsoft Corporation. All rights reserved.