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

New system installation, system re-install
User avatar
polentino
Posts: 3
Joined: 27 Nov 2023, 04:07

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

Post by polentino »

Gremlin wrote: 27 Nov 2023, 06:11 Look at the last line above the error. Mentions arm64. I suspect you have the wrong files. This instruction is for intel based platform.
From this page https://www.terra-master.com/uk/product ... nu&mid=774 it says Processor Architecture X.86 64-bit so I thought it was fine.
But now I checked again the original post and saw that my model, F2-422 is not listed among the supported models, while F8-422 is; probably I made a mistake while reading the supported models.

Now my question is: how can I flash my usb stick to get it functioning again?
User avatar
polentino
Posts: 3
Joined: 27 Nov 2023, 04:07

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

Post by polentino »

For anyone struggling into flashing a valid USB drive: the make_install script inside in https://download2.terra-master.com/bzImage.zip contains a bug :!:

Reason: the instructions contained in the zip were very straightforward and easy (kudos to the devs) so I tried to run

Code: Select all

./make_install bzImage
on different machines to see if I could manage to get a valid, bootable USB drive. And then I noticed that the message before the error was slightly different, depending on the machine where I was executing the script, for example:

Code: Select all

Installing for arm64-efi platform.

or

Code: Select all

Installing for x86_64-efi platform.
which meant that the script was trying to install grub using the architecture of the host machine, instead of the target (TNAS) machine.

Solution: replace this line

Code: Select all

grub-install --root-directory=/media/ --force $blk
with this one

Code: Select all

grub-install --target=i386-pc --root-directory=/media/ --force $blk
and then run ./make_install bzImage as usual, and you're good to go :)


polentino wrote: 27 Nov 2023, 07:27
Gremlin wrote: 27 Nov 2023, 06:11 Look at the last line above the error. Mentions arm64. I suspect you have the wrong files. This instruction is for intel based platform.
From this page https://www.terra-master.com/uk/product ... nu&mid=774 it says Processor Architecture X.86 64-bit so I thought it was fine.
But now I checked again the original post and saw that my model, F2-422 is not listed among the supported models, while F8-422 is; probably I made a mistake while reading the supported models.

Now my question is: how can I flash my usb stick to get it functioning again?
User avatar
danno10000
Posts: 1
Joined: Today, 00:17
Canada

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

Post by danno10000 »

It appears my F4-220 is dead. After an upgrade of the latest OS, it continued to work but the drive lights were off. I ignored that and did some backups and it failed during that process.

Then all four drive lights became red, no LAN light. I can’t see the TNAS on my network. I have taken apart my NAS and removed the USB iniboot stick.

The instructions provided are too complicated as I only have Mac computers and no easy access to a Windows PC.

I noticed that the USB device with TOS 5.1 preloaded is available on Amazon. Would that be the solution and far easier than trying to create a USB stick?
Post Reply

Return to “Initialization & installation”