Page 1 of 11

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

Posted: 20 Jan 2021, 15:59
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.

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

Posted: 03 Feb 2021, 16:44
by pieroalampi
hi,
after ./make_install bzImage_V4.9.5 the command line return bzImage_V4.9.5 isn't exists

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

Posted: 03 Feb 2021, 17:52
by TMRyan
{L_BUTTON_AT}pieroalampi
Hi,
Are you using the root account to operate?

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

Posted: 03 Feb 2021, 18:14
by pieroalampi
hi,
no i'am using my account, do i have to use root accout?

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

Posted: 03 Feb 2021, 21:56
by TMS
Yes,you should use root accout.

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

Posted: 04 Feb 2021, 02:56
by pieroalampi
TMS wrote:
> Yes,you should use root accout.
OK i will try

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

Posted: 30 Mar 2021, 22:43
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

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

Posted: 31 Mar 2021, 10:24
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.

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

Posted: 10 Jun 2021, 04:26
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..

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

Posted: 10 Jun 2021, 18:28
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