QNAPedia Community Wiki

Skip to content

Firmware Recovery

From QNAPedia

Jump to: navigation, search

Contents

Firmware Recovery Guide for ARM based NAS

Applied QNAP NAS models

For firmware update of QNAP TS-110, TS-112, TS-119, TS-210, TS-212, TS-219, TS-219P, TS-410, TS-410U, TS-412, TS-412U, TS-419P, TS-419U, TS-419U+, TS-119P+, TS-219P+, TS-419P+, TS-120, TS-121, TS-220, TS-221, TS-420, TS-421, TS-420U, TS-421U Turbo NAS servers via recovery mode.


When to use the firmware recovery guide


This firmware recovery guide is intended for users who encounter system startup failure due to incomplete or unsuccessful firmware update caused by power outage or network disconnection during the process. To verify if this guide applies to your NAS, follow the steps below:

1. Power off the NAS.
2. Remove all the hard disks.
3. Power on the NAS.
4. Wait for ten seconds and check if you hear a short beep.
5. After the short beep, wait for two minutes to check if you hear a long beep.
6. If you only hear a short beep or do not hear any beep, follow the instructions of this guide to recover your NAS.

Instructions for NAS Recovery - Method 1 (Live CD)


Follow the steps below to recover the NAS.

1. Download the live CD ISO image from the following links and "BURN" it into an empty CD-R. 

    For all TS-x10, TS-x12, TS-x19, TS-x20, TS-x21 series, please use the folloiwng link: 

    http://eu1.qnap.com/Storage/tsd/live_cd/live-cd-20130730.iso


    For TS-112P, TS-212P, TS-212E and HS-210, please use the following link: 

    http://eu1.qnap.com/Storage/tsd/live_cd/live-cd-20140212.iso


2. Burn the ISO file to a CD.

3. Insert the CD to a PC and boot up from the CD.

4. When the login prompt is shown, go to next step. No login is required. 

5. Power off the NAS and remove all hard disks.

6. Connect the NAS to the PC directly by an Ethernet cable. If your NAS includes two LAN ports, please connect LAN 2 of the NAS to the PC. If it doesn't work try it again with LAN 1

7. Find the RESET button of the NAS (see below).

Reset button.png

8. Use a pen or any pointed object to press and hold the RESET button.  Then press the Power button on the front panel to power on the NAS at the meanwhile.

9. Please keep holding the RESET button and Power button until you hear two short beeps in about 5-8 seconds. The Status LED of the NAS should be flashing red and green and then glows red.

10. The LED on the LAN port of the NAS should be flashing for the first few seconds and then glows green or orange.

11. LEAVE THE NAS ALONE AT THIS POINT! DO NOT TURN IT OFF OR UNPLUG THE POWER CORD. Wait for about 5 minutes.

Note: To make sure if the data has been delvering to NAS or not, you can login to the console by the username and password, root/root. Then, use the command "ifconfig" to see if the number of TX on eth0 is increasing or not. 


12. Wait until you hear a long beep or two short beeps and see the Status LED flashing green. The NAS will then reboot. No intervention required during this stage.

13. The reboot should take about 3 minutes. After that you should hear a long beep.

14. Connect the NAS to your switch or router and use QNAP Finder to find the NAS.

15. Power off the NAS, plug the HDD(s) back by original order, then power it on.

16. Download the latest firmware from QNAP website(http://www.qnap.com/download.asp), unzip the file, and perform firmware upgrade through QNAP Finder.

17. On QNAP Finder, select the NAS, click Tools -> Update Firmware to update the NAS firmware.


How to do if the startup problem persists


If the startup problem persists, please return the NAS to your local dealer or distributor for system repair immediately.

NOTE: If the recover progress does not work at the first time, please try another PC or reburn the ISO image. 


Instructions for NAS Recovery - Method 2 (VMware Player)


Follow the steps below to recover the NAS.

1. Download the live CD ISO image from the following links:

     For all TS-x10, TS-x12, TS-x19, TS-x20, TS-x21 series, please use the folloiwng link:
     http://eu1.qnap.com/Storage/tsd/live_cd/live-cd-20130730.iso

     For TS-112P, TS-212P, TS-212E and HS-210, please use the following link:
     http://eu1.qnap.com/Storage/tsd/live_cd/live-cd-20140212.iso

2. Download and install VMware Player:
    http://www.vmware.com/go/downloadplayer/

3. Disconnect any wireless network connections on your PC 

4. Run VMware Player, and click on "Create a New Virtual Machine"

VMware1.PNG


5. Select "Installer disc image file (iso)", and choose the ISO file downloaded in Step 1. Click "Next"

VMware2.PNG


6. Select "Linux" and "Ubuntu", click "Next"

VMware3.PNG

7. For virtual machine name and disk settings, click "Next".

8. Click "Customize Hardware"

VMware4.PNG


9. Under "Network Adapter", select Network Connection as "Bridged", then click "Close"

  VMware5.PNG


10. Click "Finish". The virtual machine will start booting in a window. (If you get a message about software updates, click "Remind Me Later")

11. When the login prompt is shown, go to next step. No login is required.

12. Power off the NAS and remove all hard disks.

13. Connect the NAS to the PC directly by an Ethernet cable. If your NAS includes two LAN ports, please connect LAN 2 of the NAS to the PC. If it doesn't work try it again with LAN 1

14. Find the RESET button of the NAS (see below).

Reset button.png

15. Use a pen or any pointed object to press and hold the RESET button.  Then press the Power button on the front panel to power on the NAS at the meanwhile.

16. Please keep holding the RESET button and Power button until you hear two short beeps in about 5-8 seconds. The Status LED of the NAS should be flashing red and green and then glows red.

17. The LED on the LAN port of the NAS should be flashing for the first few seconds and then glows green or orange.

18. LEAVE THE NAS ALONE AT THIS POINT! DO NOT TURN IT OFF OR UNPLUG THE POWER CORD. Wait for about 5 minutes.

      Note: To make sure if the data has been delvering to NAS or not, you can login to the console by the username and password, root/root. Then, use the command "ifconfig" to see if the number of TX on eth0 is increasing or not. 

19. Wait until you hear a long beep or two short beeps and see the Status LED flashing green. The NAS will then reboot. No intervention required during this stage.

20. The reboot should take about 3 minutes. After that you should hear a long beep.

21. Connect the NAS to your switch or router and use QNAP Finder to find the NAS.

22. Power off the NAS, plug the HDD(s) back by original order, then power it on.

23. Download the latest firmware from QNAP website(http://www.qnap.com/download.asp), unzip the file, and perform firmware upgrade through QNAP Finder.

24. On QNAP Finder, select the NAS, click Tools -> Update Firmware to update the NAS firmware.


What to do if the startup problem persists


If the startup problem persists, please return the NAS to your local dealer or distributor for system repair immediately.

NOTE: If the recover progress does not work at the first time, please try another PC and make sure all other network connections are disabled. 


Firmware Recovery Guide for x86-based NAS

Applied QNAP NAS models

TS-239 Pro, TS-239 Pro II, TS-239 Pro II+, TS-439 Pro, TS-439 Pro II, TS-439 Pro II+, TS-259 Pro, TS-259 Pro+, TS-459 Pro, TS-459 Pro+, TS-459 Pro II, TS-459U, TS-459U+, TS-559 Pro, TS-559 Pro+, TS-559 Pro II, TS-639 Pro, TS-659 Pro, TS-659 Pro+, TS-659 Pro II, TS-859 Pro, TS-859 Pro+, TS-859U, TS-859U+, TS-509, TS-809, TS-809U, SS-439, SS-839

When to use the firmware recovery guide


This firmware recovery guide is intended for users who encounter system startup failure due to incomplete or unsuccessful firmware update caused by power outage or network disconnection during the process. To verify if this guide applies to your NAS, follow the steps below:

1. Power off the NAS.
2. Remove all the hard disks.

Remove HDDs.jpg
3. Connect the NAS with a VGA monitor and a USB keyboard.

Monitor&Keyboard.jpg
4. Power on the NAS

“AMI BIOS …”--> the following screen shows the BIOS can startup correctly
“1023MB OK” --> DRAM has been detected (DRAM size is depend on NAS model)
“128MB ATA Flash Disk ADAA408J” --> DOM has been detected (DOM size is depend on NAS model)
BIOS info.jpg

If the BIOS cannot be started or any component cannot be detected correctly, like DRAM, DOM, you need to contact with local distributor and send back the NAS for repair. If the NAS system can be startup correctly after HDD removed, you will need to replace the HDD as the startup failed issue should be caused by HDD.

5. When the screen will show "Uncompressing Linux..." .

Uncompressing Linux.jpg

At this stage, the system on the DOM is starting to boot up. However, if the system is corrupted, some error message might occur on the screen during the startup process. You can try to recover the system on the DOM by following steps.

6. To recover the system on the DOM, you need follow the step A and step B.

    A. Create a USB boot disk
    B. Use the USB boot disk to refresh the system on the DOM.

Instructions for NAS Recovery


A. How to create a USB boot disk.


1. Download the unetbootin utility and iso file from the link below:
http://unetbootin.sourceforge.net/  - e.g. please select “Download for windows” if you are using Windows platform on your PC.
http://distro.ibiblio.org/damnsmall/current/dsl-4.4.10-initrd.iso

2. Plug a USB flash drive to your PC. The USB flash drive should be 1GB or 2GB. Please format the USB flash drive as FAT32.
FAT32.jpg

3. Install and run the unetbootin utility on your PC. Then select "Damn Small Linux" for Distribution.
4. Select “Diskimage”, and choose the iso file downloaded in step 1.
5. Make sure the Type is on “USB Drive”, and click “OK” to install the boot system on the USB drive.
Unetbootin-damnsmall2.png

6. Click “Exit” after process completed.
7. Check your NAs model and download the system full image from the link below.
8. Copy system image file to the root folder of USB flash drive and rename the file to “dom.img”.

Download System Full Image
========================================================
TS-239 Pro
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-239_20091014-3.1.2.img


TS-239Pro II
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-239PROII_20100928-1.0.6.img


TS-239 Pro II+
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-239PROII+_20110118-1.0.9.img


TS-259 Pro, TS-259 Pro+
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-259_20101129-1.0.9.img


TS-269 Pro, TS-269L
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-269_20120628-1.2.2.img

TS-439 Pro
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-439_20091014-3.1.2.img


TS-439 Pro II
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-439PROII_20100928-1.0.6.img


TS-439 Pro II+
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-439PROII+_20101119-1.0.9.img


TS-439U
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-439U_20091014-3.1.2.img


TS-459 Pro, TS-459 Pro+, TS-459 Pro II
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-459_20101118-1.0.9.img


TS-459U, TS-459U+
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-459U_20101118-1.0.9.img


TS-469 Pro, TS-469L
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-469_20120628-1.2.2.img


TS-469U-RP
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-469U_20120615-1.2.2.img


TS-509 Pro
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-509_20100302-1.0.1.img


TS-559 Pro, TS-559 Pro+, TS-559 Pro II
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-559_20101118-1.0.9.img


TS-569 Pro, TS-569L
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-569_20120628-1.2.2.img


TS-639 Pro
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-639_20091014-3.1.2.img


TS-659 Pro, TS-659 Pro+, TS-659 Pro II
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-659_20101118-1.0.9.img


TS-669 Pro, TS-669L
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-669_20120628-1.2.2.img


TS-809 Pro
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-809_20101119-1.0.9.img


TS-809U
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-809U_20101119-1.0.9.img


TS-859 Pro, TS-859 Pro+
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-859_20101118-1.0.9.img


TS-859U, TS-859U+
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-859U_20101118-1.0.9.img


TS-869 Pro, TS-869L
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-869_20120628-1.2.2.img


TS-869U-RP
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-869U_20120615-1.2.2.img


TS-1269U-RP
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-1269U_20120616-1.2.2.img


SS-439
http://eu1.qnap.com/Storage/tsd/fullimage/F_SS-439_20090627-3.1.0.img


SS-839
http://eu1.qnap.com/Storage/tsd/fullimage/F_SS-839_20091014-3.1.2.img
========================================================


B. How to use USB boot disk to refresh the DOM for x86 based NAS


1. Power off the NAS.
2. Remove all the hard disks.
Remove HDDs.jpg

3. Connect the NAS with a VGA monitor, USB keyboard, and the bootable USB disk.

Monitor&Keyboard.jpg

4. Power on the NAS and press F11 key repeatedly.

Pressing button F11.jpg

5. Select the USB flash drive as your boot device. If you didn’t the menu and the system continues to process with the command line mode, please reboot the NAS and repeat the step 4.
[NOTE]: If there are two USB devices, don't select “USB DISK MODULE PMAP”.
Select USB drive.jpg

6. On the following menu, select Default for monitor setting. Then, press <SPACE> to continue.
Monitor setting.jpg

7. After boot up completely, you should see the following window.

Xwindow.jpg

8. Press Ctrl+Alt+Del to enter command line.
9. Input the following command:
# sudo su
# fdisk –l

/dev/sda is your flash drive.
/dev/sdb or /dev/hda is the DOM drive. The size should be 128 MB or 512 MB depend on the NAS model.
Fdisk-l.jpg

10. Then, input the following command:
# mkdir usbdrive
# mount /dev/sda1 /home/dsl/usbdrive
# cd /home/dsl/usbdrive

11. Input the following command:
# cp dom.img /dev/sdb

“/dev/sdb” or “/dev/hda” is the DOM drive.

"dom.img" is your firmware name.
/dev/sdb or /dev/hda is the drive name of your dom. (depend on NAS model)

12. Reboot your NAS.
# reboot
Cp image.jpg

13. After the system has been recovered, the NAS should boot up correctly and can be found by QNAP Finder.

14. When the firmware version is on 1.x.x, it is factory test firmware. No HDD can be detected with this firmware.  Need to update the firmware to official firmware first.

      For TS-239, TS-439, TS-439U, TS-509, TS-639, TS-809, TS-809U, SS-439 and SS-839, please follow the procedures on the following link to update the firmware to 3.5.0.

      http://wiki.qnap.com/wiki/NAS_Firmware_Update_When_No_HDD(s)_Installed

      For other x-86 based NAS, please download the firmware 3.4.x from QNAP website and use QNAP Finder to update the firmware.

16. After firmware update by QNAP Finder, you can then plug the HDD(s) back to the NAS.  After boot up, 

  •       If the HDD(s) have been used on the NAS before, the firmware on the NAS and the HDDs may be inconsistent, you need to update the firmware again. 
  •       If the HDD(s) is brand new, you can then start the initialization procedures. 



Firmware Recovery Guide for TS-x79, TS-x70 Series NAS

Applied QNAP NAS models

TS-879 Pro, TS-879U-RP, TS-1079 Pro, TS-1279U-RP, TS-EC879U-RP, TS-EC1279U-RP, TS-470, TS-470U-RP/SP, TS-670 Pro, TS-870 Pro, TS-870U-RP, TS-1270U-RP, TS-1679U-RP, TS-EC1679U-RP

When to use the firmware recovery guide


This firmware recovery guide is intended for users who encounter system startup failure due to incomplete or unsuccessful firmware update caused by power outage or network disconnection during the process. To verify if this guide applies to your NAS, follow the steps below:

1. Power off the NAS.
2. Remove all the hard disks.

RemoveDrives x79.jpg


3. Connect the NAS with a VGA monitor and a USB keyboard.

Monitor Keyboard x79.jpg
4. Power on the NAS

The BIOS Date and Version should be displayed. This shows the BIOS can startup correctly
Bios 0.JPG

If the BIOS cannot be started, you need to contact with local distributor and send back the NAS for repair. If the NAS system can be started up correctly after removing HDD, you will need to replace the HDD as the startup failed issue is caused by HDD.

5. After the BIOS info, you will see status messages similar to below:

Bios 01.JPG

At this stage, the system on the DOM is starting to boot up. However, if the system is corrupted, some error message might occur on the screen during the startup process. You can try to recover the system on the DOM by following steps.

6. To recover the system on the DOM, you need follow the step A and step B.

    A. Create a USB boot disk
    B. Use the USB boot disk to refresh the system on the DOM.

Instructions for NAS Recovery


A. How to create a USB boot disk.


1. Download the unetbootin utility and iso file from the link below:
http://unetbootin.sourceforge.net/  - e.g. please select “Download for windows” if you are using Windows platform on your PC.
http://eu1.qnap.com/Storage/tsd/clonezilla-live-1.2.11-23-i486.iso

2. Plug a USB flash drive to your PC. The USB flash drive should be 1GB or 2GB. Please format the USB flash drive as FAT32.
FAT32.jpg

3. Run the unetbootin utility on your PC. Then select "CloneZilla" for Distribution.
4. Select “Diskimage”, and choose the iso file downloaded in step 1.
5. Make sure the Type is on “USB Drive”, and click “OK” to install the boot system on the USB drive.
Unetbootin-clonezilla.png

6. Click “Exit” after process completed.
7. Check your NAS model and download the system full image from the link below.
8. Copy system image file to the root folder of USB flash drive and rename the file to “dom.img”.

Download System Full Image
========================================================
TS-879 Pro
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-879_20110901-1.1.5.img


TS-879U-RP, TS-EC879U-RP
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-879U_20110901-1.1.5.img


TS-1079 Pro
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-1079_20110901-1.1.5.img


TS-1279U-RP, TS-EC1279U-RP
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-1279U_20110901-1.1.5.img


TS-1679U-RP, TS-EC1679U-RP
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-1679U_20120523-1.2.1.img


TS-470 / TS-470 Pro
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-470_20131006-1.2.7.img


TS-470U-RP/SP
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-470U_20131216-1.2.8.img


TS-670 Pro
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-670_20131006-1.2.7.img


TS-870 Pro
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-870_20131006-1.2.7.img


TS-870U-RP
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-870U_20130726-1.2.7.img


TS-1270U-RP
http://eu1.qnap.com/Storage/tsd/fullimage/F_TS-1270U_20130708-1.2.7.img


========================================================


B. How to use USB boot disk to refresh the DOM for TS-x79, TS-x70U series NAS


1. Power off the NAS.
2. Remove all the hard disks.
RemoveDrives x79.jpg


3. Connect the NAS with a VGA monitor, USB keyboard, and the bootable USB disk.

Monitor Keyboard x79.jpg


4. Power on the NAS and press the <DEL> or <F2> key when you see the message to enter setup. 

Bios 0.JPG

5. You will enter the BIOS Setup. Press the right arrow key to navigate to the Boot settings screen, and select "Hard Drive BBS Priorities"

Bios 2.JPG

6. Select "Boot Option #1"
Bios 3.JPG
7. Select "Generic USB Flash Disk" or similar name showing your USB disk
    [NOTE]: If there are two USB devices, don't select “USB DISK MODULE PMAP”.
Bios 4.JPG

8. Press <F4> and select "Yes" to save and exit. 

Bios 5.JPG

9. The CloneZilla loader will start up. Press <Enter>.

Bios 6.JPG
10. When asked to "Choose Language" and "Configuring Console-data", press <Enter>

11. At the "Start Clonezilla" option, select "Enter_shell". Press <Enter> twice.

Bios 9.JPG

12. You will see the Linux command line. Enter the following commands:
# sudo su
# fdisk –l

/dev/sda is your flash drive.
/dev/sdb is the DOM drive. The size should be 515 MB.
Bios 11.JPG

13. Then, input the following commands:
# cd /live/image
# cp dom.img /dev/sdb

"dom.img" is your firmware name.
/dev/sdb is the drive name of the DOM.

14. Reboot your NAS.
# reboot

Bios 12.JPG

15. After the system has been recovered, the NAS should boot up correctly and can be found by QNAP Finder.

16. Please download the latest firmware from the QNAP website and use QNAP Finder to update the firmware to latest version.

17. After firmware update by QNAP Finder, you can then plug the HDD(s) back to the NAS. After boot up:   

  •       If the HDD(s) have been used on the NAS before, the firmware on the NAS and the HDDs may be inconsistent, you need to update the firmware again. 
  •       If the HDD(s) is brand new, you can then start the initialization procedures. 


What to do if the startup problem persists


If the startup problem persists after refresh the system on the DOM, please return the NAS to your local dealer or distributor for system repair immediately.

 


 

Personal tools
Language