memtest86+ PXE boot

apt-get install -y pxelinux
 
# check for current version
# http://www.memtest.org/#downiso
 
URL=http://www.memtest.org/download/5.01/memtest86+-5.01.bin
 
wget -q ${URL} -P /tmp/
 
mkdir /var/lib/tftpboot/memtest
mv /tmp/memtest86+-*.bin /var/lib/tftpboot/memtest
cd /var/lib/tftpboot/memtest
ln -s memtest86+-*.bin memtest86+
 
echo "confiure tftpboot..." 
mkdir -p /var/lib/tftpboot/pxelinux.cfg
cat <<EOF>   /var/lib/tftpboot/pxelinux.cfg/memtest86+.conf
LABEL linux
   MENU LABEL memtest86+
   KERNEL /memtest/memtest86+
EOF
 
echo "MENU INCLUDE pxelinux.cfg/memtest86+.conf" >> /var/lib/tftpboot/pxelinux.cfg/default

Comments

very helpful

Thank you

That was really easy. Thanks!

That was really easy. Thanks!