qianhanxu 发表于 2020-7-25 10:54:01

看看

gulang3221 发表于 2020-10-9 23:49:33

支持

4go 发表于 2021-8-8 18:07:26

查看本帖隐藏内容

未完成的歌 发表于 2022-1-8 12:50:49

And the dnsmasq.confg is also working on bios, you just had a little typo on (l)pxelinux.0. I have no "Legacy UEFI" syslinux32 machines, so no ideia if that's working. Config is:

dhcp-match=set:bios,option:client-arch,0
dhcp-match=set:efi32,option:client-arch,6
dhcp-match=set:efi64,option:client-arch,7
dhcp-match=set:efi64,option:client-arch,9
dhcp-boot=tag:bios,pxelinux.0
dhcp-boot=tag:efi32,syslinux32.efi
dhcp-boot=tag:efi64,grubnetx64.efi.signed

未完成的歌 发表于 2022-1-8 12:54:05

本帖最后由 未完成的歌 于 2022-1-8 12:55 编辑

Add to /etc/dnsmasq.conf:
dhcp-match=set:bios,option:client-arch,0
dhcp-match=set:efi32,option:client-arch,6
dhcp-match=set:efi64,option:client-arch,7
dhcp-boot=tag:bios,lpxelinux.0
dhcp-boot=tag:efi32,syslinux32.efi
dhcp-boot=tag:efi64,syslinux64.efiOr with external TFTP server:
dhcp-boot=tag:bios,lpxelinux.0,external-tftp-server.lan,10.10.10.10
dhcp-boot=tag:efi32,syslinux32.efi,external-tftp-server.lan,10.10.10.10
dhcp-boot=tag:efi64,syslinux64.efi,external-tftp-server.lan,10.10.10.101https://www.kernel.org/pub/linux/utils/ … .03.tar.gzThese files for BIOS PXE boot with boot menu:
bios/com32/elflink/ldlinux/ldlinux.c32
bios/com32/lib/libcom32.c32
bios/com32/libutil/libutil.c32
bios/com32/menu/menu.c32
bios/com32/menu/vesamenu.c32
bios/core/lpxelinux.0
bios/memdisk/memdiskUEFI PXE IA32 files:
efi32/com32/elflink/ldlinux/ldlinux.e32
efi32/efi/syslinux.efiUEFI PXE x64 files:
efi64/com32/elflink/ldlinux/ldlinux.e64
efi64/efi/syslinux.efiBoot menu config file in TFTP root:
pxelinux.cfg/defaultUI vesamenu.c32
TIMEOUT 80
TOTALTIMEOUT 9000

MENU WIDTH 64
MENU MARGIN 2
MENU ROWS 15
MENU TITLE PXE Boot MENU
#MENU BACKGROUND background.png
MENU AUTOBOOT Starting Local System in # seconds
MENU COLOR border 0 #ffffffff #ee000000 std
MENU COLOR title 0 #ffffffff #ee000000 std
MENU COLOR sel 5 #f0f0f00f #8500f000 std
MENU COLOR unsel 0 #ffffffff #ee000000 std
MENU COLOR pwdheader 0 #ff000000 #99ffffff rev
MENU COLOR pwdborder 0 #ff000000 #99ffffff rev
MENU COLOR pwdentry 0 #ff000000 #99ffffff rev
MENU COLOR hotkey 0 #ff00ff00 #ee000000 std
MENU COLOR hotsel 0 #f0f0f00f #85000000 std

LABEL local
MENU DEFAULT
MENU LABEL ^Boot from Local Hard Disk
LOCALBOOT 0

LABEL installdebian
MENU LABEL ^Install Debian amd64
KERNEL http://d-i.debian.org/daily-images/amd64/daily/netboot/debian-installer/amd64/linux
APPEND vga=788 url=http://10.10.10.10/debian-preseed.cfg locale=en_US keymap=fi hostname=debian domain=lan --
INITRD http://d-i.debian.org/daily-images/amd64/daily/netboot/debian-installer/amd64/initrd.gz

LABEL ubuntu
MENU LABEL Boot ^Ubuntu Server from NFS
KERNEL http://10.10.10.10/boot/ubuntu/vmlinuz
APPEND root=/dev/nfs nfsroot=10.10.10.10:/volume3/nfsroot/ubuntu ip=dhcp rw --
INITRD http://10.10.10.10/boot/ubuntu/initrd.img

LABEL systemrescuecd
MENU LABEL ^SystemRescueCd
KERNEL http://10.10.10.10/boot/systemrescue/rescue32
APPEND setkmap=fi rootpass=notsecure netboot=http://10.10.10.10/boot/systemrescue/sysrcd.dat ethx=10.10.10.99/24 dns=10.10.10.10 gateway=10.10.10.10
INITRD http://10.10.10.10/boot/systemrescue/initram.igz

LABEL dos
MENU LABEL Free^DOS
KERNEL memdisk
APPEND initrd=bootdisks/freedos.img # from default TFTP server

未完成的歌 发表于 2022-1-8 13:09:48

LABEL ubuntu-18.04.3-desktop-amd64
MENU LABEL Ubuntu 18.04.3 Desktop
KERNEL ubuntu-18.04.3-desktop-amd64/vmlinuz.efi
APPEND initrd=ubuntu-18.04.3-desktop-amd64/initrd.lz boot=casper netboot=nfs nfsroot=192.168.0.1:/srv/nfs4/ubuntu-18.04.3-desktop-amd64 splash --

LABEL winpe32
MENU LABEL Windows PE 32bit
KERNEL memdisk
INITRD winpe10/winpe32.iso
APPEND iso raw

LABEL winpe64
MENU LABEL Windows PE 64bit
KERNEL memdisk
INITRD winpe10/winpe64.iso
APPEND iso raw

LABEL hdd
MENU LABEL Boot from hard drive
LOCALBOOT 0

未完成的歌 发表于 2022-1-8 13:10:56

enable-tftp
tftp-lowercase
dhcp-no-override
tftp-root=/mnt/sda1/pxeboot
dhcp-match=set:iPXE,175
dhcp-vendorclass=set:flag,PXEClient:Arch:00000
dhcp-vendorclass=set:flag,PXEClient:Arch:00006
dhcp-vendorclass=set:flag,PXEClient:Arch:00007
dhcp-vendorclass=set:flag,PXEClient:Arch:00009
tag-if=set:load,tag:!iPXE,tag:flag
pxe-prompt="Press F8 or Enter key for PXE menu.", 5
#BIOS MENU
pxe-service=tag:load,X86PC, "BIOS ipxe undionly", undionly.kpxe
pxe-service=tag:load,X86PC, "BIOS ipxe.pxe", ipxe.pxe
pxe-service=tag:load,X86PC, "BIOS Microsoft PXE", pxeboot.n12
pxe-service=tag:load,X86PC, "boot from local", 0
#UEFI MENU
pxe-service=tag:load,IA32_EFI, "Microsoft UEFI (IA32_EFI)", bootia32.efi
pxe-service=tag:load,X86-64_EFI, "Microsoft UEFI (X86-64_EFI)", bootx64.efi
pxe-service=tag:load,BC_EFI, "Microsoft UEFI(BC-EFI)", bootx64.efi
pxe-service=tag:load,6, "iPXE snponly UEFI32(6)", snponly32.efi
pxe-service=tag:load,7, "iPXE snponly UEFI(7)", snponly.efi
pxe-service=tag:load,9, "iPXE snponly UEFI(9)", snponly.efi
pxe-service=tag:load,06,"iPXE UEFI32(06)", ipxe32.efi
pxe-service=tag:load,07,"iPXE UEFI(07)", ipxe.efi
pxe-service=tag:load,09,"iPXE UEFI(09)", ipxe.efi
dhcp-boot=tag:iPXE,ipxemenu.txt

pls 发表于 2022-1-8 16:20:04

未完成的歌 发表于 2022-1-8 13:10


请问老同志有最新Servers Ultimate的破解版吗?

nianyueriPE 发表于 2022-1-9 21:22:09

谢谢分享
页: 1 [2]
查看完整版本: 分享一款运行在安卓手机上的PXE服务器软件