Movatterモバイル変換


[0]ホーム

URL:


CN107463388B - UEFI diskless starting method - Google Patents

UEFI diskless starting method
Download PDF

Info

Publication number
CN107463388B
CN107463388BCN201710859704.8ACN201710859704ACN107463388BCN 107463388 BCN107463388 BCN 107463388BCN 201710859704 ACN201710859704 ACN 201710859704ACN 107463388 BCN107463388 BCN 107463388B
Authority
CN
China
Prior art keywords
uefi
environment
boot
protocol
disk
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.)
Active
Application number
CN201710859704.8A
Other languages
Chinese (zh)
Other versions
CN107463388A (en
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.)
Chengdu Lingzhifeng Network Technology Co.,Ltd.
Original Assignee
Chengdu Lingwo Network Technology 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 Chengdu Lingwo Network Technology Co ltdfiledCriticalChengdu Lingwo Network Technology Co ltd
Priority to CN201710859704.8ApriorityCriticalpatent/CN107463388B/en
Publication of CN107463388ApublicationCriticalpatent/CN107463388A/en
Application grantedgrantedCritical
Publication of CN107463388BpublicationCriticalpatent/CN107463388B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The invention discloses a UEFI diskless starting method, which comprises the following steps: a network Boot firmware program in a UEFI environment requests a server disk mirror image service module to download a UEFI Boot loader through TFTP; executing; the UDP or TCP protocol under the UEFI PXE environment is used for communicating with a service end; providing a simulated disk drive of UEFI specification; UEFI Boot loader downloads and loads UEFI virtual disk drive; the UEFI virtual disk drive registers a virtual disk interface in a UEFI environment; and the UEFI Boot loader finds the Boot files of the operating system from the virtual disk according to the UEFI specification, and loads and executes the Boot files of the operating system. The invention not only supports the UEFI environment of the PC, but also supports the UEFI environment simulated by the iPXE, and simultaneously, the problem of open source protocol constraint does not exist.

Description

UEFI diskless starting method
Technical Field
The invention relates to a UEFI diskless starting method.
Background
Conventionally, when a PC (Personal Computer) is powered on, a preset BIOS (Basic Input Output System, a Computer boot firmware specification existing when the PC appears) program is executed, and the program is responsible for searching for a proper boot device and loading an operating System installed on the boot device. Firmware boot under UEFI (Universal Extensible Firmware Interface-the current PC default new computer boot Firmware specification) specification becomes the current factory default setting for the PC. The diskless development also follows the trend, and the development is changed from the original support of only BIOS boot to the support of UEFI boot at the same time.
Diskless systems, broadly referred to as local area networks, are comprised of diskless workstations. Compared with a common PC, the diskless workstation can start and run an operating system without any external memory (such as a floppy disk drive, a hard disk, an optical disk and the like) support. To support such a network architecture, a specialized software system is required, which becomes one of the components of the overall diskless system.
In order to support UEFI boot, in the prior art, an open source software iPXE (an open source support diskless firmware boot program) code is used for modification, and the UEFI environment is self-contained in the iPXE source code instead of the UEFI environment provided by the PC. However, this prior art has the following problems: boot loader used by the diskless Boot operating system is a UEFI environment simulated by an iPX, is not a UEFI environment provided by a PC (personal computer) and is based on an open source software iPX, and does not comply with open source protocol rules (such as authorization or source code disclosure).
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a UEFI diskless starting method.
The purpose of the invention is realized by the following technical scheme: a UEFI diskless boot method comprises the following steps:
the method comprises the steps that when a client is started, a UEFI network boot environment is entered;
a network Boot firmware program in a UEFI environment acquires an IP address through a DHCP, and requests a server disk mirror image service module to download a UEFI Boot loader through a TFTP;
executing the downloaded Boot loader in the UEFI environment;
after the Boot loader is executed, acquiring PXE environment and network card software and hardware information of a local computer, and communicating with a service end by using UDP (user datagram protocol) or TCP (transmission control protocol) under UEFI (unified extensible firmware interface) PXE environment;
after the Boot loader of the UEFI finishes the auxiliary work, the operating system is to be guided; under the UEFI environment, a simulated disk drive of a UEFI specification is required to be provided, and the disk drive at least needs to realize an EFI _ BLOCK _ IO _ PROTOCOL PROTOCOL and an EFI _ BLOCK _ IO2_ PROTOCOL PROTOCOL specified by the UEFI specification; before booting, the UEFI Boot loader downloads and loads a UEFI virtual disk drive from a server disk mirror image service module through a network;
the UEFI virtual disk drive registers a virtual disk interface in a UEFI environment, and then the reading and writing of the disk are performed from a server disk mirror image service module through a network by using a UDP (user datagram protocol) or TCP (transmission control protocol) protocol provided by the UEFI environment;
the UEFI Boot loader finds the Boot files of the operating system from the virtual disk according to the UEFI specification, and loads and executes the Boot files of the operating system;
and the UEFI operating system loads the core and the driver according to the built-in flow and continues to execute.
Furthermore, the server disk image service module is also used for providing the reading and writing of the disk image and the management of the image restore point.
The invention has the beneficial effects that: the invention aims to deeply understand UEFI specification, and combines the prior diskless technology to realize a UEFI diskless starting scheme of an autonomous technology, wherein a Boot loader uses a UEFI environment of a PC, and a network protocol used by the Boot loader is also provided by the UEFI environment of the PC; the problem that the USB flash drive cannot be started without a disk under the UEFI environment is solved, namely the UEFI environment of the PC is supported, the UEFI environment of iPXE simulation is also supported, and meanwhile, the problem of open source protocol constraint does not exist.
Drawings
FIG. 1 is a flow chart of the method of the present invention.
Detailed Description
The technical scheme of the invention is further described in detail by combining the attached drawings:
the embodiment needs the following modules to cooperate together to realize:
the server-side disk mirror image service module is used for reading and writing a disk mirror image and managing a mirror image recovery point;
the UEFI Boot loader at the client is responsible for identifying a UEFI environment, guiding an operating system of a UEFI version and reading and writing a disk image before loading the kernel of the operating system;
UEFI virtual disk drive.
As shown in fig. 1, a UEFI diskless boot method includes the following steps:
the method comprises the steps that when a client is started, a UEFI network boot environment is entered;
a network Boot firmware program in a UEFI environment acquires an IP address through a DHCP, and requests a server disk mirror image service module to download a UEFI Boot loader through a TFTP;
executing the downloaded Boot loader in the UEFI environment;
after the Boot loader is executed, acquiring PXE environment and network card software and hardware information of a local computer, and communicating with a service end by using UDP (user datagram protocol) or TCP (transmission control protocol) under UEFI (unified extensible firmware interface) PXE environment;
after the Boot loader of the UEFI finishes the auxiliary work, the operating system is to be guided; reporting a virtual disk through a hook INT 13 under the traditional BIOS environment, and converting disk reading and writing into network reading and writing; in the UEFI environment, a simulated disk drive of the UEFI specification needs to be provided, where the disk drive needs to at least implement the EFI _ BLOCK _ IO _ progress PROTOCOL and the EFI _ BLOCK _ IO2_ progress PROTOCOL specified in the UEFI specification (iPXE implements a simplified UEFI environment, and the disk drive completely complies with the UEFI specification and also supports the UEFI environment of the iPXE); therefore, before booting, the UEFI Boot loader downloads and loads a UEFI virtual disk drive from a server disk mirror image service module through a network;
the UEFI virtual disk drive registers a virtual disk interface in a UEFI environment, and then the reading and writing of the disk are performed from a server disk mirror image service module through a network by using a UDP (user datagram protocol) or TCP (transmission control protocol) protocol provided by the UEFI environment;
the UEFI Boot loader finds the Boot files of the operating system from the virtual disk according to the UEFI specification, and loads and executes the Boot files of the operating system;
and the UEFI operating system loads the core and the driver according to the built-in flow and continues to execute.
While the present invention has been described by way of examples, and not by way of limitation, other variations of the disclosed embodiments, as would be readily apparent to one of skill in the art, are intended to be within the scope of the present invention, as defined by the claims.

Claims (2)

CN201710859704.8A2017-09-212017-09-21UEFI diskless starting methodActiveCN107463388B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201710859704.8ACN107463388B (en)2017-09-212017-09-21UEFI diskless starting method

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201710859704.8ACN107463388B (en)2017-09-212017-09-21UEFI diskless starting method

Publications (2)

Publication NumberPublication Date
CN107463388A CN107463388A (en)2017-12-12
CN107463388Btrue CN107463388B (en)2021-01-01

Family

ID=60553041

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201710859704.8AActiveCN107463388B (en)2017-09-212017-09-21UEFI diskless starting method

Country Status (1)

CountryLink
CN (1)CN107463388B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109614156B (en)*2018-12-262021-10-15贵州华芯通半导体技术有限公司Method, device and system for supporting driving of starting type external equipment
CN110162341A (en)*2019-05-162019-08-23济南浪潮高新科技投资发展有限公司A kind of more activation systems and method of UEFI guidance system
CN111371610A (en)*2020-02-292020-07-03苏州浪潮智能科技有限公司 A network card firmware batch refresh method, system, terminal and storage medium
CN113535241B (en)*2020-04-212024-05-03中兴通讯股份有限公司Diskless starting method, diskless starting device, terminal equipment and storage medium
CN112068892A (en)*2020-09-042020-12-11杭州雾联科技有限公司Diskless workstation starting method based on UEFI technology
CN112506534B (en)*2020-12-172024-08-13武汉噢易云计算股份有限公司Method and system for starting qcow2 format system mirror image by physical machine
CN112631666B (en)*2020-12-292023-01-31杭州雾联科技有限公司Diskless starting method for booting hard disk starting adapter card
CN115080124B (en)*2021-03-122025-08-01龙芯中科(西安)科技有限公司Driving method and device of GMAC network card in UEFI framework
CN113805953A (en)*2021-09-242021-12-17深圳忆联信息系统有限公司UEFI environment deployment implementation method and device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101166116A (en)*2006-07-252008-04-23辉达公司System and method for operating system installation on a diskless computing platform
CN101794235A (en)*2010-03-052010-08-04中国人民解放军国防科学技术大学Diskless computer starting method based on operating system network drive
CN106911729A (en)*2015-12-222017-06-30中电科技(北京)有限公司A kind of operating system remote installation method suitable for domestic processor
CN107045448A (en)*2016-02-052017-08-15广达电脑股份有限公司Method and server for remotely starting deployment program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103376868A (en)*2012-04-192013-10-30鸿富锦精密工业(武汉)有限公司Power adapter identification system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101166116A (en)*2006-07-252008-04-23辉达公司System and method for operating system installation on a diskless computing platform
CN101794235A (en)*2010-03-052010-08-04中国人民解放军国防科学技术大学Diskless computer starting method based on operating system network drive
CN106911729A (en)*2015-12-222017-06-30中电科技(北京)有限公司A kind of operating system remote installation method suitable for domestic processor
CN107045448A (en)*2016-02-052017-08-15广达电脑股份有限公司Method and server for remotely starting deployment program

Also Published As

Publication numberPublication date
CN107463388A (en)2017-12-12

Similar Documents

PublicationPublication DateTitle
CN107463388B (en)UEFI diskless starting method
CN103324498B (en)Method and equipment for booting bare metal computing device
CN103746833B (en)PXE-based RAID automatic configuration method and system
CN101794235B (en)Diskless computer starting method based on operating system network drive
US7490267B2 (en)System and method for testing computer
CN111433747B (en)Virtual memory for loading operating systems
US10747523B2 (en)Methods of updating firmware components, computer systems and memory apparatus
CN104035876A (en)Method for implementing LINPACK cluster test in IB network environment based on PXE, SHELL and EXPECT
US20190205109A1 (en)Computer system, baseboard management controller, and os installation method
US10127050B2 (en)Efficient booting system
CN113342365A (en)Operating system deployment method, device, equipment and computer-readable storage medium
WO2017020460A1 (en)Method and apparatus for integrating plugin
CN109471665B (en)Method for automatically installing Windows operating system
WO2017201564A1 (en)Wipedrive native apple netbooting
CN106487524A (en)The method of remote opening
CN113868128B (en)Method and device for testing PXE (PCI express) guide function and storage medium
WO2023226670A1 (en)Esim firmware upgrade method and apparatus, and device and medium
KR20220043293A (en)Method and apparatus for automatically installing operating system in an environment of network
CN110716753A (en)Cloud host initialization method and device, storage medium and electronic equipment
KR100463838B1 (en)Method for downloading and supporting nfs for uia boot loader
CN114860336B (en)System auditing mode implementation method based on PXE and electronic equipment
Ruiz et al.Embedded Systems
CN102455920A (en)Remote firmware updating method
CN119201148A (en) A dual-system automatic installation method and device
Zhang et al.Implementation of embedded Linux based on PC/104 platform

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
TR01Transfer of patent right

Effective date of registration:20230914

Address after:Room 704, 7th Floor, Block B, No. 199 Tianfu Third Street, Chengdu High tech Zone, China (Sichuan) Pilot Free Trade Zone, Chengdu City, Sichuan Province, 610041

Patentee after:Chengdu Lingzhifeng Network Technology Co.,Ltd.

Address before:4 / F, building 1, No. 1480, North Tianfu Avenue, Chengdu hi tech Zone, China (Sichuan) pilot Free Trade Zone, Chengdu, Sichuan 610041

Patentee before:CHENGDU LINGWO NETWORK TECHNOLOGY CO.,LTD.

TR01Transfer of patent right

[8]ページ先頭

©2009-2025 Movatter.jp