A method for converting a bootstrap program of a Windows virtual machine

A boot program and conversion method technology, applied in the field of cloud computing, can solve the problems of manual participation of users, inconvenience, and incompatibility of boot methods, so as to improve user experience, ensure successful startup, and save operation time and waiting time.

Active Publication Date: 2018-12-14
GUANGDONG MICROCLOUD TECH INC
View PDF7 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the above method is used for conversion, the Windows system needs to be restarted during the conversion process and after the conversion, and there may also be incompatibility between the two boot methods during the conversion process. The process of converting from Legacy boot mode to UEFI boot mode Similarly, the process of restarting the Windows system is also required twice, causing the user to wait for a long time, which is very inconvenient and affects the user experience, and the conversion process requires the user to participate manually, which adds additional learning costs to the user

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
  • A method for converting a bootstrap program of a Windows virtual machine
  • A method for converting a bootstrap program of a Windows virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0035] A method for converting a boot program of a Windows virtual machine is applied to a host machine running a Linux kernel, and the host machine can mount an NBD network block device.

[0036] The conversion method of the Windows virtual machine boot program includes:

[0037] S1. Extract the boot file of the Legacy boot mode and the boot file of the UEFI boot mode from the Windows installation file respectively.

[0038] Wherein, the Windows installation file can be obtained from a Windows CD, which is a CD of released Windows operating systems such as Windows 10, Windows 8, Windows 7, and Windows Vista.

[0039] When extracting the boot files from the Windows installation files, extract the boot files of the corresponding Legacy boot mode and the boot files of the UEFI boot mode according to the Windows version, that is, extract the Windows installation files of Windows 10, Windows 8, Windows 7, and Windows Vista. The boot file of the Legacy boot mode and the boot file ...

Embodiment 2

[0078] The conversion method of a Windows virtual machine boot program provided in this embodiment is different from the conversion method of the Windows virtual machine boot program provided in Embodiment 1 in that:

[0079] After executing step S1, modify the boot file so that when the boot file boots and starts, the local hard disk is used as the first boot device. Specifically, the boot file of the Legacy boot mode and the boot file of the UEFI boot mode are respectively modified, and The first startup program of the above-mentioned boot file points to the Windows loader loading program modified to be in the local hard disk, so as to preferentially start the local hard disk.

[0080] The boot file refers to the boot file of the Legacy boot mode and the boot file of the UEFI boot mode respectively extracted from the Windows installation file in step S1, that is, the boot file includes the boot file of the Legacy boot mode and the boot file of the UEFI boot mode. document. ...

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 invention discloses a method for converting a bootstrap program of a Windows virtual machine, belonging to the cloud computing technical field, which comprises the following steps: S1, creating aWindows virtual machine under a UEFI mode; S2, mounting the Windows virtual machine as the NBD network block device of the Linux host machine; S3, copying the Legacy boot file and the UEFI boot file to two different partitions of the NBD network block device respectively. The invention mainly solves the problems that in the Windows system, The UEFI boot mode and Legacy boot mode are not compatiblewith each other, Restart the Windows system once during and after the conversion; there may also be incompatibility between the two boot modes during the conversion process, the invention makes Windows virtual function support UEFI and Legacy two boot modes at the same time, no user or maintainer is required to perform secondary conversion operation and restart switching, saving operation time and waiting time, and the process is completed when the virtual machine operating system is created, the user does not perceive, and the user experience is improved.

Description

technical field [0001] The invention relates to the technical field of cloud computing, in particular to a method for converting a boot program of a Windows virtual machine. Background technique [0002] Cloud computing technology provides users with an efficient and powerful computing platform. With the increasing development of virtualized cloud computing technology, virtual machines in the virtual machine environment can install different types of Windows operating systems, that is, Windows operating systems. [0003] The Windows operating system is usually started through two boot methods, one is UEFI, that is, Unified Extensible Firmware Interface, a unified extensible firmware interface, and the other is Legacy, that is, the traditional BIOS boot method, BIOS is Basic Input Output System, Basic Input Output System. [0004] In many cases, the startup of the Windows operating system needs to switch between the above two boot methods. For example, in the virtualized cl...

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/455G06F9/4401
CPCG06F9/4401G06F9/45558G06F2009/45575
Inventor 武杨
Owner GUANGDONG MICROCLOUD TECH INC
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