CN109144543A - A method of the verifying VMware system bios compatibility based on EFI environment - Google Patents
A method of the verifying VMware system bios compatibility based on EFI environment Download PDFInfo
- Publication number
- CN109144543A CN109144543A CN201810900846.9A CN201810900846A CN109144543A CN 109144543 A CN109144543 A CN 109144543A CN 201810900846 A CN201810900846 A CN 201810900846A CN 109144543 A CN109144543 A CN 109144543A
- Authority
- CN
- China
- Prior art keywords
- file
- efi
- bios
- vmware
- vmware system
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The method for the verifying VMware system bios compatibility based on EFI environment that the embodiment of the invention discloses a kind of, comprising: starting EFI environment;BIOS refreshing file is obtained to be refreshed;Enter VMware system after refreshing: acquisition is restarted file and is restarted from the VMware system.BIOS is refreshed in EFI environment in the present invention and is carried out, VMware system is directly entered after having refreshed in EFI environment, the reliability that BOIS refreshing is improved caused by being refreshed when the abnormal running of VMware system as BIOS or caused by other factors can be judged immediately.
Description
Technical field
The present invention relates to BIOS refresh technique fields, more particularly to a kind of verifying VMware system based on EFI environment
The method of BIOS compatibility.
Background technique
VMware is " Virtual PC " software company, provides the solution of server, desktop virtualization.It is virtualized
The product of platform includes player;It can make personal desktop computer operation virtual machine, and fusion device, it is that user is based on English spy
The desktop virtualization product of your structure Macintosh, the software developer of work station and the Information of Science and Technology specialized personnel of enterprise can make virtual
The server of subregion.
Financial industry client generally uses VMware system, at family when the firmwares such as upgrading BIOS, due to being related to
System is restarted, and various problems often occurs, and when encountering compared with the problem of small probability, can not quickly position is BIOS/firmware upgrading
It is caused, or due to caused by VMware system or client itself environment, eventually lead to client in this way in order to avoid virtual
Machine and business are unaffected, refuse the BIOS/firmware of upgrade server.
In the prior art, BOIS upgrading be all refreshed in DOS or Linux, and DOS or Linux cannot directly into
Enter VMware system, to not can be carried out BIOS compatibility verification, reduces the reliability of BOIS refreshing.
Summary of the invention
A kind of method of verifying VMware system bios compatibility based on EFI environment is provided in the embodiment of the present invention,
To solve the problems, such as that it is low to refresh reliability by BOIS in the prior art.
In order to solve the above-mentioned technical problem, the embodiment of the invention discloses following technical solutions:
The method for the verifying VMware system bios compatibility based on EFI environment that the present invention provides a kind of, comprising:
Start EFI environment;
BIOS refreshing file is obtained to be refreshed;
Enter VMware system after refreshing:
Acquisition is restarted file and is restarted from the VMware system.
Preferably, the starting EFI environment specifically includes:
The first startup item is set by EFI in BOIS;
The first startup item is set by the EFI Shell in the sub- option of the EFI.
Preferably, the acquisition BIOS refreshing file, which refresh, specifically includes:
Obtain autoexec;
The autoexec suffix is revised as .nsh;
Obtain refresh tool and BIOS image file;
Refreshed according to the autoexec, refresh tool and BIOS image file.
Preferably, the refresh tool format is arranged are as follows:-refresh all-refreshing BOIS-, which has refreshed, does not restart-refreshes
It is complete to come into force.
Preferably, VMware system is entered after the refreshing to specifically include:
VMware system disk is read after refreshing from EFI and enters VMware system.
Preferably, the acquisition from the VMware system restarts file and restart specifically including:
EFI file is read from the storage hard disk of the VMware system;
It is read from the EFI file and restarts file;
From it is described restart in file read restart file;
Restart file according to described and restarted.
Preferably, described to restart file according to and restart specifically including:
File path will be restarted to be added in the local.sh file loaded when VMware system starting.
Preferably, when that will restart file path and be added to VMware system starting in the local.sh file that loads
Before further include: carry out preset time suspend mode.
Preferably, the method also includes:
BIOS refreshing is re-started after restarting.
It is carried out by above technical scheme as it can be seen that refreshing BIOS in EFI environment in the present invention, is refreshed in EFI environment
It is directly entered VMware system after complete, can judge immediately caused by being refreshed when the abnormal running of VMware system as BIOS
Or caused by other factors, the reliability of BOIS refreshing is improved.
Detailed description of the invention
It is illustrated more clearly that the embodiment of the present invention or technical solution in the prior art, it below will be to embodiment or existing
Attached drawing needed in technical description is briefly described, it should be apparent that, for those of ordinary skills,
Without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of side of verifying VMware system bios compatibility based on EFI environment provided in an embodiment of the present invention
The flow diagram of method;
Fig. 2 is the flow diagram that acquisition BIOS provided in an embodiment of the present invention refreshes the method that file is refreshed;
Fig. 3 is the process provided in an embodiment of the present invention for obtaining from VMware system and restarting the method that file is restarted
Schematic diagram;
Fig. 4 is another verifying VMware system bios compatibility based on EFI environment provided in an embodiment of the present invention
The flow diagram of method.
Specific embodiment
Technical solution in order to enable those skilled in the art to better understand the present invention, below in conjunction with of the invention real
The attached drawing in example is applied, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described implementation
Example is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this field is common
Technical staff's every other embodiment obtained without making creative work, all should belong to protection of the present invention
Range.
Referring to Fig. 1, for a kind of verifying VMware system bios compatibility based on EFI environment provided in an embodiment of the present invention
Method flow diagram, as shown in Figure 1, the verifying VMware system provided in an embodiment of the present invention based on EFI environment
The method of BIOS compatibility, comprising:
S10: starting EFI environment.
Traditional BIOS upgrading is to carry out in DOS or Linux environment, and carry out BIOS brush by DOS and Linux
It cannot directly enter VMware system after new, can not know the operating condition of VMware system after BIOS refreshes immediately, therefore, this
Inventive embodiments, which refresh BIOS in EFI environment, to be carried out, and enters VMware system by EFI.
The step of starting EFI environment specifically includes: setting first for EFI in the BOOT option in the BIOS of server
Startup item, guarantee server restart every time all can enter EFI in, due to there is VM system, thus needed in the sub- option of EFI by
EFI Shell is set as the first startup item.
S20: it obtains BIOS refreshing file and is refreshed.
Referring to fig. 2, refresh the process signal for the method that file is refreshed for acquisition BIOS provided in an embodiment of the present invention
Figure, as shown in Fig. 2, acquisition BIOS refreshing file refresh and is specifically included:
S21: autoexec is obtained.
It is typically all to be refreshed in DOS or Linux that existing BIOS, which refreshes, and the file of refreshing is read from USB flash disk, because
This still uses to simplify implementation process of the invention and reads autoexec from USB flash disk.
S22: the autoexec suffix is revised as .nsh.
The autoexec read from USB flash disk is the format refreshed suitable for DOS or Linux, and format nothing in EFI
Method operation, therefore, in order to enable autoexec to operate normally in EFI, is revised as .nsh for the suffix of autoexec.
S23: refresh tool and BIOS image file are obtained.
S24: refreshed according to the autoexec, refresh tool and BIOS image file.
Refresh tool and BIOS image file are equally obtained from USB flash disk, and the refresh tool of acquisition needs to carry out format and repairs
Change, modified format are as follows:-refresh all ,-refresh BOIS ,-refreshed do not restart ,-refreshed and come into force.
Specifically, refresh tool format is isflashx64.efi NF8460M3_BIOS_4.1.03_
20180110.BIN-all-bios-n-RVA, wherein.- all is refresh all;- bios indicates to refresh BIOS;- n indicates brush
It is newly complete not restart;- RVA expression, which has refreshed, to come into force;
S30: enter VMware system after refreshing.
VMware system disk is read after refreshing from EFI and enters VMware system.
S40: acquisition is restarted file and is restarted from the VMware system.
Referring to Fig. 3, the method that file is restarted is restarted for provided in an embodiment of the present invention obtain from VMware system
Flow diagram, as shown in figure 3, described obtain from the VMware system restarts file and restart specifically including:
S41: EFI file is read from the storage hard disk of the VMware system.
EFI file is read after into VMware system from the storage hard disk of system.
S42: it is read from the EFI file and restarts file.
S43: from it is described restart in file read restart file.
Restart file and VMware system has been uploaded to by WinSCP or vSphere tool before carrying out BIOS refreshing
Storage hard disk under, under the path /vmfs/volumes/datastore1.
S44: restart file according to described and restarted.
Specifically, described file is restarted according to restarted for that will restart file path and be added to the VMware system
In the local.sh file loaded when system starting, local.sh file can be loaded automatically after the starting of VMware system, will be weighed
Opening file and being added to can guarantee voluntarily start reset command in starting under this document path.
VMware system will be made to fall into restart always if file will be restarted and remained stored in local.sh file
Therefore endless loop will be restarted file and be stored in and need to be triggered manually by user in local.sh file, therefore, in order to give user
There are time enough to add file, loads when that will restart file path and be added to VMware system starting
Before in local.sh file further include: carry out preset time suspend mode.The instruction for carrying out preset time suspend mode, which is stored in, restarts text
In part.
Referring to fig. 4, compatible for another verifying VMware system bios based on EFI environment provided in an embodiment of the present invention
Property method flow diagram, as described in Figure 4, the method also includes: re-execute the steps after restarting S20 carry out BIOS brush
Newly.
Caused VMware system cisco unity malfunction, which is mainly reflected in blue screen, crash etc., after BIOS refreshes normally to open
Dynamic situation, therefore VMware system can normally start after refreshing, illustrate that this BIOS refreshes to VMware system not
It will cause influence, but cannot illustrate whether really there is no influences only by primary refreshing, it is a large amount of therefore, it is necessary to carry out
BIOS refresh verify BIOS refreshing whether will affect VMware system normal use, therefore, after VMware system reboot
It carries out executing step S20 again, to refresh by multiple BIOS to verify its compatibility.If refreshed for certain BIOS
It only need to once be to be not required to refresh again after the situation of its interpretable compatibility is then restarted.The mistake refreshed is repeated if you need to jump out BIOS
The restarting process of Cheng Ze stopping VMware system.
BIOS is refreshed in EFI environment in the present invention and is carried out, VMware system is directly entered after having refreshed in EFI environment
It unites, can judge immediately caused by being refreshed when the abnormal running of VMware system as BIOS or caused by other factors,
Improve the reliability of BOIS refreshing.
The above is only a specific embodiment of the invention, is made skilled artisans appreciate that or realizing this hair
It is bright.Various modifications to these embodiments will be apparent to one skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (9)
1. a kind of method of the verifying VMware system bios compatibility based on EFI environment characterized by comprising
Start EFI environment;
BIOS refreshing file is obtained to be refreshed;
Enter VMware system after refreshing:
Acquisition is restarted file and is restarted from the VMware system.
2. the method for the verifying VMware system bios compatibility according to claim 1 based on EFI environment, feature exist
In the starting EFI environment specifically includes:
The first startup item is set by EFI in BOIS;
The first startup item is set by the EFI Shell in the sub- option of the EFI.
3. the method for the verifying VMware system bios compatibility according to claim 1 based on EFI environment, feature exist
In the acquisition BIOS refreshing file, which refresh, to be specifically included:
Obtain autoexec;
The autoexec suffix is revised as .nsh;
Obtain refresh tool and BIOS image file;
Refreshed according to the autoexec, refresh tool and BIOS image file.
4. the method for the verifying VMware system bios compatibility according to claim 3 based on EFI environment, feature exist
In by refresh tool format setting are as follows:-refresh all-refreshing BOIS-, which has refreshed, does not restart-has refreshed and come into force.
5. the method for the verifying VMware system bios compatibility according to claim 1 based on EFI environment, feature exist
In, after the refreshing enter VMware system specifically include:
VMware system disk is read after refreshing from EFI and enters VMware system.
6. the method for the verifying VMware system bios compatibility according to claim 1 based on EFI environment, feature exist
In the acquisition from the VMware system restarts file and restart specifically including:
EFI file is read from the storage hard disk of the VMware system;
It is read from the EFI file and restarts file;
From it is described restart in file read restart file;
Restart file according to described and restarted.
7. the method for the verifying VMware system bios compatibility according to claim 6 based on EFI environment, feature exist
In described to restart file according to and restart specifically including:
File path will be restarted to be added in the local.sh file loaded when VMware system starting.
8. the method for the verifying VMware system bios compatibility according to claim 7 based on EFI environment, feature exist
In before it will restart file path and be added in the local.sh file loaded when VMware system starting further include:
Carry out preset time suspend mode.
9. the method for -8 any verifying VMware system bios compatibility based on EFI environment according to claim 1,
It is characterized in that, the method also includes:
BIOS refreshing is re-started after restarting.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810900846.9A CN109144543A (en) | 2018-08-09 | 2018-08-09 | A method of the verifying VMware system bios compatibility based on EFI environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810900846.9A CN109144543A (en) | 2018-08-09 | 2018-08-09 | A method of the verifying VMware system bios compatibility based on EFI environment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109144543A true CN109144543A (en) | 2019-01-04 |
Family
ID=64792462
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810900846.9A Pending CN109144543A (en) | 2018-08-09 | 2018-08-09 | A method of the verifying VMware system bios compatibility based on EFI environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109144543A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070162901A1 (en) * | 2006-01-12 | 2007-07-12 | Samsung Electronics Co., Ltd. | Operating system switching device and operating system switching method |
WO2009149588A1 (en) * | 2008-10-14 | 2009-12-17 | Cai Guangxian | Computer system based on virtualization technology and virtual machine generating method |
US8484640B1 (en) * | 2007-06-22 | 2013-07-09 | Parallels IP Holdings GmbH | Virtualization system with trusted root mode hypervisor and trusted root mode VMM |
CN104572165A (en) * | 2014-03-21 | 2015-04-29 | 中电科技(北京)有限公司 | UEFI (Unified Extensible Firmware Interface) firmware implementation method based on Feiteng server |
CN105068899A (en) * | 2015-07-17 | 2015-11-18 | 浪潮电子信息产业股份有限公司 | Automatic restart stability test method under Vmware system |
CN105068845A (en) * | 2015-08-26 | 2015-11-18 | 浪潮电子信息产业股份有限公司 | Method for quickly updating firmware and guiding firmware to enter operating system |
-
2018
- 2018-08-09 CN CN201810900846.9A patent/CN109144543A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070162901A1 (en) * | 2006-01-12 | 2007-07-12 | Samsung Electronics Co., Ltd. | Operating system switching device and operating system switching method |
US8484640B1 (en) * | 2007-06-22 | 2013-07-09 | Parallels IP Holdings GmbH | Virtualization system with trusted root mode hypervisor and trusted root mode VMM |
WO2009149588A1 (en) * | 2008-10-14 | 2009-12-17 | Cai Guangxian | Computer system based on virtualization technology and virtual machine generating method |
CN104572165A (en) * | 2014-03-21 | 2015-04-29 | 中电科技(北京)有限公司 | UEFI (Unified Extensible Firmware Interface) firmware implementation method based on Feiteng server |
CN105068899A (en) * | 2015-07-17 | 2015-11-18 | 浪潮电子信息产业股份有限公司 | Automatic restart stability test method under Vmware system |
CN105068845A (en) * | 2015-08-26 | 2015-11-18 | 浪潮电子信息产业股份有限公司 | Method for quickly updating firmware and guiding firmware to enter operating system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3491519B1 (en) | Optimized uefi reboot process | |
US9501289B2 (en) | Method of a UEFI firmware and computer system thereof | |
US8751783B2 (en) | Booting computing devices with EFI aware operating systems | |
US8185884B2 (en) | System and method for offline updation of software in virtual machine (VM) images | |
US9323563B2 (en) | Determining virtual machine migration in view of a migration rule | |
US9703635B2 (en) | Method, computer program, and computer for restoring set of variables | |
US10725770B2 (en) | Hot-swapping operating systems using inter-partition application migration | |
US11307907B2 (en) | Information handling system and method to automatically synchronize operating system and boot firmware languages | |
CN103514015A (en) | Method and device for booting operation system from storage medium | |
CN114222975A (en) | Data preservation using memory aperture flush sequence | |
US10491736B2 (en) | Computer system and method thereof for bluetooth data sharing between UEFI firmware and OS | |
US20150324209A1 (en) | Operating System Switching Method and Dual-Operating System Electronic Device Using the Same | |
US20090198988A1 (en) | Method for verifying refreshed bios content | |
US9841982B2 (en) | Locating import class files at alternate locations than specified in classpath information | |
CN113849230A (en) | Server starting method and device, electronic equipment and readable storage medium | |
Carpenter | Microsoft Windows Operating System Essentials | |
CN101470657A (en) | Verification method for BIOS refreshing content | |
WO2008048581A1 (en) | A processing device operation initialization system | |
US8972708B2 (en) | Plurality of interface files usable for access to BIOS | |
CN109144543A (en) | A method of the verifying VMware system bios compatibility based on EFI environment | |
JP2010282645A (en) | Linux program start-up system | |
KR101420026B1 (en) | A method, apparatus and computer program for loading files during a boot-up process | |
CN110333901A (en) | The title update method of storage device | |
US8990803B2 (en) | Virtual media shelf | |
CN105988831A (en) | System startup method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190104 |
|
RJ01 | Rejection of invention patent application after publication |