Skip to main content

Synology: PXE Server - Add memtest86+

memtest86+ header

I sometimes need to check memory, so I add memtest86+ 5.01 as a choice to my existing PXE Server on Synology Diskstation.

Download and decompress pre-compiled binary memtest86+ 5.01

wget http://www.memtest.org/download/5.01/memtest86+-5.01.bin.gz
gzip -dv ./memtest86+-5.01.bin.gz

Create 'memtest' folder on PXE server and copy the binary file as memtest86+-5.01

mkdir -p /volume1/pxe/memtest
mv memtest86+-5.01.bin /volume1/pxe/memtest/memtest86+-5.01

Add entry to the bottom of /volume1/pxe/pxelinux.cfg/default file

label memtest
menu label Run a ^memtest
kernel memtest/memtest86+-5.01

Put them all in a script file pxememtest.sh

#!/usr/bin/env bash
# Run 'sudo -i' to be root, then run this script
# Download pre-compiled binary memtest86+ 5.01
wget http://www.memtest.org/download/5.01/memtest86+-5.01.bin.gz
# Decompress
gzip -dv ./memtest86+-5.01.bin.gz
# Create 'memtest' folder on pxe server's root folder
mkdir -p /volume1/pxe/memtest
# Copy memtest86+-5.01.bin to /volume1/pxe/memtest/ as memtest86+-5.01
mv memtest86+-5.01.bin /volume1/pxe/memtest/memtest86+-5.01
# Add entry to /volume1/pxe/pxelinux.cfg/default file
export menufile="/volume1/pxe/pxelinux.cfg/default"
echo -e "\nlabel memtest\nmenu label Run a ^memtest\nkernel memtest\/memtest86+-5.01" >> $menufile
# End of script

Popular posts from this blog

Linux command: lastlog

lastlog command reports the most recent login of all users or of a given user. NAME lastlog - reports the most recent login of all users or of a given user SYNOPSIS lastlog [options] DESCRIPTION lastlog formats and prints the contents of the last login log /var/log/lastlog file. The login-name, port, and last login time will be printed. The default (no flags) causes lastlog entries to be printed, sorted by their order in /etc/passwd. OPTIONS The options which apply to the lastlog command are: -b, --before DAYS Print only lastlog records older than DAYS. -h, --help Display help message and exit. -R, --root CHROOT_DIR Apply changes in the CHROOT_DIR directory and use the configuration files from the CHROOT_DIR directory. -t, --time DAYS Print the lastlog records more recent than DAYS. -u, --user LOGIN|RANGE Print the ...

Powershell: Get-ChildItem

List, search/find files and directories with Get-ChildItem cmdlet.

Microsoft Windows Server 2012 R2 Standard Evaluation Product Key

Microsoft Windows Server 2012 R2 Standard Evaluation D2N9P-3P6X9-2R39C-7RTCD-MDVJX DBGBW-NPF86-BJVTX-K3WKJ-MTB6V