Author Topic: Reinstalling to an out-of warranty NAS with blank drives  (Read 286 times)

Eastmarch

  • 1500 Lb Water Buffalo
  • Administrator
  • *****
  • Posts: 322
Reinstalling to an out-of warranty NAS with blank drives
« on: September 06, 2019, 12:25:28 pm »
Our super awesome user 1000001101000 put together some pages which help DIYers with TFTP reinstalls. Buffalo can't speak to the accuracy or safety of any of this stuff, and we can't support it, so don't take this as advice or an endorsement as the content. Mostly this is for people with an out-of-warranty chassis that they have the desire to reinstall and get back running. Which is super cool.

A few points: Some units have the ability to reinstall firmware built into the box. These are :

TS3000
TS5010, 3010
LS220DE (Not 220 or 210)
LS421D (Not 420 or 410)
LS441DE
LS-WVL/E

In addition, TS5000 has a documented, simple method to reinstall, as does TS-xVL as these are Intel processors capable of USB boot. Any Windows Storage Server unit is provided with reinstall media in the box.

All other NAS units use an ARM processor and the firmware is factory installed on the provided drives, and has no simple way of being reinstalled; as you will see in his links.

His Post:

This consists of first extracting the required firmware files:
https://buffalonas.miraheze.org/wiki/Extract_Boot_Files_from_Stock_Firmware

Then booting into EM mode either by TFTP booting with your favorite TFTP utility or by loading the files onto an EXT3 partition on a disk:
https://buffalonas.miraheze.org/wiki/Restoring_Stock_Firmware_without_TFTP
or
https://buffalonas.miraheze.org/wiki/Restoring_Stock_Firmware_via_TFTP

finally performing the install using the firmware updater in Debug mode with the "rebuild partition table" and "force update" options selected:
https://buffalonas.miraheze.org/wiki/Enable_Debug_mode

I've heard back from folks who done this successfully with just about every ARM based linkstation/terastation model over the past year.

Any oLet me know if you have any questions.

**Intel based devices use a similar process only get into EM mode via a usb recovery disk:
https://buffalonas.miraheze.org/wiki/Create_Recovery_Disk_for_Intel-based_Terastation
« Last Edit: September 17, 2019, 11:01:58 am by Eastmarch »
**A single copy of data, even on a RAID array, is NOT a backup! Hard drive failure is not a question of IF, but WHEN! Don't take my word for it, take Google's!**

fizux

  • Calf
  • *
  • Posts: 2
Re: TFTP Repair links
« Reply #1 on: September 11, 2019, 10:59:07 pm »
I am grateful for all of the hard work and support provided on this issue, but one problem I have had is that many of the resources (TFTP Repair links, Debian images, etc.) miss the LS-QL series linkstation (e.g. LS-Q4.0TL/R5), which from experience appear not to be compatible with the LS-QVL series.

Any suggestions of an alternate series to try as a replacement, or would it be possible to publish resources for this series?  For example, Debian supported models include:
kuroboxpro, ls-chl, ls-wsgl, ls-wtgl, lspro_ls-gl, ls-chlv2, ls-qvl, ls-vl, ls-wsxl, ls-wvl, ls-wxl, ls-xhl
but not ls-ql.


oxygen8

  • The Oxy-genuine article
  • El Toro
  • ****
  • Posts: 353
  • Giving you some breathing space.
Re: TFTP Repair links
« Reply #2 on: September 12, 2019, 05:39:38 am »

1000001101000

  • Debian Wizard
  • El Toro
  • ****
  • Posts: 322
  • There's no problem so bad you cannot make it worse
Re: TFTP Repair links
« Reply #3 on: September 12, 2019, 09:53:52 am »
I never noticed that about the LS-QL before. Despite being listed on that slide deck I don't see that a device tree ever ended up in the kernel nor was part of the original project as far as I can see.

Looking at the specs for the various devices I would suspect that the installer for the lspro_ls-gl or ls-chl might work with the LS-QL. There could be differences that prevent leds/buttons/usb ports from working but it's worth a try.

Oddly enough I'm currently working on adding Debian support for additional devices not covered by previous projects (I'll put up a separate post about that at some point). I should be able to add the LS-QL to that project.

Let me know if you have any success with the ls-gl/ls-chl files.


1000001101000

  • Debian Wizard
  • El Toro
  • ****
  • Posts: 322
  • There's no problem so bad you cannot make it worse
Re: TFTP Repair links
« Reply #4 on: September 12, 2019, 07:57:56 pm »
I thought I had an LS-QL but it turned out to be a QVL.

Iím afraid I wonít be able to do any hands-on testing. If youíre able to get it running using the files for another device I can help modify the device tree for the LS-QL if youíre interested.

fizux

  • Calf
  • *
  • Posts: 2
Re: TFTP Repair links
« Reply #5 on: September 13, 2019, 09:38:05 am »
I did try using the LS-QVL firmware, but that did not work and I had to go back to LS-QL.  The slide deck has LS-QL listed as 2nd Gen, and LS-QVL as 3rd Gen.

Thanks, if you have the ability to add a LS-QL branch, I would certainly provide feedback from testing.

Eastmarch

  • 1500 Lb Water Buffalo
  • Administrator
  • *****
  • Posts: 322
Re: TFTP Repair links
« Reply #6 on: September 17, 2019, 11:00:48 am »
LS-QL was the same generation as LS-CH. I'd def try it. 
**A single copy of data, even on a RAID array, is NOT a backup! Hard drive failure is not a question of IF, but WHEN! Don't take my word for it, take Google's!**

oxygen8

  • The Oxy-genuine article
  • El Toro
  • ****
  • Posts: 353
  • Giving you some breathing space.
Re: Reinstalling to an out-of warranty NAS with blank drives
« Reply #7 on: September 19, 2019, 12:21:35 am »
LS-CHL with blue webif (HANZEI) uses the Orion chipset, like the LS-QL
The LS-CHL with red webif (YURYAKU) uses the Kirkwood like the LS-QVL

Debian on the old LS-CHLV1:
https://www.onderka.com/computer-und-netzwerk/buffalo-linkstation-live-ls-chl-v1-v2-und-v3/

Maybe it is possible to modify this for the LS-QL

1000001101000

  • Debian Wizard
  • El Toro
  • ****
  • Posts: 322
  • There's no problem so bad you cannot make it worse
Re: Reinstalling to an out-of warranty NAS with blank drives
« Reply #8 on: September 19, 2019, 10:35:21 am »
We took the conversation offline and have been looking into making this work. The installer for the ls-chl didn't work out of the box, I'm still trying to figure out why.

stay tuned.