After the hot swap case issue solved, hooked up the power switch on the casing to the board, it's time to prepare the boot up SD

First boot
Search result of boot SD image: Armbian, openmediavault
I tried the Armbian image but it doesn't boot, skipped openmediavault but tried the manufacturer's FriendlyCore image and it boot up fast.
- plugin card reader / TF card to a Linux computer
- checkout the device assignment from dmesg (mine is /dev/sdd)
- login with supervisor rights from terminal, type:
- 代碼: 選擇全部
dd if=rk3399-sd-friendlycore-bionic-4.4-arm64-YYYYMMDD.img of=/dev/sdd
- insert SD card into board's card slot
- plugin keyboard, hdmi
- press the Power button on the case
- if nothing goes wrong, you will see a text console on your hdmi monitor
- install hard disk(s) to the hot swap assembly and test hot plug/unplug
- if sata Hat and casing hot swap works, then power down board from console:
- 代碼: 選擇全部
poweroff
- it's time to get Gentoo!
Ref: Making a handmade fanless NAS with NanoPi M4 and SATA Hat, NanoPi M4 DiskStation / SATA NAS / Up to 56 TB Network Storage!, support page of manufacturer
Get Gentoo stage 3/4
- Go to Gentoo official site and find the download links for Arm64 stage 3/4 files
- power on the coming soon NAS server
- ssh to the NAS from another Linux computer's terminal (default password for user pi is pi)
- prepare the installed hard disk(s) (setup RAID0/1, etc., assign partitions, format with supported filesystem of your choice)
*read Gentoo AMD64 Handbook for details - download and install the stage 3/4 files from connected ssh session
- Chroot and customize your system in Gentoo way.