The QNAP TS-451DeU NAS server is only capable for operating in a headless mode. All configuration and maintenance is performed throught the web interface. The server has a graphics processor but does not have a port. To install an alternate OS on the hardware some additional steps are required. The following details the procedure for installation of the Debian operating system on this hardware.
- QNAP TS-451DeU or similar QNAP hardware
- USB Serial interface1
- JST PH 4-pin female connector2
- USB drive
- Open an SSH connection to the QNAP. You may need to enable SSH in the QNAP Control Panel.
- Backup the firmware.3
Store these files for recovery.
cat /dev/mmcblk0boot0 > mmcblk0boot0 cat /dev/mmcblk0boot1 > mmcblk0boot1 cat /dev/mmcblk0rpmb > mmcblk0rpmb
- Download Ubuntu iso
- Copy to USB drive
sudo dd if=mini.iso of=/dev/sdX bs=1M status=progress sync
Installsimple-cdd
packageapt install simple-cdd
Build installer iso4mkdir tmp-cdd cd tmp-cdd build-simple-cdd --dist stable --serial-console --locale en_US
Copy iso to USB5cp .images/debian*.iso /dev/sdX sync
- Power down the QNAP
- Connect serial interface to the QNAP
- Remove the top cover of the QNAP.
- The serial interface header (COM1) is located at the back near the power supply and in front of the middle fan. Connect the JST PH 4-pin female cable to the header. Use the following pin-out. Do not connect the 5V power wire from the USB cable since the QNAP is already powered.
- Open a serial console
sudo screen /dev/ttyUSB0 115200
- Plug in the USB drive to the QNAP
- Power on the QNAP
- After system beep press
ESC
orDEL
to enter the BIOS setup - Under the
Save & Exit
menu select the USB drive under theBoot Override
section to boot the USB drive - Installer will start.
Note: To change tabs in the Debian installer, for example, to see the log, pressCTRL+a
,a
, tab number - Edit Grub install entry with
console=tty0 console=ttyS0,115200n8
. Thelinux
line should look something like thislinux /linux --- console=tty0 console=ttyS0,115200n8
- Ubuntu should eventurally give you the option to use SSH to continue the install. This gives a better experience.
- https://www.reddit.com/r/qnap/comments/ttm5db/gaining_access_to_the_ts451deu/
- https://www.cyrius.com/debian/kirkwood/qnap/ts-219/install/
- https://www.desgehtfei.net/serielle-konsole-fuer-qnap-mit-arduino/
- https://wiki.qnap.com/wiki/System_Recovery_Mode
- https://wiki.qnap.com/wiki/Debian_Installation_On_QNAP
- https://www.reddit.com/r/qnap/comments/s1p1g8/truenas_core_on_the_qnap_ts451deu
- https://www.reddit.com/r/qnap/comments/fwg2in/replace_qts_with_linux_server_distro_on_451/
- https://teklager.se/en/knowledge-base/installing-debian-over-serial-console-apu-board/
- https://sites.google.com/view/chewkeanho/guides/linux-os/simple-cdd/
- https://salsa.debian.org/debian/simple-cdd
- https://debian-handbook.info/browse/squeeze/sect.automated-installation.html