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

Install Microsoft .NET Core SDK

.NET Core Software Development Kit (SDK) is a set of libraries and tools that allow developers to create .NET Core applications and libraries.

How to charge your device from USB Port

First of all, check BIOS Settings of your laptop or desktop Dell Look for USB PowerShare BIOS Settings: USB PowerShare Lenovo Look for Always On USB Charge in Off Mode BIOS Settings: Enable Always On USB Charge in Off Mode

Kali Linux on Raspberry Pi 2

Download Kali Linux for Raspberry Pi 2 Use xzcat to decompress and then dd to image Kali Linux to microSD on Windows 10. or use 7-zip to extract kali-linux-2019.1-rpi3-nexmon.img image file, then use rufus to write image to microSD card Login Kali Linux with default username root and password toor Tight VNC Server root@kali:~# apt install tightvncserver root@kali:~# vncserver :1 You will require a password to access your desktops. Password: Warning: password truncated to the length of 8. Verify: Would you like to enter a view-only password (y/n)? n xauth: file /root/.Xauthority does not exist New 'X' desktop is kali:1 Creating default startup script /root/.vnc/xstartup Starting applications specified in /root/.vnc/xstartup Log file is /root/.vnc/kali:1.log root@kali:~# Kill vncserver root@kali:~# vncserver -kill :1 Killing Xtightvnc process ID 16102 root@kali:~#