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

New system installation, system re-install
Post Reply
User avatar
TMSupport
TerraMaster Team
Posts: 2313
Joined: 13 Dec 2019, 15:15

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

Post by TMSupport »

Applicable models:
F2-220、F2-221、F2-420、F2-421、
F4-220、F4-221、F4-420、F4-421、
F5-220、F5-221、F5-225、F5-420、F5-421、F5-422、
F8-421、F8-422

Applicable TOS version: All

The initBoot contains some programs that are used to configure the basic hardware before TOS is loaded, 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.

Here are 3 fixes for when the boot system fails:

Solution 1:
If you have a spare drive that contains a TOS system and can boot normally:
1. Plug in the drive to your TNAS, and boot the system.
2. SSH access to your system from the terminal. Instruction
3. Execute the following command with root permissions. (the default password is the same as the admin password)

Code: Select all

[root@TNAS-??????~]# /etc/init.d/mountusb start
mount usb storage...
[root@TNAS-??????~]# ter_wget http://download2.terra-master.com/bzImage
--2021-08-30 16:23:53--  http://download2.terra-master.com/bzImage
Resolving download2.terra-master.com... 47.102.71.249
Connecting to download2.terra-master.com|47.102.71.249|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 37896576 (36M) [application/octet-stream]
Saving to: 'bzImage'

bzImage             100%[===================>]  36.14M  24.1MB/s    in 1.5s

2021-08-30 16:23:55 (24.1 MB/s) - 'bzImage' saved [37896576/37896576]
[root@TNAS-??????~]# cp ~/bzImage /mnt/bootdev/boot/
Solution 2
If you are not able to access TOS, you have to make a new USB initBoot and replace the failed one. To make a new USB initBoot, please follow the instruction below.
Download the instruction

Solution 3
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
pieroalampi
Posts: 0
Joined: 28 Jan 2021, 19:33

Re: How to burn a new USB boot flash for X86 models?

Post by pieroalampi »

hi,
after ./make_install bzImage_V4.9.5 the command line return bzImage_V4.9.5 isn't exists
User avatar
TMRyan
TerraMaster Team
Posts: 918
Joined: 01 Dec 2020, 11:50
China

Re: How to burn a new USB boot flash for X86 models?

Post by TMRyan »

{L_BUTTON_AT}pieroalampi
Hi,
Are you using the root account to operate?
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)
User avatar
pieroalampi
Posts: 0
Joined: 28 Jan 2021, 19:33

Re: How to burn a new USB boot flash for X86 models?

Post by pieroalampi »

hi,
no i'am using my account, do i have to use root accout?
User avatar
TMS
TerraMaster Team
Posts: 508
Joined: 20 Oct 2020, 17:06

Re: How to burn a new USB boot flash for X86 models?

Post by TMS »

Yes,you should use root accout.
To contact our tech team, please email to support(at)terra-master.com, remember to replace (at) with @
User avatar
pieroalampi
Posts: 0
Joined: 28 Jan 2021, 19:33

Re: How to burn a new USB boot flash for X86 models?

Post by pieroalampi »

TMS wrote:
> Yes,you should use root accout.
OK i will try
User avatar
titanrx8
Posts: 224
Joined: 17 Jul 2020, 06:17
United States of America

Re: How to burn a new USB boot flash for X86 models?

Post by titanrx8 »

Can I use Docker to install Ubuntu on my F2-221 and then follow the instructions below in order to create a new USB flash drive as a backup?

Can I just use my working TOS system to create the flash drive without needing Ubuntu?

TMSupport wrote:
> [b]Applicable models:[/b]
> F2-220, F4-220, F4-420, F2-221, F2-421, F4-221, F4-421, F5-220, F5-221,
> F5-421, F5-422, F8-421, F8-422.
>
> [b]Instructions:[/b]
>
> [b]Preparation:[/b]
> 1. Ubuntu/ CentOS 6 system and above, Windows system with virtual machine
> installed (VMware Workstation Pro).
> 2. A new USB flash disk with capacity over 1G.
>
> [b]Steps:[/b]
> 1. Download the compressed package:
> wget http://dl.terra-master.com/cn/Guide-installation.zip
> 2. Please add permissions for the compressed package:
> [color=#FF4000]chmod -R 777 Guide_installation.zip[/color]
> 3. Unzip the compressed package:
> [color=#FF4000]unzip Guide_installation.zip[/color]
> 4. Connect the USB flash disk to your Linux or Windows PC, and then input
> the following command:
> [color=#FF4000]cd /root/Guide_installation/bzImage/
> chmod -R 777 make_install
> chmod -R 777 grub.cfg
> chmod -R 777 bzImage_V4.9.5
> ./make_install bzImage_V4.9.5[/color]
> Wait for the installation to complete.
> 5. Insert the U disk or USB hard disk into the USB port on the back of the
> TNAS device, and then turn on the device.
> 6. Use TNAS PC to search and get the IP address of your TNAS, and click
> “Log in” to reinstall the TOS system
User avatar
TMRyan
TerraMaster Team
Posts: 918
Joined: 01 Dec 2020, 11:50
China

Re: How to burn a new USB boot flash for X86 models?

Post by TMRyan »

{L_BUTTON_AT}titanrx8
Not sure if the USB device can be read when using this image.
As long as your USB device can be read, it should be successful.
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)
User avatar
jrosen
Posts: 6
Joined: 10 Jun 2021, 04:24

Re: How to burn a new USB boot flash for X86 models?

Post by jrosen »

I get an error -
./make_install: line 28: grub-install: command not found
cannot create regular file 'media/boot/grub/grub.cfg': no such file or directory
etc..
User avatar
TMjack
TerraMaster Team
Posts: 2
Joined: 27 Oct 2020, 08:41

Re: How to burn a new USB boot flash for X86 models?

Post by TMjack »

Please execute:
cd /mnt
wget https://download2.terra-master.com/bzImage.zip
unzip bzImage.zip
chmod +x make_install
chmod +x grub.cfg
./make_install bzImage
Post Reply

Return to “Initialization & installation”