Information processing method and storage device

An information processing method and processor technology, applied in the information field, can solve problems such as the inability 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: 2021-08-13
LENOVO (BEIJING) LTD
View PDF8 Cites 0 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 present invention discloses an information processing method and an electronic device. The method includes: installing a first operating system; acquiring a storage path of a boot code of the first operating system and a system name of the first operating system; According to the storage path and the system name, a boot variable is generated; in the first sector of the first storage medium storing the boot code, the boot variable is stored in a reserved byte of a storage protection 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 Patents(China)
IPC IPC(8): G06F9/4401G06F8/61
CPCG06F9/4401
Inventor 何海洋
Owner LENOVO (BEIJING) LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products