How to fix a faulty USB initBoot for your TNAS?(220/420/221/421/422)

New system installation, system re-install
User avatar
bonerserk
Posts: 6
Joined: 21 Jul 2024, 22:51
Italy

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

Post by bonerserk »

I have the same problem with F4-424. What is the correct image to use to create the boot usb? bzImage.zip or bzImage_uefi.zip? I found 2 different posts with similar information but none of them refers to my model.
Thanks.
User avatar
bonerserk
Posts: 6
Joined: 21 Jul 2024, 22:51
Italy

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

Post by bonerserk »

bonerserk wrote: 22 Jul 2024, 01:18 I have the same problem with F4-424. What is the correct image to use to create the boot usb? bzImage.zip or bzImage_uefi.zip? I found 2 different posts with similar information but none of them refers to my model.
Thanks.
bzImage.zip did the job on en external usb 1gb drive. But the system image installed is an Old TOS 4.2 and asked me to format my disk loosing all data. Be aware to download latest TOS version and install manually during wizard and not online from latest because it will download 4.2.
User avatar
tmote
Posts: 1
Joined: 23 Jul 2024, 03:11
United States of America

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

Post by tmote »

For Solution 1: the bzImage file on the USB storage device is immutable. Prior to executing the copy command, you first must execute the following:

Code: Select all

chattr -i /mnt/bootdev/boot/bzImage
Once you complete the copy, you can (and should) set the file back to immutable:

Code: Select all

chattr +i /mnt/bootdev/boot/bzImage
trm
TMSupport wrote: 20 Jan 2021, 15:59 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.
trm
User avatar
goku2024
Posts: 1
Joined: 28 Aug 2024, 17:55
Australia

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

Post by goku2024 »

Hi everyone, i have been trying to create a boot usb but i am stuck at downloading bzImage.zip step.It has 403 Error Forbidden code. Please help, thank you
Image
User avatar
Gremlin
Gold Member
Posts: 1625
Joined: 02 Dec 2022, 22:31
Great Britain

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

Post by Gremlin »

F5-221 TOS7.0.0777 - 4x4TB (Ironwolf) Traid
F2-424 TOS7.0.0777 - 2x500GB nvme (P3) Traid, 2x6TB HDD (HGST) Traid
F2-221 TOS7.0.0777 - 1x3TB Ext4, 1x4TB Btrfs
F2-425+ TOS7.0.0777 - 2x500GB nvme (P3) Traid, 2x6TB HDD (EXOS) Traid
User avatar
TMzethar
TM Support
Posts: 2817
Joined: 27 Oct 2020, 16:43

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

Post by TMzethar »

goku2024 wrote: 28 Aug 2024, 18:20
There seems to be a problem connecting to the server.
You can download bzImage.zip in advance via your browser and move it to the specified location.
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
RichardNASUser
Posts: 8
Joined: 15 Jun 2024, 18:56
Great Britain

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

Post by RichardNASUser »

HELP

On Step 8 of the guide '8、enter “cd /mnt/” to go to /mnt,
enter “wget https://download2.terra-master.com/bzImage.zip” to download the package.'

When i enter the wget command i get the error 'HTTP request sent, awaiting response... 403 Forbidden' ERROR 403 Forbidden.

I assume the URL is now wrong or the file is no longer there ? Can anyone update the URL ?

note i can download it from the web, so any idea of the issue >?
User avatar
RichardNASUser
Posts: 8
Joined: 15 Jun 2024, 18:56
Great Britain

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

Post by RichardNASUser »

OK, will be nice if the URL was fixed but easy to work around (Linux newbie).

Just download the file via a web browser to your downloads. Then just CD to your downloads confirm the file is there and copy it to the mnt folder again and continue the guide. Note the guide in step 11 also has a typo it should be '+x' not '+ x'.

cd /home/<username>/Downloads
ls
cp -a /home/<username>/Downloads/bzImage.zip /mnt/
cd /mnt
ls
unzip bzImage.zip

Guide looked to have working following this. I have a new boot drive, time to test it. Note you only need a tiny USB drive, the file is 40Mb.
User avatar
oscar1412
Posts: 26
Joined: 05 Sep 2022, 00:49
Spain

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

Post by oscar1412 »

cp: cannot create regular file '/mnt/bzImage.zip': Permission denied
Post Reply

Return to “Initialization & Installation”