Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux_wiki:os_install_pxe_boot [2016/02/02 23:12] billdozor [Create PXE Content] |
linux_wiki:os_install_pxe_boot [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 5: | Line 5: | ||
In order to install an OS via PXE boot, a TFTP and DHCP server are required.\\ | In order to install an OS via PXE boot, a TFTP and DHCP server are required.\\ | ||
Using PXE allows for clients to begin a network installation without any net-install ISO. | Using PXE allows for clients to begin a network installation without any net-install ISO. | ||
+ | |||
+ | * Reference Source: http:// | ||
**Checklist** | **Checklist** | ||
- | * Distro: Enterprise Linux 7 | + | * Distro(s): Enterprise Linux 7 |
- | * Installation Server Created (NFS/ | + | * Other: |
+ | * Example: Using [[linux_wiki: | ||
---- | ---- | ||
Line 38: | Line 41: | ||
range 192.168.1.240 192.168.1.250 ; | range 192.168.1.240 192.168.1.250 ; | ||
next-server 192.168.1.150 ; | next-server 192.168.1.150 ; | ||
- | filename "pxelinux/pxelinux.0" | + | filename " |
} | } | ||
</ | </ | ||
Line 57: | Line 60: | ||
* Install a required package< | * Install a required package< | ||
- | * Create the PXE Linux directory structure< | ||
- | * Copy the pxelinux.0 data file< | ||
- | * Create the PXE Linux default config file< | ||
- | default | + | * Create the PXE Linux directory structure< |
- | prompt | + | mkdir / |
- | timeout | + | |
- | display | + | * Copy the pxelinux.0 data file< |
+ | |||
+ | * Create the PXE Linux default config file (replace '< | ||
+ | |||
+ | default menu.c32 | ||
+ | prompt | ||
+ | timeout | ||
+ | |||
+ | menu title ########## PXE Boot Menu ########## | ||
+ | label 1 | ||
+ | menu label ^1) Install CentOS 7.2 x86-64 | ||
+ | kernel centos7/ | ||
+ | append initrd=centos7/ | ||
+ | </ | ||
+ | * PXE Boot Menu Reference Source: https:// | ||
+ | |||
+ | * To include a splash image when doing PXE, copy the image from the local system< | ||
+ | |||
+ | * Copy the files (images/ | ||
+ | cp / | ||
+ | cp / | ||
- | label CentOS7 | ||
- | menu label ^Install CentOS 7.2 | ||
- | menu default | ||
- | kernel vmlinuz | ||
- | append initrd=initrd.img</ | ||
- | * To include a splash image when doing PXE, copy the image from the local system< | ||
- | * Copy the files (images/ | ||
- | cp / | ||
- | cp / | ||
* Restart dhcpd and xinetd< | * Restart dhcpd and xinetd< | ||
systemctl restart xinetd</ | systemctl restart xinetd</ | ||
Line 81: | Line 92: | ||
**The system is now ready to accept incoming PXE boot requests.** | **The system is now ready to accept incoming PXE boot requests.** | ||
- | / | + | / |
- | * initrd.img | + | * centos7 (directory) |
- | * pxelinux.0 | + | * pxelinux.0 |
* pxelinux.cfg (directory) | * pxelinux.cfg (directory) | ||
- | * splash.xpm.gz | + | * splash.xpm.gz |
- | * vmlinuz | + | |
+ | / | ||
+ | * initrd.img (centos 7 initrd) | ||
+ | * vmlinuz | ||
- | / | + | / |
- | * default | + | * default |
---- | ---- | ||