Complete Reinitialization

From QNAPedia
Jump to navigation Jump to search

The following information is two methods for performing a complete re-installation of a QNap NAS. The first involves hot swapping the hard disks at a particular point in the process. The second involves installing the hard disks in another computer and using an application to remove the partitions from the drives.


DANGER: BOTH METHODS DESCRIBED BELOW WILL DELETE ALL DATA. IF YOU GOT IT AND WANT TO KEEP IT. BACK IT UP!


Method 1 (Hot swapping)

  1. Remove your HDD(s) from the tray (if for TS-109, the same).
  2. Boot up the NAS without HDD(s) installed. You will hear a short beep,  and after about 1~2 minutes, a long beep.
  3. The system will use the embedded image to boot up.
  4. Then run the Finder on your PC, it will help you to find the NAS on the network.
  5. Use the default ID (admin) and password (admin) to login if it asks.
  6. Hot-plug the HDD(s) into the NAS.
  7. Go through the installation process including formating hard disk and installing the firmware.


Method 2 (Manually removing partitions using a Windows PC)

  1. Shut down the NAS and remove the HDD(s) from the tray.
  2. Install the HDD(s) in a Microsoft Windows client machine.
  3. Boot the client computer and open the Computer Management application. (Right click My Computer --> Manage)
  4. Locate the HDD(s) from the NAS in the Disk Management section and delete all the partitions.
  5. Shut down the client computer and remove the HDD(s).
  6. Install the HDD(s) in the NAS.
  7. Boot the NAS. As there is no OS installed the NAS uses its embedded image to boot.
  8. Run the QNAP Finder application on the client machine to locate and connect to the NAS.
  9. Use the default username (admin) and password (admin) to login if it ask.
  10. Go through the installation process including formatting the HDD(s) and installing the firmware.


Method 3 (Manually removing partitions using QNAP)

  1. On TS110, TS210 there is fdisk available. So login to your QNAP with ssh and type in mount on the list find the device binded with /share/HDA_DATA (for single disk configuration) or /share/MD0_DATA (for raid configurations). Launch fdisk with the disk as a parameter and remove all partitions.
  1. There is also another more brutal way to destroy the partition table on the disk: dd if=/dev/urandom of=<name of your HDD device> bs=1024k count=1.