- Download syslinux from http://www.kernel.org/pub/linux/utils/boot/syslinux/
- Extract bios\core\pxelinux.0 bios\com32\menu\vesamenu.c32 and bios\com32\chain\chain.c32 from the syslinux download and put it on your WDS server in $WDS-ROOT\Boot\x64\(substitute WDS-ROOT for where your WDS root folder is)
- Extract additional modules such as bios\com32\lib\ldlinux.c32, bios\com32\lib\libcom32.c32 , bios\com32\cmenu\libmenu\libmenu.c32, bios\com32\libutil\libutil.c32, bios\com32\lua\src\liblua.c32, bios\com32\gpllib\libgpl.c32. See also ELF missing dependencies
- Rename/copy pxelinux.0 to pxelinux.com, abortpxe.com to abortpxe.0 and pxeboot.n12 to pxeboot.0
- Create a folder named pxelinux.cfg in the $WDS-ROOT\Boot\x64\ folder
- Create a folder named Linux (in the $WDS-ROOT\Boot\x86\ and $WDS-ROOT\Boot\x64\ folder)
- Run in cmd
wdsutil /set-server /N12bootprogram:boot\x64\pxelinux.com /architecture:x64
Will use NFS for serving the installation files
- Install NFS, create and share folder $WDS-ROOT\Boot\x64\Linux
- Copy your linux distro installation files (in my case ubuntu 24.04) to this folder (create Linux\ubuntu24 folder). I tried before the same with Ubuntu 22.10 but i couldn't make it to boot successfully - an error "no media filesystem found" or something like that.
- Create default file in the pxelinux.cfg folder:
DEFAULT vesamenu.c32
PROMPT 0
MENU TITLE PXE Boot Menu
MENU INCLUDE pxelinux.cfg/graphics.conf
MENU AUTOBOOT Starting Local System in 8 seconds
# Option 1 - Exit PXE Linux & boot normally
LABEL bootlocal
menu label ^Boot Normally
menu default
localboot 0
timeout 80
TOTALTIMEOUT 9000
# Option 2 - Run WDS
LABEL WDS (WORKING)
MENU LABEL ^Windows Deployment Services
KERNEL pxeboot.0
#--
Label UBUNTU
menu label Ubuntu 24.04 Install NFS
kernel /Linux/ubuntu24/casper/vmlinuz
append nfsroot=10.0.0.240:/Linux/ubuntu24 netboot=nfs ip=dhcp boot=casper initrd=/Linux/ubuntu24/casper/initrd
# Option 3 - Exit PXE Linux
LABEL Abort
MENU LABEL E^xit
KERNEL abortpxe.0Sources:
Finally, didn't make it to boot with UEFI, even though i found one source claiming that it is possible
No comments:
Post a Comment