How to fix a faulty USB initBoot for your TNAS? (x.86 UEFI method)

New system installation, system re-install
Post Reply
User avatar
TMzethar
TerraMaster Team
Posts: 1128
Joined: 27 Oct 2020, 16:43

How to fix a faulty USB initBoot for your TNAS? (x.86 UEFI method)

Post by TMzethar »

The initBoot contains some programs that are used to configure the basic hardware before TOS is started, and these programs are stored in a USB flash drive. Unexpected power outages, abnormal shutdowns, and hardware failures can all cause the initBoot to fail. If your x.86 TNAS cannot be started normally, and the device cannot be searched when booting without a hard disk, it is most likely that the initBoot is faulty.

Following is the instruction to fix a faulty USB initBoot by building a new USB drive.

Applicable models
F2-223、F2-423、F4-223、F4-423
T6-423、T9-423、T12-423
U4-423、U8-423、U12-423

Applicable version:
TOS 5

System Requirements:
1.Ubuntu18.04 or above, centos6 or above.

Please refer to the following steps(Take Ubuntu as an example):

1. Prepare a empty USB drive

2. Install VMware Workstation Pro with Windows/Mac.

3. Install Ubuntu System in VMware Workstation Pro.

4. Boot the installed Ubuntu system.

5. Plug in the USB to a Windows computer and select "Connect to Virtual Machine".

6. Open Terminal in Ubuntu.
Image

7. Enter “sudo -i”, and then enter the password of the current user to switch the user to root. (The password will not be displayed when entering the password)
Image

8. Enter "cd /mnt/" to enter the mnt directory, enter "wget https://download2.terra-master.com/bzImage_uefi.zip" to download the file.
After the download is complete, you can enter "ls" to check whether the compressed package has been successfully downloaded.
Image

9. Enter "unzip bzImage_uefi.zip" to unzip the compressed package. After decompression, you can enter "ls" and press Enter to view the decompressed files.
Image

10. Enter ”chmod +x make_uefi grub.cfg x86_64-efi.cfg”.
Image

11. Enter "./make_uefi bzImage" to write the initialization file to USB.
When you see the following information, it means that the USB boot disk has been created successfully.
########done################
#######COMPLATE!!!####################
It may prompt "uid1000" and "guid1000" permission issues, please ignore.

12. Take out the U disk and connect it back to TNAS.

Remark
If you are not comfortable with using the command line or making a new initBoot on your own, you can contact our customer service to buy a new one.
To contact our team, please send email to following addresses, remember to replace (at) with @:
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
raroth92361
Posts: 1
Joined: 19 Apr 2023, 08:45

Re: How to fix a faulty USB initBoot for your TNAS? (x.86 UEFI method)

Post by raroth92361 »

If it prompts "grub2-install: not found", please execute the following command:

Code: Select all
command execution order below. This order of commands worked for me.

mkdir /mnt/tosusb
mount /dev/sdb1 /mnt/tosusb
apt install grub-efi-amd64
cp /mnt/x86_64-efi.cfg /mnt/tosusb/boot/grub/
cd /
umount /mnt/tosusb
User avatar
sjl070707
Posts: 7
Joined: 03 Jan 2024, 09:50

Re: How to fix a faulty USB initBoot for your TNAS? (x.86 UEFI method)

Post by sjl070707 »

do I just need a brand new USB drive or do I need to format the new drive in a specific way?
User avatar
TMzethar
TerraMaster Team
Posts: 1128
Joined: 27 Oct 2020, 16:43

Re: How to fix a faulty USB initBoot for your TNAS? (x.86 UEFI method)

Post by TMzethar »

sjl070707 wrote: 22 Mar 2024, 07:55
Both new and old ones are acceptable. Generally do not require special treatment in advance.
Please note that the USB drive used to create USB initboot will be formatted.
To contact our team, please send email to following addresses, remember to replace (at) with @:
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
Gremlin
Posts: 433
Joined: 02 Dec 2022, 22:31
Great Britain

Re: How to fix a faulty USB initBoot for your TNAS? (x.86 UEFI method)

Post by Gremlin »

What capacity USB?
F5-221 5.1.123, 8GB System Partition on 3 x 4TB Traid; 3TB EXT4
F2-221 TOS6 (Beta), 8GB System Partition on 2 x 6TB in Traid.
User avatar
crisisacting
Posts: 257
Joined: 20 Jan 2022, 16:42

Re: How to fix a faulty USB initBoot for your TNAS? (x.86 UEFI method)

Post by crisisacting »

Gremlin wrote: 22 Mar 2024, 19:33
64 MB and larger (the image is only ~43 MB).

But realistically, the price of USB drives is so low that getting a 1 GB or larger makes more sense.
User avatar
Gremlin
Posts: 433
Joined: 02 Dec 2022, 22:31
Great Britain

Re: How to fix a faulty USB initBoot for your TNAS? (x.86 UEFI method)

Post by Gremlin »

Thanks
F5-221 5.1.123, 8GB System Partition on 3 x 4TB Traid; 3TB EXT4
F2-221 TOS6 (Beta), 8GB System Partition on 2 x 6TB in Traid.
Post Reply