Recommended Posts

Hi all,

 

It is possible to get the DS412+ to boot from an external USB drive, I have done this successfully with an A-DATA C802.

Normally the NAS will not boot any old USB you connect to it, regardless of whether the drive is in the front USB port or the back. It turns out the BIOS is locked to only boot a certain VID/PID (F400 for both) so even if you clone the internal USB to an external drive it will not boot.

 

This has been a problem for me.. until now!

 

Attached is a ChipGenius dump of the original onboard controller showing VID/PID, device vendor, device name, manufacturer, product model and device revision. This is obtained by connecting the DS412+ onboard flash to a PC using the pinout in my other post. (synology-orig-flash.png)

 

Also attached is a dump of the original A-DATA C802 (a-data-c802-orig.png)

 

And finally, the modified A-DATA C802 (c802-modded.png) - the DS412+ will happily boot from this with a dd'd clone of the original flash. Happily, the size of this disk is 4G, much larger than the original internal flash (128mb), so now I can work on putting a whole Debian install on the USB drive and have the DS boot it.

 

Also attached is a tool that allows you to change USBest UT165 vendor/etc details (hwupgv1010v3.rar). I wouldn't try it on other USB sticks, verify you have a USBest UT165 with ChipGenius before proceeding.

 

Happy hacking...

synology-orig-flash.png

a-data-c802-orig.png

c802-modded.png

hwupgv1010v3.rar

Share this post


Link to post
Share on other sites

I should also note - I don't think the NAS will boot from the rear USB ports, only the front one.

Share this post


Link to post
Share on other sites

hallo,

 

interesting, i kind of think it the other way around, like if i get a dump of a 918+ and write it to usb flash drive on which i can change vid/pid and serial number i will be able to use that usb drive a non synology hardware to boot up the 918+ image? kind of what jun's loader does but instead of changing the vid/pid in the dsm software to the one of the hardware used it will be changing the vid/pid of the hardware to the one dsm expects to find

 

 

Share this post


Link to post
Share on other sites

Sorry - I won't post a flash dump for legal reasons - take the flash daughterboard out (it's probably USB but confirm) and dump it yourself.

I'm focused on running mainstream Linux on the Synology hardware instead of DSM, because I am not sure the Synology DSM code is sufficiently secure for my application.

Share this post


Link to post
Share on other sites

Do you think your method could be used to recover a faulty DS411?

I have one of those and the internal flash got corrupted so it wont boot (blue light of death)

I've tried serial connection to reflash the boot image, but it failed, but if I could create a usb to boot from I've have the NAS back

The boot flash is on-board so cant be removed, but have another working DS411 that I could 'hack' for the image.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now