当前位置:网站首页>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
边栏推荐
- Analyze the actual user groups and demand positioning of distributed database products from the market and demand
- CMU cs15-445 lecture01 relationship model course notes
- Elfk service setup
- What is the implementation of domain name to IP address conversion? What are the benefits of switching to a website?
- API service orchestration platform, full web visual orchestration
- Why do hybrid clouds exist?
- NAT
- How to change the domain name and why to rush to register the domain name
- Use of golang testing framework test
- What is the use of domain name cloud resolution? What are the factors for domain name errors
猜你喜欢

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

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

014_ TimePicker time selector

How does win10 turn off f1~f12 shortcut keys?

Leetcode question brushing (question 3) - the longest substring without repeated characters

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

011_ Cascader cascade selector

Analyzing the superiority of humanoid robot in the post human era

Hard core observation 553 AI needs to identify almost everyone in the world with hundreds of billions of photos
随机推荐
What is the implementation of domain name to IP address conversion? What are the benefits of switching to a website?
How to change the domain name and why to rush to register the domain name
What domain names do not need to be filed? Is there any process for domain name registration
PTA 1046 stroke (15 points)
[jest] summary of the use of automated test jest
What server does domain name and IP address convert through? How does the server convert?
PHP end() function
Hard core JS: there may be a memory leak in your program
CLB health check principle and abnormal troubleshooting
Analysis of PHP environment configuration
What is a top-level domain name? Is it expensive to register a domain name
How to apply for company website domain name how to build a website after domain name registration
Elfk service setup
Use of golang testing framework goshub
Cos+cdn realizes the distribution of game client version files in a faster, better and cheaper manner
Where is the cheaper domain name? What should I pay attention to when buying a domain name?
How Clickhouse queries imported data within a specified time period
Lightweight toss plan 3, develop in the browser - build your own development bucket (Part 2)
What are the functions and advantages of the Internet of things cloud platform?
What are clustering, distribution, and microservices?