Pomoc QNAP TS-453 Pro - DOM Recovery - BIOS update

Mohammed Mughal

Nowy użytkownik
Noobie
6 Styczeń 2020
10
0
1
QNAP
TS-x53
Ethernet
1 GbE
Hi everyone,

My QNAP was infected last September by the muhstik ransomware, luckily I regularly backup this NAS to another NAS and all my data was safe.

I powered off the NAS and disconnected it from my network.

Since then I found someone had written a decrypt tool which I tested and this worked perfectly and decrypted all my data.

As a precaution I re-initialized my NAS, which should delete all data from the disks.

This worked fine the NAS booted up OK.

As a further step I tried to perform a firmware recovery just to make sure there was no trace of the ransomware left on the NAS.

This is where I've got stuck and now my NAS will not boot.

I downloaded the latest IMG file from here

Kod:
https://eu1.qnap.com/Storage/TS-X53/TS-X53_20191206-4.4.1.1146.zip

I extracted the IMG file, renamed it to DOM.IMG and copied it to a bootable USB with "DamSmallLinux"

The TS-453Pro only has an HDMI and USB ports on the back, no VGA.

When I connect the NAS to a monitor, keyboard and bootable USB and boot the NAS there is no BIOS boot screen, just a logo made of squares saying "Starting".

I tried several times but no American Megatrends BIOS screen appears.

Once the NAS boots I then followed this link

Kod:
 http://qnapsupport.net/teknik-destek/hddler-takili-degilken-bootingde-kalan-cihazlarin-duzeltilmesi/x86-cihazlar-icin-ts-509-809-x39-x59-firmware-reflash/

basically to copy the DOM.IMG from the USB to /dev/sdb/ and rebooted the NAS.

Now the NAS does not boot and I get the following message on the monitor

"Reboot and Select proper Boot device or Insert Boot Media in selected Boot device and press a key..."

I have tried the bootable USB in all the slots and still I get the same message.

Any advice would be greatly appreciated.

Thanks in advance.
 
Okay. I will share with you custom non-QNAP and easier method to perform firmware recovery. Please follow guide from DOM.pdf file.

You will need firmware recovery image - not that one you used before. Its not firmware recovery image.
Correct one is this:

TS-x53 Series
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-X53_20140916-1.2.8.img



Hi ,
Sorry for dropping in just like this, I need the direct link for the firmware recovery image for TS-251.
Thank you and best regards
 
upload_2020-10-23_17-8-19.png
 
I've many hours and followed the instructions very carefully and I get the same result.

The QNAP boots into test mode, it get's an IP address, I can connect to it using QNAP Finder.

But the QNAP powers off after about one minute.

So I can not upgrade the firmware using QNAP Finder.

How can I stop the QNAP from powering off automatically so that the firmware upgrade can complete?

Thanks.
I've managed to recover the QNAP :)

The issue was for some reason the USB mouse and keyboard, this was causing the QNAP to power off when booted in test mode.

Just for info I did the following;

1. download Puppy Linux 32bit
2. download UNetbootin
3. download QFinder Pro from the QNAP website from Utility section
4. format a spare USB as FAT32
5. download correct RECOVERY firmware for QNAP, this is NOT the same as the firmware on the QNAP download site
6. use UNetbootin to create a bootable Puppy Linux iso on the USB
7. copy recovery firmware to USB
8. insert USB drive, mouse keyboard, monitor VGA or HDMI into QNAP
9. boot QNAP
10. keep pressing F7 or DEL or F2, for me F7 did the trick
11. you may have to try the keyboard in other USB slots if it does not respond
12. to test the keyboard is being detected press the num lock key if the LED turns on / off the keyboard has been detected
13. from the BIOS boot menu choose your USB device
14. select the first option to boot Puppy Linux
15. wait for the desktop to load
16. use the mouse to launch the terminal - aka command window, top of the screen
17. if the mouse does not work try another USB port
18. if the mouse still does not work then access the menu by pressing ALT+F1
19. navigate the menu and find terminal
20. enter the following commands

#fdisk -l

/dev/sda and /dev/sda1 are your USB drive

depending on your QNAP you will also see, this is the internal drive

/dev/sdb
/dev/hda

for me it was /dev/sdb we need to mount the USB drive to Puppy Linux

#mkdir usbdrive
#mount /dev/sba1 usbdrive/
#cd usbdrive

21. there are a coupe of options here both work

make a copy for the recovery firmware and call it dom.img

#cp F_TS-X53_20140916-1.2.8.img dom.img

copy dom.img to the target disk on the QNAP

a. #cp dom.img <target disk>

eg. #cp dom.img /dev/sdb

or extract the content of the recovery file and copy it to the target disk

b. #dd if=<recovery firmware file name> of=<target disk> bs=1K

eg. #dd if=F_TS-X53_20140916-1.2.8.img of=/dev/sdb bs=1K

power off the QNAP

#poweroff

this causes the QNAP to reboot, don't know why

22. pull out the power from the QNAP when you see the monitor display a reboot message
23. REMOVE USB drive, keyboard, mouse - this is important, this cost me HOURS of time because the QNAP will poweroff automatically if you don't remove them. You can leave your monitor plugged in.
24. plug the power back in and power on the QNAP
25. wait for QNAP to boot, you will hear beeps and Ready for testing will appear on the QNAP screen.
26. start QFinder
27. this will find your QNAP in test mode
28. right click on the name of the discovered QNAP and select Upgrade Firmware. the user name and pass word are admin all lower case
29. QFinder will reboot the QNAP after installing the firmware
30. for me it happened both times after upgrading the firmware that the QNAP screen displays SYSTEM BOOTING, but on the monitor I had the message Reboot and Select proper Boot device or Insert Boot Media in selected Boot device and press a key.

If this happens just unplug an plug the power back in it will boot up OK.

Once fully booted log in via http

Hope that helps.

Thank you Silas Mariusz for helping I would still have a dead QNAP without your help!
Quote "download correct RECOVERY firmware for QNAP" may I know where can download this file for ts-253pro?
 
I need some help. My TS-253 Pro is not able to start.
I try to connect a HDMI display and no display. I connect a usb keyboard and mouse not detect. I can only press the power button and only the fan is on.
Can I still recover my set?
 

Użytkownicy znaleźli tą stronę używając tych słów:

  1. ts 453 pro bios
  2. Starting boot
  3. u-boot
  4. udevadm
  5. mount linux
  6. https://eu1.qnap.com/Storage/TS-X53/TS-X53_20191206-4.4.1.1146.zip
  7. po hdmi starting
  8. QNAP TS-453 Pro system booting
  9. 威联通453pro固件
  10. TS 251B
  11. usb keyboard don't work in bios
  12. TS-253Pro bios
  13. https://forum.qnap.net.pl/threads/qnap-ts-453-pro-dom-recovery-bios-update.26694/
  14. ts-453pro
  15. HS-453dx
  16. tds-16489u
  17. 453a