CN102999362A - Method for modifying sequence of boot options of basic input/output system (BIOS) - Google Patents

Method for modifying sequence of boot options of basic input/output system (BIOS) Download PDF

Info

Publication number
CN102999362A
CN102999362A CN2012105112979A CN201210511297A CN102999362A CN 102999362 A CN102999362 A CN 102999362A CN 2012105112979 A CN2012105112979 A CN 2012105112979A CN 201210511297 A CN201210511297 A CN 201210511297A CN 102999362 A CN102999362 A CN 102999362A
Authority
CN
China
Prior art keywords
bios
boot
startup item
boot options
order
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
Application number
CN2012105112979A
Other languages
Chinese (zh)
Inventor
刘冰
刘宝阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN2012105112979A priority Critical patent/CN102999362A/en
Publication of CN102999362A publication Critical patent/CN102999362A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method for modifying the sequence of boot options of a basic input/output system (BIOS). The method comprises the following steps of: acquiring data which shows whether the boot options of the BIOS are needed to be modified or not and what sequence of the boot options is needed to be modified from a block multiplexer channel (BMC) through a Get System Boot Options Command of an intelligent platform management interface (IPMI); writing codes to modify the priority sequence of the boot options of the BIOS; and transmitting a Set System Boot Options Command to a target system through an IPMI tool and filling out corresponding parameters. By the method, the sequence of the boot options can be modified by adding a small number of logical codes into BIOS codes, a Boot option can be directly changed at a remote control end, and a server is not required to be restarted immediately; and after the Boot option of the server is directly changed by the IPMI tool, the normal operation of the server system is not influenced, and the Boot option becomes effective when the server is started next time.

Description

A kind of method of revising BIOS startup item order
Technical field
The invention belongs to the computer BIOS technical field, relate to a kind of method of the BIOS of modification startup item order.
Background technology
In basic server system, multiple different bootable equipment all can be arranged, such as CD/DVD CD-ROM drive commonly used, floppy drive, hard disk, bootable USB device etc.All bootable equipment all can have the boot sequence of an acquiescence in BIOS, for example: the first startup item is that CD/DVD CD-ROM drive, the second startup item are that floppy drive, the 3rd startup item are hard disk.Under default situations, BIOS can go one by one to attempt guiding according to this startup item order and advance OS, if first startup item guides unsuccessfully, then can automatically attempt the next one, until all bootable equipment was all attempted.
In the process of using server, need to remove to change sometimes the boot sequence of BIOS acquiescence for certain.More common way has two kinds at present: a kind of managerial personnel of being go operations server on the spot to machine room, enter BIOS Setup interface and go down to revise BIOS startup item order, yet this kind method operates extremely inconvenient, needs managerial personnel to operate to machine room on the spot; Another kind be by the built-in remote monitoring of BMC for example KVM come the Long-distance Control server to enter BIOS Setup interface, revise the startup item order, and this kind method needs game server BMC client, implements inconvenience.
So the defective for above-mentioned prior art exists is necessary to study in fact, so that a kind of method to be provided, can realize remotely modifying, and the realization time is short, need not logon server BMC client, need not to allow immediately server restart.
Summary of the invention
For addressing the above problem, the object of the present invention is to provide a kind of method of the BIOS of modification startup item order.
For achieving the above object, technical scheme of the present invention is:
A kind of method of revising BIOS startup item order comprises the steps:
Acquisition system boot options order (Get System Boot Options Command) by IPMI obtains whether need to revise the BIOS startup item to BMC, and the data that should be modified as which kind of startup item order;
Write code revision BIOS startup item priority orders;
Under goal systems, system's boot options order (Set System Boot Options Command) is set by the IPMI instrument, and fills in corresponding parameter.
Further, the code that adds the modification BIOS startup item priority orders that has write in the BIOS of controlled terminal code the inside.
Further, the BIOS file is write with a brush dipped in Chinese ink in the BIOS chip of controlled terminal.
Further, control end uses the Ipmitool instrument under OS, assigns that to controlled terminal system's boot options order being set, and adds corresponding parameter.
The present invention only needs to add a small amount of logical code and can realize in bios code, and can directly change the Boot option at remote control terminal, and do not need to carry out setting than multi-step by logon server BMC control end, also need not to allow immediately server restart, after directly changing server B oot option by the IPMI instrument, can not affect the normal operation of server system, only when server restarts, just come into force next time.
Description of drawings
Fig. 1 is method flow diagram of the present invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
The BIOS startup item is one group of bootable device option that sequencing is arranged that can guide a plurality of equipment compositions that enter OS, and BIOS creates and safeguard the sequence list of this bootable equipment in the POST process, be called Boot Option in BIOS.Boot Option is an array of pointers, and each array item points to a bootable equipment, and BIOS goes sequentially to search in this array of Boot Option when seeking bootable equipment exactly.
Intelligent platform supervision interface IPMI (Intelligent Platform Management Interface) provides two useful orders can be used for arranging and the setting of obtaining the relevant guiding in BMC chip the inside startup item, system's boot options order (Set System Boot Options Command) namely is set and obtains system's boot options order (Get System Boot Options Command), the present invention is by utilizing these two orders of IPMI and BIOS the inside this array of pointers of Boot Option to revise BIOS startup item order.
Please refer to shown in Figure 1, a kind of method of revising BIOS startup item order of the present invention, at first, before finishing, BIOS POST process obtains whether need to revise the BIOS startup item by IPMI order " Get System Boot Options Command " to BMC, and the data that should be modified as which kind of startup item order.After obtaining these data, just can according to the data demand that obtains, write code revision BIOS startup item priority orders.Comprised at system bios on the server of above function code, when the needs goal systems changes BIOS startup item order next time when starting, when for example: need forced system from the HDD(hard disk) guiding, only need by " the Set System Boot Options Command " order under goal systems of IPMI instrument, and fill in corresponding parameter and get final product, present embodiment is under the far-end linux system, need to issue orders in terminal (Terminal) system: ipmitool-H $ IP-U $ USER-P $ PASSWD raw $ COMMAND, wherein, $ IP is far-end BMC management port IP address; $ USER is far-end BMC management port account title; $ PASSWD is far-end BMC management port account number cipher; $ COMMAND is the specifically order under the far-end BMC chip.When system restarted next time, the code of the described modification BIOS startup item priority orders that has write just can play a role, and realized the modification of BIOS startup item order, the HDD(hard disk) equipment is arranged to the first startup item.
During specific implementation, at first the BIOS code of controlled terminal the inside needs to add the code of the modification BIOS startup item priority orders that has write.And this BIOS file is write with a brush dipped in Chinese ink in the BIOS chip of controlled terminal.(generally namely add this function code in the development phase of BIOS, the client does not need to do this action when using server.Control end is assigned the order of " Set System Boot Options Command " at the lower Ipmitool instrument that uses of OS (DOS or Linux or Windows) to controlled terminal, and adds corresponding parameter and get final product.For example the first startup item is made as PXE boot.The controlled terminal system then can at first enter PXE Boot option when restarting next time.
The present invention only needs to add a small amount of logical code in bios code, just can realize this function; The Ipmi instrument is that the disclosed IPMI standard of Intel realizes software, has DOS, Windows, many versions of Linux, need not again to develop.And need not logon server BMC client, the Ipmi instrument can be issued an order to the IP address of appointment by network, so just can directly change the Boot option at remote control terminal, and does not need to carry out setting than multi-step by logon server BMC control end.Also need not to allow immediately server restart, directly change server B oot option by the IPMI instrument after, can not affect the normal operation of server system, only when server restarts next time, just come into force.Satisfy part client and do not wished to stop immediately the requirement that server moves.
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (4)

1. a method of revising BIOS startup item order is characterized in that, comprises the steps:
Acquisition system boot options order (Get System Boot Options Command) by IPMI obtains whether need to revise the BIOS startup item to BMC, and the data that should be modified as which kind of startup item order;
Write code revision BIOS startup item priority orders;
Under goal systems, system's boot options order (Set System Boot Options Command) is set by the IPMI instrument, and fills in corresponding parameter.
2. revise as claimed in claim 1 the method for BIOS startup item order, it is characterized in that, also comprise: the code that adds the modification BIOS startup item priority orders that has write in the BIOS of controlled terminal code the inside.
3. revise as claimed in claim 2 the method for BIOS startup item order, it is characterized in that, also comprise: the BIOS file is write with a brush dipped in Chinese ink in the BIOS chip of controlled terminal.
4. revise as claimed in claim 3 the method for BIOS startup item order, it is characterized in that also comprise: control end uses the Ipmitool instrument under OS, assigns that to controlled terminal system's boot options order being set, and adds corresponding parameter.
CN2012105112979A 2012-12-04 2012-12-04 Method for modifying sequence of boot options of basic input/output system (BIOS) Pending CN102999362A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012105112979A CN102999362A (en) 2012-12-04 2012-12-04 Method for modifying sequence of boot options of basic input/output system (BIOS)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012105112979A CN102999362A (en) 2012-12-04 2012-12-04 Method for modifying sequence of boot options of basic input/output system (BIOS)

Publications (1)

Publication Number Publication Date
CN102999362A true CN102999362A (en) 2013-03-27

Family

ID=47927967

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012105112979A Pending CN102999362A (en) 2012-12-04 2012-12-04 Method for modifying sequence of boot options of basic input/output system (BIOS)

Country Status (1)

Country Link
CN (1) CN102999362A (en)

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593250A (en) * 2013-11-19 2014-02-19 浪潮电子信息产业股份有限公司 Realizing method for modifying BIOS Setup option out of band
CN103777969A (en) * 2012-10-19 2014-05-07 阿里巴巴集团控股有限公司 Server parameter deploying method and device with no need for restarting
CN104423974A (en) * 2013-08-20 2015-03-18 崴方科技股份有限公司 On-line BIOS automatic modification method
CN104932922A (en) * 2015-06-18 2015-09-23 浪潮电子信息产业股份有限公司 Method and device for regulating boot sequence of SAS (Serial Attached SCSI) card hard disk
CN104951342A (en) * 2015-06-18 2015-09-30 浪潮电子信息产业股份有限公司 Method and device for adjusting starting sequence
CN105005471A (en) * 2015-06-24 2015-10-28 北京百度网讯科技有限公司 Method, device, server and system for modifying configuration parameters of BIOS
CN105302621A (en) * 2015-12-09 2016-02-03 浪潮电子信息产业股份有限公司 Method for remotely achieving initial value restoration of server BIOS Setup
CN105721206A (en) * 2016-01-29 2016-06-29 浪潮电子信息产业股份有限公司 Method for setting BMC (Baseboard Management Controller) network parameters to take effect immediately in BIOS
CN105824652A (en) * 2015-01-08 2016-08-03 深圳市祈飞科技有限公司 Method and system for directly changing BIOS settings in operating system
CN106648732A (en) * 2016-09-27 2017-05-10 郑州云海信息技术有限公司 DOS-based extraction and modification method for BIOS
CN107632864A (en) * 2017-09-14 2018-01-26 南京百敖软件有限公司 A kind of method for the UEFI Boot Order for establishing particular sorted
CN108089872A (en) * 2017-12-19 2018-05-29 联想(北京)有限公司 Obtain method, data-updating method and electronic equipment that BIOS is updated the data
CN109117195A (en) * 2018-07-27 2019-01-01 郑州云海信息技术有限公司 A kind of method, device and equipment of UEFI mode adjustment boot sequence
CN109117640A (en) * 2018-07-27 2019-01-01 郑州云海信息技术有限公司 A kind of BIOS Write-protection method, device, equipment and storage medium
CN109656627A (en) * 2018-12-18 2019-04-19 广东浪潮大数据研究有限公司 Starting method, activation system and the relevant apparatus of hard disk in a kind of BIOS
CN109857466A (en) * 2018-11-29 2019-06-07 新华三技术有限公司 BIOS collocation method, device, server and computer readable storage medium
CN110888677A (en) * 2019-08-16 2020-03-17 研祥智能科技股份有限公司 Method and device for adjusting computer starting sequence
CN111124508A (en) * 2019-11-29 2020-05-08 苏州浪潮智能科技有限公司 Method and device for adjusting PXE (PCI extensions for instrumentation) starting sequence of network card
CN111367811A (en) * 2020-03-12 2020-07-03 山东超越数控电子股份有限公司 Method and system for improving debugging efficiency of management webpage of BMC
CN111966415A (en) * 2020-08-20 2020-11-20 山东超越数控电子股份有限公司 Method for modifying starting item based on EEPROM
EP3761168A1 (en) * 2019-07-01 2021-01-06 Quanta Computer Inc. Method and system for remote selection of boot device
CN112506574A (en) * 2020-12-03 2021-03-16 浪潮电子信息产业股份有限公司 Method for modifying BIOS configuration options in ARM server based on CentOS in-band
CN113517996A (en) * 2021-03-26 2021-10-19 山东英信计算机技术有限公司 Network card equipment polling method, system and related device
CN113849239A (en) * 2021-09-29 2021-12-28 超越科技股份有限公司 Method and medium for remotely modifying BIOS starting item by server

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183972A (en) * 2007-11-16 2008-05-21 中兴通讯股份有限公司 Method for remote control startup of server
CN102244591A (en) * 2010-05-10 2011-11-16 鸿富锦精密工业(深圳)有限公司 Client server and method for full process monitoring on function text of client server
US20120011402A1 (en) * 2010-07-07 2012-01-12 Inventec Corporation Method for testing server supporting intelligent platform management interface

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183972A (en) * 2007-11-16 2008-05-21 中兴通讯股份有限公司 Method for remote control startup of server
CN102244591A (en) * 2010-05-10 2011-11-16 鸿富锦精密工业(深圳)有限公司 Client server and method for full process monitoring on function text of client server
US20120011402A1 (en) * 2010-07-07 2012-01-12 Inventec Corporation Method for testing server supporting intelligent platform management interface

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103777969A (en) * 2012-10-19 2014-05-07 阿里巴巴集团控股有限公司 Server parameter deploying method and device with no need for restarting
CN103777969B (en) * 2012-10-19 2017-04-12 阿里巴巴集团控股有限公司 Server parameter deploying method and device with no need for restarting
CN104423974A (en) * 2013-08-20 2015-03-18 崴方科技股份有限公司 On-line BIOS automatic modification method
CN103593250A (en) * 2013-11-19 2014-02-19 浪潮电子信息产业股份有限公司 Realizing method for modifying BIOS Setup option out of band
CN105824652A (en) * 2015-01-08 2016-08-03 深圳市祈飞科技有限公司 Method and system for directly changing BIOS settings in operating system
CN104932922A (en) * 2015-06-18 2015-09-23 浪潮电子信息产业股份有限公司 Method and device for regulating boot sequence of SAS (Serial Attached SCSI) card hard disk
CN104951342A (en) * 2015-06-18 2015-09-30 浪潮电子信息产业股份有限公司 Method and device for adjusting starting sequence
CN105005471A (en) * 2015-06-24 2015-10-28 北京百度网讯科技有限公司 Method, device, server and system for modifying configuration parameters of BIOS
CN105302621A (en) * 2015-12-09 2016-02-03 浪潮电子信息产业股份有限公司 Method for remotely achieving initial value restoration of server BIOS Setup
CN105721206A (en) * 2016-01-29 2016-06-29 浪潮电子信息产业股份有限公司 Method for setting BMC (Baseboard Management Controller) network parameters to take effect immediately in BIOS
CN106648732A (en) * 2016-09-27 2017-05-10 郑州云海信息技术有限公司 DOS-based extraction and modification method for BIOS
CN107632864A (en) * 2017-09-14 2018-01-26 南京百敖软件有限公司 A kind of method for the UEFI Boot Order for establishing particular sorted
CN107632864B (en) * 2017-09-14 2020-04-17 南京百敖软件有限公司 Method for establishing UEFI Boot Order of specific ordering
CN108089872A (en) * 2017-12-19 2018-05-29 联想(北京)有限公司 Obtain method, data-updating method and electronic equipment that BIOS is updated the data
CN109117640A (en) * 2018-07-27 2019-01-01 郑州云海信息技术有限公司 A kind of BIOS Write-protection method, device, equipment and storage medium
CN109117195B (en) * 2018-07-27 2021-10-15 郑州云海信息技术有限公司 Method, device and equipment for adjusting starting sequence of UEFI (unified extensible firmware interface) mode
CN109117195A (en) * 2018-07-27 2019-01-01 郑州云海信息技术有限公司 A kind of method, device and equipment of UEFI mode adjustment boot sequence
CN109857466A (en) * 2018-11-29 2019-06-07 新华三技术有限公司 BIOS collocation method, device, server and computer readable storage medium
CN109656627A (en) * 2018-12-18 2019-04-19 广东浪潮大数据研究有限公司 Starting method, activation system and the relevant apparatus of hard disk in a kind of BIOS
EP3761168A1 (en) * 2019-07-01 2021-01-06 Quanta Computer Inc. Method and system for remote selection of boot device
CN110888677A (en) * 2019-08-16 2020-03-17 研祥智能科技股份有限公司 Method and device for adjusting computer starting sequence
CN110888677B (en) * 2019-08-16 2024-03-22 研祥智慧物联科技有限公司 Method and device for adjusting starting sequence of computer
CN111124508A (en) * 2019-11-29 2020-05-08 苏州浪潮智能科技有限公司 Method and device for adjusting PXE (PCI extensions for instrumentation) starting sequence of network card
CN111367811B (en) * 2020-03-12 2023-08-08 超越科技股份有限公司 Method and system for improving BMC management webpage debugging efficiency
CN111367811A (en) * 2020-03-12 2020-07-03 山东超越数控电子股份有限公司 Method and system for improving debugging efficiency of management webpage of BMC
CN111966415A (en) * 2020-08-20 2020-11-20 山东超越数控电子股份有限公司 Method for modifying starting item based on EEPROM
CN112506574A (en) * 2020-12-03 2021-03-16 浪潮电子信息产业股份有限公司 Method for modifying BIOS configuration options in ARM server based on CentOS in-band
CN113517996A (en) * 2021-03-26 2021-10-19 山东英信计算机技术有限公司 Network card equipment polling method, system and related device
CN113517996B (en) * 2021-03-26 2024-03-26 山东英信计算机技术有限公司 Network card equipment polling method, system and related device
CN113849239A (en) * 2021-09-29 2021-12-28 超越科技股份有限公司 Method and medium for remotely modifying BIOS starting item by server

Similar Documents

Publication Publication Date Title
CN102999362A (en) Method for modifying sequence of boot options of basic input/output system (BIOS)
CN103412769B (en) External card parameter configuration, equipment and system
US8521929B2 (en) Virtual serial port management system and method
US10768827B2 (en) Performance throttling of virtual drives
US20130198730A1 (en) Update systems responsive to ongoing processing at a storage system
CN103842968B (en) A kind of moving method of internal storage data, computing machine and device
CN104750378B (en) The input pattern automatic switching method and device of input method
US9083653B2 (en) Automated cloud set up
CN103699372A (en) Booting a computer system from central storage
CN103761088A (en) Multiple operation system switching method applicable to ARM (advanced risc machine) framework mobile equipment
CN110879712A (en) Cloud data center physical host installation method and related device
EP3637252A1 (en) Virtual machine deployment method and omm virtual machine
CN103744708A (en) Method of fixing disk device names in Linux operating system
CN109672722B (en) Data deployment method and device, computer storage medium and electronic equipment
CN101944129A (en) Diskless system, workstation thereof, and building method of local root file by workstation
CN103942088B (en) A kind of method for obtaining virtual machine USB storage device service condition
CN104268241A (en) Attribute display method in configuration database
CN110209654A (en) A kind of text file data storage method, system and electronic equipment and storage medium
CN103744710A (en) Installation method and system of operating systems
CN104932933A (en) Spin lock acquisition method and apparatus
CN105389190A (en) Operating system starting method, apparatus and system
CN104199693A (en) Method, device and terminal for obtaining boot time
CN105468390A (en) BOOT online upgrade apparatus and method
CN110609710A (en) Android system starting speed control method, intelligent device and storage medium
US20070233815A1 (en) Initialization picture displaying method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130327

WD01 Invention patent application deemed withdrawn after publication