Jman420

XPEnology on QNAP TS269Pro

Recommended Posts

Decided to move my specific discussion from the thread about installing XPEnology on a TS653 (http://xpenology.com/forum/viewtopic.php?f=2&t=4116) to its own home, here.

 

Quick Disclaimer: I take no responsibility for any side effects caused by using or implementing the below files or processes. Use at your own risk!

 

Installation:

  • The first step is to change the boot order in your TS269Pro's BIOS to boot from the USB Hub before the HDD. To accomplish this you will need an HDMI Cable, HDMI Display (monitor or tv) and a USB Keyboard all attached to your machine. Then follow the steps below:
     
    • 1. Turn on your TS269Pro and enter the BIOS settings by pressing the F2 key during start-up
      2. Use the left/right arrow keys on the keyboard to navigate to the 'Boot' options
      3. Use the up/down arrow keys to select the 'USB FDD' entry
      4. Use the +/- keys to move the 'USB FDD' entry to the top of the list
      5. [optional] Setup the BIOS Fan settings (see Solutions section below; this can be performed & tweaked at anytime)
      6. Press F10 to Save & Exit

Then follow the Installation Instructions in the links below:

  • X64 Hardware Installation:
http://www.xpenology.nl/hardware-installatie/
Nano Boat 5.0.3.2 DSM 5.0-4528 X64 : http://www.xpenology.nl/xpenology-downloads/?myvar=1456
DSM 5.0-4528 : http://www.xpenology.nl/dsm-software-download/?myvar=1442
 
Update 1 Installation: http://www.xpenology.nl/installatie-dsm-5-0-4528-update-1/
DSM 5.0-4528 Update 1 : http://www.xpenology.nl/dsm-software-download/?myvar=1546
 
Update 2 Installation: http://www.xpenology.nl/installation-dsm-5-0-4528-update-2/
DSM 5.0-4528 Update 2 : http://www.xpenology.nl/dsm-software-download/?myvar=1592

Replacing QNAP Boot Image with XPEnology:

  • This section is optional and is only for those that want to boot into XPEnology without having a Boot Stick in a USB Port. This process requires a moderate understanding of Linux and SSH/Telnet. I also recommend experimenting with booting from a Boot Stick first until you are confident you want to use XPEnology, especially since we will be using an XPEnology Boot Stick in order to write to the DOM.
    • 1. Boot into XPEnology using a Boot Stick
      2. Download the XPEnology Boot Image (IMG) to the NAS
      3. SSH/Telnet to the NAS and gain root privileges (this can be achieved by logging in as root or using the 'su' command as a regular user)
      4. Identify the device path to the DOM using: fdisk -l
      • Note: The DOM on the TS269Pro is a 515MB Internal USB Drive so you are looking for a device in the list that resembles the following:
Disk /dev/sdu: 515 MB, 515899392 bytes

In the above example the DOM device is mapped to '/dev/sdu'. This is what we are looking for so we can write the XPEnology Boot Image to it.

5. Navigate to the directory with the XPEnology Boot Image

6. Write the XPEnology Boot Image to the DOM Device using: dd if= of=

7. Wait until the process completes. You won't get a progress indicator, so be patient.

6. Remove the XPEnology Boot Stick and reboot the NAS. It should boot into XPEnology from the DOM.

Note: I have not tested undoing the above steps myself, but I see no reason that using the same process above to write the TS269Pro Boot Image shouldn't work. The TS269Pro Boot Image can be downloaded from http://wiki.qnap.com/wiki/Firmware_Recovery#Firmware_Recovery_Guide_for_x86-based_NAS.

Current Issues:

  • 1. USB 3.0 Ports are not recognized; NEC D720202 USB 3.0 Controller drivers are missing (xhci-hcd); see solution below
    2. Fan's Smart Settings in DMS (switch from High to Low setting based on internal temperature) are not supported; see solution below

Solutions:

  • 1. I have recompiled the DSM 5.0 USB Drivers with the NEC USB 3.0 Support:
https://www.dropbox.com/sh/0dfjxv51vdzhvw9/AAADGtUS6Jl9RsbVUOGlm-Apa?dl=0
Note: The only way I have been able to remove this support is through firmware updates. This process also needs to be re-applied after a firmware update. New versions of DSM could potentially break this module. Re-compiling the module against a compatible version of DSM should fix compatibility issues.
  • 1. Download the 'xhci-hcd.ko.xpen' from the above Dropbox URL to your XPEnology Server
    2. Replace the file '/lib/modules/xhci-hcd.ko' with the 'xhci-hcd.ko.xpen' from above
    3. Restart the XPEnology Server
    For details on compiling the drivers yourself see:
http://xpenology.com/forum/viewtopic.php?f=2&t=4609
For details on re-installing or downgrading DSM: http://forum.synology.com/wiki/index.php/How_to_reinstall_current_or_previous_firmware

2. We can use the built-in BIOS Settings to control the Fan's RPMs. They are more complicated than the DMS version, but effect the same result.

  • 1. Enter the BIOS Settings as described in the Installation section
    2. Use the left/right arrow keys to navigate to 'Advanced' section
    3. Use the up/down arrow keys to navigate to the 'Hardware Health Configuration' option and press Enter
    4. Change the 'SYS FAN1 Mode Setting' option to 'Automatic Mode'
    5. Change the fan settings appropriately
    • Note: I am not very familiar with these settings so hopefully someone else can provide some more insight and potentially more appropriate settings, but here is what I've found out. The first two 'Limit' values are measures of degrees Celsius and I think indicate when the fan will turn off & on respectively. The PWM values are related to voltage pulses that get sent to the fan which should result in a constant RPM. The Start PWM is the starting voltage pulse sent to the fan when it hits the Start Limit value. The Slope PWM is related to how quickly the fan will reach its maximum RPM as the internal temperature increases. My current settings are Limit of Off: 0; Limit of Start: 20; Start PWM: 80; Slope PWM: 1.0

6. Press F10 to Save & Exit

Edited by Guest

Share this post


Link to post
Share on other sites

I am proud to say that I have now fully converted my QNAP box to DMS using XPEnology. I have updated the guide above with steps to replace the QNAP Boot Image with XPEnology so you will boot into DSM without a Boot Stick. I've also found solutions to the issues that I have identified during my journey and added them to the guide above including support for the USB 3.0 ports. I have also noticed that my machine is faster since moving to DMS.

 

I'm really satisfied with the success I've had with converting my QNAP box to DMS. It is really rewarding to have gotten away from QNAP's crummy OS and all the problems I had with it. I learned a lot about Linux, cross compiling, and other stuff in the process. It was all a lot of fun. I hope this helps others converting these types of systems to DMS.

Share this post


Link to post
Share on other sites

Hi

 

Great I found this post.

 

Yes I have a TS-269 pro, yes I am fed up with Qnap software, yes I love Synology software way better, and no I have no money to buy me a new synology NAS.

 

SO I am ready to make this change.

 

One BIG question though. Do you think there is a risk of losing the data?

 

I don't mind if I need to reinstall all, or reset the machine, but losing the data would be a major problem for me.

 

Thanks and great work!!

Share this post


Link to post
Share on other sites
Hi

 

Great I found this post.

 

Yes I have a TS-269 pro, yes I am fed up with Qnap software, yes I love Synology software way better, and no I have no money to buy me a new synology NAS.

 

SO I am ready to make this change.

 

One BIG question though. Do you think there is a risk of losing the data?

 

I don't mind if I need to reinstall all, or reset the machine, but losing the data would be a major problem for me.

 

Thanks and great work!!

 

In the migration from QNAP to Synology your data will be lost (make a backup!). DSM will not recognize the QNAP partitions and will ask you to reformat the drives. Since both systems install their OS to all hard drives I would recommend reformatting anyway so that you don't end up with both OS installed on your HDDs.

Share this post


Link to post
Share on other sites

Hello!

 

Thanks for this tutorial! I was wondering if I could install Xpenology on QNAP NAS too. I recently got a 451+. I've got a few questions that if you feel you have a bit of time would be great to know.

 

1. I've been searching through this forums and also on QNAP's one to see how do I reinstall QNAP OS in case I don't want to keep Xpenology. Correct me if I'm wrong, but it seems the NAS comes with a memory built in where is the system and installation wizard that after will be installed into your disks, so I will always have that memory to restore QNAP system if I want to and not overwrite it!

 

Another doubt I had, which it seems answered on this thread is regarding data on the drives. I've got 2x4TB WD RED in RAID1 where is the system installed, but I've also got 2 single volumes (1x 2TB disk and 1x3TB disk). Could I use these somehow to backup the data there and then regenerate the RAID1 on Xpenology and copy it back (mostly backups, movies, shows, etc).

 

Thanks!

Share this post


Link to post
Share on other sites