Skip to content

TrueNAS

Hardware

The NAS runs on a Beelink ME Mini 6-Slot Home Storage NAS PC:

Spec Detail
CPU Intel N95 / N150
RAM 12 GB (onboard)
Storage 6 SATA bays

BIOS Update

Beelink provides BIOS updates as a set of EFI shell files. The process involves creating a bootable FAT32 USB drive that auto-flashes the BIOS via the AMI EFI flash utility (AfuEfix64.efi).

Creating a bootable USB image

Rather than formatting a USB stick manually, create a raw .img file that can be written with dd to any USB drive:

Create a blank image with a FAT32 partition

dd if=/dev/zero of=bios-update.img bs=1M count=64
parted bios-update.img --script mklabel msdos
parted bios-update.img --script mkpart primary fat32 1MiB 100%
parted bios-update.img --script set 1 boot on

Format the partition as FAT32

Using mtools to format the partition inside the image directly, no loop device or root needed:

mformat -i bios-update.img@@1048576 -F -v WINPE ::

The @@1048576 offset (1 MiB) matches the partition start set by parted.

Copy the BIOS files

mcopy -i bios-update.img@@1048576 -s /path/to/M1V307_12G_ROM/* ::

Expected file structure on the USB:

/
├── AfuEfix64.efi
├── EFI/
│   └── BOOT/
│       ├── BOOTX64.efi
│       ├── Startup.nsh
│       └── bootia32.efi
├── Flash.nsh
└── M1V307.rom

Write the image to a USB drive

sudo dd if=bios-update.img of=/dev/sdX bs=4M status=progress # (1)!
  1. Replace /dev/sdX with your USB drive.

Flashing the BIOS

Boot from USB

Restart the Beelink and press F7 repeatedly at the boot logo to open the boot menu. Select the USB drive.

Let the EFI shell flash automatically

The USB contains a Startup.nsh script that automatically locates and runs Flash.nsh, which executes:

AfuEfix64.efi M1V307.rom /p /b /n /x /r /reboot

The system will flash the BIOS and reboot automatically.

Warning

Do not power off the machine during the flash process. Ensure the power supply is reliable before starting.