Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Information processing method and storage device

An information processing method and processor technology, applied in the information field, can solve the problem of not being able to find the boot code of the UEFI operating system, and achieve the effects of reducing storage conflicts, ensuring correctness and strong compatibility

Active Publication Date: 2017-01-04
LENOVO (BEIJING) LTD
View PDF11 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Since the UEFI boot variable is stored in the UEFI flash, if the storage medium storing the operating system code and the boot code is moved to another electronic device (such as electronic device A), the UEFI flash of electronic device A will not The UEFI boot variable is not stored, so the boot code of the UEFI operating system cannot be found to boot the UEFI operating system

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Information processing method and storage device
  • Information processing method and storage device
  • Information processing method and storage device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0064] Such as figure 1 As shown, this embodiment provides an information processing method, including:

[0065] Step S110: installing the first operating system;

[0066] Step S120: Obtain the storage path of the boot code of the first operating system and the system name of the first operating system;

[0067] Step S130: Generate a boot variable according to the storage path and the system name;

[0068] Step S140: In the first sector of the first storage medium storing the boot code, store the boot variable in a reserved byte of a storage protection boot record.

[0069] The information processing method described in this embodiment can be applied to various electronic devices, for example, various electronic devices such as desktop computers, notebook computers, tablet computers, or servers.

[0070] The boot code can also be called a boot program, which is a code for booting the first operating system.

[0071] The step S110 is to install a first operating system, and...

Embodiment 2

[0082] Such as figure 1 As shown, this embodiment provides an information processing method, including:

[0083] Step S110: installing the first operating system;

[0084] Step S120: Obtain the storage path of the boot code of the first operating system and the system name of the first operating system;

[0085] Step S130: Generate a boot variable according to the storage path and the system name;

[0086] Step S140: In the first sector of the first storage medium storing the boot code, store the boot variable in a reserved byte of a storage protection boot record.

[0087] The protection boot record includes a boot entry field;

[0088] The boot entry field includes a storage path byte, a system name byte and a storage partition byte;

[0089] The step S140 may include:

[0090] storing the storage path in the storage path bytes;

[0091] storing said system name in said system name byte;

[0092] The partition identifier of the partition where the boot code is stored ...

Embodiment 3

[0096] Such as figure 1 As shown, this embodiment provides an information processing method, including:

[0097] Step S110: installing the first operating system;

[0098] Step S120: Obtain the storage path of the boot code of the first operating system and the system name of the first operating system;

[0099] Step S130: Generate a boot variable according to the storage path and the system name;

[0100] Step S140: In the first sector of the first storage medium storing the boot code, store the boot variable in a reserved byte of a storage protection boot record.

[0101] The protection boot record includes a boot entry field;

[0102] The boot entry field includes a storage path byte, a system name byte and a storage partition byte;

[0103] The step S140 may include:

[0104] storing the storage path in the storage path bytes;

[0105] storing said system name in said system name byte;

[0106] The partition identifier of the partition where the boot code is stored ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses an information processing method and an electronic device. The method comprises the steps of installing a first operating system; obtaining a storage path of a boot code of the first operating system and a system name of the first operating system; generating a boot variable according to the storage path and the system name; and in a first sector for storing a first storage medium of the boot code, storing the boot variable in a reservation byte for storing a protective boot record.

Description

technical field [0001] The present invention relates to the field of information technology, in particular to an information processing method and a storage device. Background technique [0002] Some operating systems (such as the Unified Extensible Firmware Interface (UEFI) operating system) will generate a UEFI boot variable in the UEFI flash memory flash to record the storage path of the boot program given by the UEFI operating system after the installation is complete. The UEFI boot variable also records the name of the operating system. [0003] Since the UEFI boot variable is stored in the UEFI flash, if the storage medium storing the operating system code and the boot code is moved to another electronic device (such as electronic device A), the UEFI flash of electronic device A will not The UEFI boot variable is not stored, so the boot code of the UEFI operating system cannot be found to boot the UEFI operating system. Contents of the invention [0004] In view of...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44
CPCG06F9/4401
Inventor 何海洋
Owner LENOVO (BEIJING) LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products