[How to] PXE boot Server (compressed guide) updated 29.3.2010
expectations:
- PXE boot friendly net card / virtualbox with bridged adapter in network config (for testing)
- asus in router operation mode with active DHCP
- tested on wl500gp-1.9.2.7-d-r1222.trx after finished wengi guide
install xinetd (if you don't have)
install tftp-hpa Trivial File Transfer Protocol ServerCode:ipkg update
ipkg upgrade
ipkg install xinetd
add extra dnsmasq.conf, it will append to /etc/dnsmasq.conf during boot (thanks Sid)Code:ipkg install tftp-hpa
contents of dnsmasq.conf:Code:nano /usr/local/etc/dnsmasq.conf
asus=replece to your Host Name, 192.168.1.1=tftp server ip adress (may run outside asus for fastest transfer)Code:dhcp-boot=pxelinux.0,asus,192.168.1.1
save:
example of config files (check Attached Files i'm providing all needed files for Windows 7 PE Boot and memtest x86)Code:flashfs save && flashfs commit && flashfs enable && reboot
contents of default:Code:mkdir /opt/tftpboot/pxelinux.cfg
nano /opt/tftpboot/pxelinux.cfg/default
nano /opt/tftpboot/boot.txt
contents of boot.txt:Code:display boot.txt
prompt 1
timeout 0
default winpe
label dsl
kernel dsl/linux24
append ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=dsl/minirt24.gz nomce noapic quiet boot_image=dsl/knoppix
label dos
kernel memdisk
append initrd=dos/Dos6.22.img
label memtest
kernel memdisk
append initrd=memtest/memtest.img
label winpe
kernel Boot/startrom.0
label gparted
kernel gparted/vmlinuz
append initrd=gparted/initrd.img boot=live union=aufs noswap quickreboot noprompt vga=788 fetch=http://192.168.1.1:81/filesystem.squashfs
label pmagic
kernel pmagic/bzImage
append initrd=pmagic/initramfs load_ramdisk=1 prompt_ramdisk=0 rw sleep=10 livemedia
get the pxelinux.0 and memdisk kernel from syslinux (or everything is in Attach Files)Code:Boot menu: gparted | dos | dsl | winpe | memtest | pmagic
put both files to /opt/tftpboot/
get the dos bootdisk image
you may need chmod, thanks wpte for checking my tutorialCode:mkdir /opt/tftpboot/dos
cd /opt/tftpboot/dos
wget http://www.allbootdisks.com/downloads/Disks/MS-DOS_Boot_Disk_Download47/Diskette%20Images/Dos6.22.img
It's all, try to boot dos from network...Code:chmod +x /opt/tftpboot/*.*
chmod +x /opt/tftpboot/pxelinux.cfg/*.*

