How to burn a new USB boot for your TNAS?(x86)

Frequently asked questions, operating instructions, troubleshootings
User avatar
titanrx8
Posts: 122
Joined: 17 Jul 2020, 06:17

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

Post by titanrx8 » 15 Jun 2021, 22:27

After creating the new boot USB drive, can I install it onto the system board USB slot (after removing the old corrupt drive) or does the new USB drive have to be plugged into the external USB slot?

User avatar
TMS
Customer Service
Posts: 577
Joined: 20 Oct 2020, 17:06

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

Post by TMS » 16 Jun 2021, 17:38

You can plugged it inside or outside.
To contact our tech team, please email to support(at)terra-master.com, remember to replace (at) with @

User avatar
titanrx8
Posts: 122
Joined: 17 Jul 2020, 06:17

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

Post by titanrx8 » 17 Jun 2021, 03:32

TMS wrote:
> Thanks. I have the unit disassembled so it'll go inside. Borrowing a CentOS system to burn the new boot drive in the next day or so.

User avatar
titanrx8
Posts: 122
Joined: 17 Jul 2020, 06:17

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

Post by titanrx8 » 29 Jun 2021, 04:06

Finally had a chance to burn the new boot USB, actually a Linux guru friend did it for me since my attempts to follow the instructions at the top of the thread failed.

My friend first tried using an Ubuntu virtual machine but the paths were getting messed up so he built a CentOs system on bare hardware. The batch file provided in the download package didn't work so he hand built the directories and loaded the components manually using the corrupted USB as a guide. The new USB was installed on the system board, system was reassembled and it booted properly.

I have the OS loaded and running temporarily with an old drive just to check everything out before changing out the drive for a new one and putting the unit back in production.

User avatar
finhj
Posts: 0
Joined: 15 Jul 2021, 07:02

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

Post by finhj » 15 Jul 2021, 07:07

I want to point out - make sure if you're doing this that you only have one USB drive plugged in at the time you run make_install, unless you like gambling.

This is important because the script looks through your drives, and picks the first one that identifies itself as USB to flash.

User avatar
DaQu
Posts: 0
Joined: 30 Aug 2021, 00:40

Re: How to burn a new USB boot for your TNAS?

Post by DaQu » 30 Aug 2021, 01:05

Sadly the script is not working for me. I'm getting this errors:

#########mkfs ext4#############
mke2fs 1.44.5 (15-Dec-2018)
/dev/sdb1 contains a ext4 file system labelled 'UTOSBOOT-X86-S64'
last mounted on /media/pi/UTOSBOOT-X86-S64 on Sun Aug 29 18:56:28 2021
Proceed anyway? (y,N) y
/dev/sdb1 is mounted; will not make a filesystem here!
#########install grub###########
grub-install: error: /usr/lib/grub/arm64-efi/modinfo.sh does not exist. Please specify --target or --directory.
cp: can't execute stat on '/media/pi/UTOSBOOT-X86-S64/grub.cfg': No such file or directory
cp: can't execute stat on '/media/pi/UTOSBOOT-X86-S64/bzImage': No such file or directory
#########done##################
################COMPLATE!!!###################
root@raspberrypi:/media/pi/UTOSBOOT-X86-S64# mount /dev/sda1 /mnt
mount: /mnt: special device /dev/sda1 does not exist.
root@raspberrypi:/media/pi/UTOSBOOT-X86-S64#


Please help, I'm losing my mind :(

User avatar
TMSupport
Customer Service
Posts: 1437
Joined: 13 Dec 2019, 15:15

Re: How to burn a new USB boot for your TNAS?

Post by TMSupport » 30 Aug 2021, 11:48

{L_BUTTON_AT}DaQu
Please execute:

Code: Select all

cd /mnt/

Code: Select all

wget https://download2.terra-master.com/bzImage.zip

Code: Select all

unzip bzImage.zip

Code: Select all

chmod +x grub.cfg make_install

Code: Select all

./make_install
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
DaQu
Posts: 0
Joined: 30 Aug 2021, 00:40

Re: How to burn a new USB boot for your TNAS?

Post by DaQu » 03 Sep 2021, 04:23

TMSupport wrote:
>
Omg, thank you! After many failed attempts on CentOS, I've finally made my USB using Ubuntu 18.04! It looked like new CentOS is having grub2-install package installed by default, which wasn't recognized by script. However after changing it with nano text editor to "grub2-install" command it still was throwing error with grub boot pattern not recognized or something, which resulted with not booting anyway.

So for everyone having issues with second (grub installation) step I recommend using Ubuntu 18.04.5-desktop-amd64 instead of any CentOS distro.

Cheers!

User avatar
splaquet
Posts: 3
Joined: 30 Jun 2020, 23:02

Re: How to burn a new USB boot for your TNAS?

Post by splaquet » 16 Sep 2021, 05:21

anyone else have this issue?

`
# wget
-bash: wget: command not found
`

User avatar
splaquet
Posts: 3
Joined: 30 Jun 2020, 23:02

Re: How to burn a new USB boot for your TNAS?

Post by splaquet » 16 Sep 2021, 05:41

looking through the forum, I found this command:

/usr/bin/ter_wget

seems to work. ...but, why don't you extend the shell functionality? it'd be so nice if we could install our own 'environment' scripts, to taylor the environment to our comfort.

Post Reply