NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
funglenn
May 03, 2020Luminary
Downgrading Readynas from OS 6.10 to 6.9.x
The title says it all. I upgraded and now I cannot compile virtualbox 5.1 using the linux linux-4.4.190-x86_64 kernel. I know the postings say do not, but is there anyway to go back in conjunct...
- May 03, 2020
Thanks.
For anyone else contemplating the same thing:
I just tested this on a virtual NAS. It is not necessary to modify the time. Instead of modifying the length, delete one byte after the header to make up for the one added in the header. To verify everything is aligned, go to 0x4000 and verify that the ASCII data csums.md5 starts exactly at 0x4000.
I called the "update" 6.10.8. The file name doesn't matter, BTW, just how it identifies itself in the file header.
I did not see any immediate issues with access, but funglenn did see Samba issues, so consider that this downgrade may cause you to have to factory default to fix issues caused by downgrading Samba, and act accordingly.
StephenB
May 03, 2020Guru - Experienced User
If you have a full backup of your VMs and files, then you could just try to downgrade and see what happens.
- funglennMay 03, 2020LuminaryAlready tried, web gui loads it and says image older than what is already installed on system and stops with an error.
- SandsharkMay 03, 2020Sensei - Experienced User
You can do it via USB recovery. But if your drives are still installed, it may see the newer OS on them when you re-boot and update the flash to the version on them. If you have the drives out and then put the them back in after reverting, it will definately see the newer version and update the flash. So, you need to remove the partitions from the drives (losing all data) before you put them in, and start all over.
The "trick" to updating a legacy NAS to OS6 is to edit the header of the .img file with a hex editor to tell the OS the file is a 4.2.x update rather than 6.x. I have not tried to see if you can do the same with an OS6 NAS. The version number the update process checks is in plain text at the beginning of the file, and the md5sum follows it. I am pretty sure the md5sum doesn't include that version number and you can pull the same trick to downgrade an OS6 NAS. Note that the size= value is the entire length of the file, so if you are adding a digit to tell your NAS the 6.9.6 file is 6.11.0, you'll have to bump the size by one. I have no idea if it uses the time= parameter for anything, so you may need to bump it, too.
The method of updating via SSH may also work:
Via SSH, copy the firmware .img file to the /root directory then do # echo /root/name_of_image_file > /etc/.flash_update then reboot the NAS
If you find you are having problems after the downgrade with a method that doesn't already do one, you may need to factory default. So, be sure you have a backup before you try anything.
Sounds like another experiment to put on my to do list.
- funglennMay 03, 2020Luminary
So doing it via SSH did not work, when booting the system flashed a quick message, unable to update firmware. But rebooted normally into 6.10.3
one thing. This is a readynas 516 i am trying to downgrade, not a legacy unit. I am not familar with USB recovery. I need to research this ASAP.
Thanks for the hope.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!