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
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?