Tftp+syslinux 6.x Building PXE system (EFI mode supported)

Source: Internet
Author: User

Tftp+syslinux 6.x Building PXE system (EFI mode supported):

Apt-get Install Tftpd-hpaapt-get install make Gccapt-get install NASM uuid-devwget https://www.kernel.org/pub/linux/ Utils/boot/syslinux/syslinux-6.03.tar.gztar ZXFV syslinux-6.03.tar.gzcd Syslinux-6.03makemake Install

Non-EFI:

MKDIR/VAR/LIB/TFTPBOOT/BIOSCP-RV SYSLINUX-6.03/BIOS/CORE/PEXLINUX.0/VAR/LIB/TFTPBOOT/BIOS/CP-RV syslinux-6.03/ BIOS/COM32/ELFLINK/LDLINUX/LDLINUX.C32/VAR/LIB/TFTPBOOT/BIOS/CP-RV SYSLINUX-6.03/BIOS/COM32/LIB/LIBCOM32.C32/ VAR/LIB/TFTPBOOT/BIOS/CP-RV SYSLINUX-6.03/BIOS/COM32/LIBUTIL/LIBUTIL.C32/VAR/LIB/TFTPBOOT/BIOS/CP-RV SYSLINUX-6.03/BIOS/COM32/MENU/VESAMENU.C32/VAR/LIB/TFTPBOOT/BIOS/CP-RV syslinux-6.03/bios/com32/modules/ Pxechn.c32/var/lib/tftpboot/bios/mkdir/var/lib/tftpboot/bios/pxelinux.cfgvi/var/lib/tftpboot/bios/pxelinux.cfg /default

DEFAULT VESAMENU.C32
TIMEOUT 0
OnTimeOut bootlocal
PROMPT 0
Menu TITLE PXE Menu
Noescape 1

LABEL 1. Ubt14043-sda
Kernel Tftp://10.0.0.2/images/ubt14043-x86_64/linux
Append initrd=tftp://10.0.0.2/images/ubt14043-x86_64/initrd.gz ksdevice=bootif lang= Locale=en_US priority=critical Netcfg/choose_interface=em1 netcfg/dhcp_timeout=120 url=tftp://10.0.0.2/preseeds/ubt14043_sda.seed hostname= ShandtestG8 domain=spreadtrum.com
Endtext
: Wq

Mkdir/var/lib/tftpboot/preseeds (This directory has the Ubuntu seed file delegated)

DHCP pointing to file bios/pxelinux.0

Efi:

MKDIR/VAR/LIB/TFTPBOOT/EFI64CP-RV SYSLINUX-6.03/EFI64/EFI/SYSLINUX.EFI/VAR/LIB/TFTPBOOT/EFI64/CP-RV SYSLINUX-6.03/EFI64/COM32/ELFLINK/LDLINUX/LDLINUX.C32/VAR/LIB/TFTPBOOT/EFI64/CP-RV syslinux-6.03/efi64/com32/ LIB/LIBCOM32.C32/VAR/LIB/TFTPBOOT/EFI64/CP-RV syslinux-6.03/efi64/com32/libutil/libutil.c32/var/lib/tftpboot/ EFI64/CP-RV SYSLINUX-6.03/EFI64/COM32/MENU/VESAMENU.C32/VAR/LIB/TFTPBOOT/EFI6/CP-RV syslinux-6.03/efi64/com32/ modules/pxechn.c32/var/lib/tftpboot/efi64/cp-rv/var/lib/tftpboot/bios/pxelinux.cfg/var/lib/tftpboot/efi64/

DHCP pointing to file Efi64/pxelinux.efi

Tftp+syslinux 6.x Building PXE system (EFI mode supported)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.