当前位置:网站首页>PXE introduction and use
PXE introduction and use
2022-06-24 05:18:00 【Silent cultivator】
One 、 preface
Blackstone 2.0 Preparing clean computing resources for customers 、 In scenarios such as collecting and checking machine hardware information, you need to install one on the physical machine os, And cannot pass through the disk 、U disc 、CDROM Etc , So we can only adopt network boot installation minios, So write this article to describe PXE.
Two 、 What is? PXE
PXE(Pre-boot Execution Environment, Pre boot execution environment ) By Intel The latest technology developed by the company , Work in Client/Server Network mode of , Support workstation to download image from remote server through network , And from this support through the network to start the operating system , In the startup process , The terminal requires the server to assign IP Address , Reuse TFTP(trivial file transfer protocol) or MTFTP(multicast trivial file transfer protocol) The protocol downloads a boot package to the local memory for execution , The basic software settings of the terminal are completed by this startup software package , So as to boot the terminal operating system installed in the server in advance .
Strictly speaking ,PXE It's not an installation , It's a way of guiding . Conduct PXE A prerequisite for installation is to include a PXE Supported network cards (NIC), That is, there must be PXE Client.PXE The protocol enables the computer to start over the network . This agreement is divided into Client End sum Server End , and PXE Client On the network card ROM in . When the computer boots ,BIOS hold PXE Client Call into memory to execute , Then from PXE Client Download the files placed at the remote end to run locally through the network . function PXE The protocol needs to be set DHCP The server and TFTP The server .DHCP The server will give PXE Client( The host on which the system will be installed ) Allocate one IP Address , Because it's for PXE Client Distribute IP Address , So in configuration DHCP You need to add the corresponding PXE Set up . Besides , stay PXE Client Of ROM in , It already exists TFTP Client, Then it can go through TFTP The agreement reached TFTP Server Download the required files .
3、 ... and 、PXE Principle
1. bios load pxe rom after ,rom Medium pxe client First initiate dhcp request , The smart card acts as pxe server, In the verification message mac After the address is correct , return ip、tftp Server address 、 Boot file name
2. pxe client Immediately launch tftp request , Get the boot file , Such as pxelinux.0
3. Execute... In memory pxelinux.0, Specify the next step to request pxelinux.cfg
4. tftp Request and parse pxelinux.cfg, Get kernel and root file information , Respectively vmlinuz and initramfs, There are versions to distinguish
5. tftp Request kernel and root files , Boot in memory
Four 、PXE Who will do it
BIOS Set the boot entry for the next boot to take effect as Legacy perhaps Uefi Then restart the machine , Network cards provide different types of pxe rom,BIOS Of pxe The driver will load the corresponding pxe rom, And then to achieve PXE The process of .
5、 ... and 、 utilize PXE and KickStart Realize unattended installation of operating system
May refer to https://www.cnblogs.com/mchina/p/centos-pxe-kickstart-auto-install-os.html From master attempt
边栏推荐
- Implementation principle of Flink connector mongodb CDC
- Detailed explanation of the process after the browser enters the domain name and web address
- How to register a free website domain name
- NAT
- IBM v3700 brief configuration process
- Enterprise image warehouse
- What is a top-level domain name? Is it expensive to register a domain name
- What is a network domain name? What is the role of a domain name for an enterprise
- Fluent version control FVM
- The personal information protection law was passed today. What problems should enterprises pay attention to?
猜你喜欢

011_ Cascader cascade selector

What are the disadvantages of the free IP address replacement tool?

Leetcode (question 1) - sum of two numbers
![[leetcode daily question] push domino](/img/81/1c31e97d9a245816514bcf47c92107.jpg)
[leetcode daily question] push domino

CTF learning notes 17:iwesec file upload vulnerability-02 file name filtering bypass

Analyzing the superiority of humanoid robot in the post human era

CTF learning notes 18:iwesec file upload vulnerability-03-content-type filtering bypass

014_ TimePicker time selector

Intensive learning and application of "glory of the king" to complete the application of 7 real worlds other than human players

Analysis on the subjective enthusiasm of post-90s makers' Education
随机推荐
When remote, your resolution is lower than a × B. Some items may not be displayed on the screen
Tencent cloud installs Kedao cloud - build an exclusive private cloud disk
Implementation principle of Flink connector mongodb CDC
CTF learning notes 18:iwesec file upload vulnerability-03-content-type filtering bypass
PHP krsort() function
API service orchestration platform, full web visual orchestration
What is the domain name of the website? How much is a domain name
Deep learning NLP from RNN LSTM Gru seq2seq to attention classification and analysis
Analyzing the superiority of humanoid robot in the post human era
[Tencent cloud] new enterprise users go to the cloud & the latest discount 2022!
Bert series Roberta Albert erine detailed explanation and use learning notes
PTA 1056 sum of combinations (15 points)
Critical service failed
What domain name does not need to be filed? What should be done for domain name filing
Automatically convert local pictures to network pictures when writing articles
Build your unique online image
3 minutes to understand JSON schema
What is required for domain name filing and how to select an enterprise domain name
How to register a first level domain name what is a first level domain name
TDP members have made their debut!