Difference between revisions of "Revert Buffalo Linkstation Mini To Stock Firmware"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
(Updated based on tests of previous document.)
Line 1: Line 1:
 
{{Template:Articles|LS-WSGL/R1|Firmware}}
 
{{Template:Articles|LS-WSGL/R1|Firmware}}
  
{{Brick|These instructions are intended for (and were tested successfully with) Linkstation Mini models LS-WSxxxxGL/R1.  Other models should download the correct TFTP and Updater software from Buffalo.  This procedure is not guaranteed to work for your Linkstation Mini model.  Proceed at your own risk.}}
+
{{Brick|These instructions are intended for Linkstation Mini models LS-WSxxxxGL/R1.  Other models should download the correct TFTP and Updater software from Buffalo.  This procedure is not guaranteed to work for your Linkstation Mini model.  Proceed at your own risk.}}
  
 
[[Image:LS_WSGL.jpg|thumb|right|Linkstation Mini]]
 
[[Image:LS_WSGL.jpg|thumb|right|Linkstation Mini]]
  
 
__TOC__
 
__TOC__
 +
 +
== Prerequisites ==
 +
# Buffalo Linkstation Mini
 +
#* These instructions were tested successfully with Linkstation Mini model LS-WS1.0TGL/R1, but other models may work as well
 +
# A computer which can mount SATA hard drives (required to erase drives)
 +
# A computer running the Microsoft Windows operating system (required to rebuild device)
  
 
== Overview ==
 
== Overview ==
 
# Erase both hard drives
 
# Erase both hard drives
# Boot device in EM Mode
 
 
# Use TFTP Boot software to boot device
 
# Use TFTP Boot software to boot device
# Use LSUpdater software to rebuild entire device.
+
# Use LSUpdater software to rebuild entire device
  
 
== Procedure ==
 
== Procedure ==
 
<ol>
 
<ol>
<li> Disassemble device and remove both hard drives (per instructions at [[Disassemble_the_LS_MINI]])
+
=== Erase Both Hard Drives ===
<li> Delete all partitions from both hard drives (device will only use TFTP when boot partition is missing)
+
<li> Disassemble device and remove both hard drives (per these [[Disassemble_the_LS_MINI|instructions]])
<li> Reassemble device
+
<li> Attach both drives to the SATA ports on your computer
<li> Change your network segment to 192.168.11.x (or wire device directly to computer using network cable)
+
<li> Boot your preferred operating system
<li> Change computer IP address to 192.168.11.1 (subnet 255.255.255.0)
+
<li> Delete all partitions from both hard drives (TFTP Boot only works when drive partitions are missing)
 +
<li> Reassemble device, but '''do not power it on yet'''
 +
 
 +
=== Install and Configure Software ===
 +
<li> Use a computer with the Microsoft Windows operating system (the LSUpdater software requires it)
 
<li> Download and extract TFTP boot recovery software ( ftp://24.153.165.234/disk1/share/nas-recovery/TFTP%20Boot%20Recovery%20LS-WSGL%201.05.exe )
 
<li> Download and extract TFTP boot recovery software ( ftp://24.153.165.234/disk1/share/nas-recovery/TFTP%20Boot%20Recovery%20LS-WSGL%201.05.exe )
<li> Download and extract LSUpdater software on computer ( http://www.buffalotech.com/support/getfile/lswsgl-106.zip )
+
<li> Download and extract LSUpdater software ( http://www.buffalotech.com/support/getfile/lswsgl-106.zip )
 
<li> Adjust [Flags] section in LSUpdater.ini  
 
<li> Adjust [Flags] section in LSUpdater.ini  
 
<pre>
 
<pre>
Line 32: Line 41:
 
  Debug = 1
 
  Debug = 1
 
</pre>
 
</pre>
<li> Disable firewall on your computer (firewalls can interfere with install)
+
<li> Disable firewall software (firewalls can interfere with network traffic)
<li> Run "TFTP Boot.exe" on computer
+
<li> Change computer IP address to 192.168.11.1 (subnet 255.255.0.0).  The device expects to find the TFTP server at this address
<li> Boot device in EM mode (power off, hold function button while powering on, release function button when blue light starts flashing, press and release function button again, press function button when red light starts flashing, repeat until TFTP boot succeeds)
+
<li> Run "TFTP Boot.exe"
<li> Wait for TFTP server to send images to device (initrd.buffalo and uImage.buffalo)</li>
+
 
 +
=== Boot Device ===
 +
<li> Attach device to network (or directly to computer using standard ethernet cable)
 +
<li> Boot device in EM mode using TFTP
 +
<ol>
 +
<li> Move device power switch to "off" position
 +
<li> Remove power cable from device
 +
<li> Attach power cable to device
 +
<li> Wait several seconds for lights to turn off
 +
<li> Hold function button while moving power switch to "on" position
 +
<li> Release function button when single blue light starts flashing
 +
<li> Press and release function button again
 +
<li> Press function button when red light starts flashing (repeat until red light stops flashing)
 +
<li> Wait for TFTP server to send images to device (initrd.buffalo and uImage.buffalo)
 +
</ol>
  
 
'''Do not proceed unless the TFTP server indicates successful transfer of initrd.buffalo and uImage.buffalo'''
 
'''Do not proceed unless the TFTP server indicates successful transfer of initrd.buffalo and uImage.buffalo'''
  
 +
<li> Wait 30 seconds for device to complete boot process
 
<li> Close TFTP Boot window
 
<li> Close TFTP Boot window
<li> Run LSUpdater.exe on computer
 
<li> Right-click on title bar of the window (where it says Updater)
 
<li> Select "Debug(D)..." from the context menu</li>
 
  
 +
 +
=== Rebuild Device ===
 
{{Warning|'''The following commands will completely erase and rebuild the Linkstation Mini.  ABSOLUTELY ALL DATA ON THE DEVICE WILL BE LOST.  Make sure that you are using the the correct firmware for the intended device (i.e. LS-WSxxxxGL/R1).  If you have selected the wrong firmware and/or device, THEN THIS PROCEDURE WILL BRICK YOUR DEVICE.  Proceed at your own risk.'''}}
 
{{Warning|'''The following commands will completely erase and rebuild the Linkstation Mini.  ABSOLUTELY ALL DATA ON THE DEVICE WILL BE LOST.  Make sure that you are using the the correct firmware for the intended device (i.e. LS-WSxxxxGL/R1).  If you have selected the wrong firmware and/or device, THEN THIS PROCEDURE WILL BRICK YOUR DEVICE.  Proceed at your own risk.'''}}
  
<li> Select all checkboxes in both "Update" and "Config" frames (update boot, update kernel, update initrd, update rootfs, do not check version, rebuild partition table, delete user-config, force update)
+
<li> Disable firewall software (otherwise the update will likely fail and might brick the device)
<li> Make sure that you have selected the correct device, then click on the "Update" button to begin the update
+
<li> Run LSUpdater.exe
 +
<li> Configure updater software
 +
<ol>
 +
<li> Right-click on title bar of the window (on the word "Updater")
 +
<li> Select "Debug(D)..." from the context menu</li>
 +
<li> Select all checkboxes in both "Update" and "Config" frames (Update BOOT, Update KERNEL, Update initrd, Update rootfs, Do not check version, Rebuild partition table, Delete user-config, Force update)
 +
<li> Select "Execute the change as following" checkbox in the "Changing of IP Address" frame
 +
<li> Change the IP address to 192.168.11.150 (subnet 255.255.0.0)
 +
<li> Click on the OK button to save choices
 +
<li> Confirm the change of IP address (ignore any DHCP error messages)
 +
</ol>
 +
 
 +
<li> Make sure that you have selected the correct device, then click on the "Update" button to rebuild the device
 
<li> Confirm that you want to format and update the target device
 
<li> Confirm that you want to format and update the target device
 
<li> Wait for update process to complete
 
<li> Wait for update process to complete
<li> Close LSUpdater utility.
+
<li> Check the IP Address and write it down if it has changed (via DHCP)
<li> Enable firewall on your computer</li>
+
<li> Close LSUpdater utility
 +
<li> Enable firewall software</li>
 +
<li> Restore the IP address on your computer (undo prior change to 192.168.11.1)</li>
 +
 
 +
'''This will restore the device to factory settings; however, the web interface will be in Japanese language.  The next section explains how to change the language and character set as desired:'''
  
'''This will restore the device to factory settings; however, the web interface will be in Japanese language.  Follow these steps to change to the language and character set of your choice...'''
+
=== Configure Device Language ===
  
<li> Open the device web interface in your browser (should be [http://192.168.11.150]... on DHCP networks, consult the router DHCP client list)
+
<li> Open the device web interface in your browser (should be [http://192.168.11.150 http://192.168.11.150]... or use the new IP address assigned by DHCP)
 
<li> Login to device (user = admin, password = password)
 
<li> Login to device (user = admin, password = password)
<li> Change the language and character set as needed using second menu item (looks like folded paper)
+
<li> Click on second menu item (the icon looks like folded paper)
 +
<li> Change the language and character set (the last two dropdown lists) as desired (English and ISO8859_1)
 +
<li> Click on the button at the bottom of the page
 +
<li> Click on the TOP menu and verify that the language settings took effect
 
</ol>
 
</ol>
  
Line 67: Line 109:
 
*[http://forums.buffalotech.com/t5/Storage/FAQ-2-of-4-Force-Firmware-update-procedure-please-read-this/td-p/11011 Buffalo Forum Article about Forcing Firmware Update]
 
*[http://forums.buffalotech.com/t5/Storage/FAQ-2-of-4-Force-Firmware-update-procedure-please-read-this/td-p/11011 Buffalo Forum Article about Forcing Firmware Update]
 
*[ftp://24.153.165.234/disk1/share/nas-recovery/ TFTP Boot software for various Buffalo Linkstation models]
 
*[ftp://24.153.165.234/disk1/share/nas-recovery/ TFTP Boot software for various Buffalo Linkstation models]
*[http://www.buffalotech.com/support/downloads/ Buffalo downloads area (for Updater software download)]
+
*[http://www.buffalotech.com/support/downloads/ Buffalo downloads area (for downloading Updater software)]

Revision as of 17:20, 17 July 2010


Kurobrick.png
WARNING!

There is a possibility that you could brick your NAS with these instructions. Please make sure that you read the entire page carefully. These instructions are intended for Linkstation Mini models LS-WSxxxxGL/R1. Other models should download the correct TFTP and Updater software from Buffalo. This procedure is not guaranteed to work for your Linkstation Mini model. Proceed at your own risk.



Linkstation Mini

Contents


Prerequisites

  1. Buffalo Linkstation Mini
    • These instructions were tested successfully with Linkstation Mini model LS-WS1.0TGL/R1, but other models may work as well
  2. A computer which can mount SATA hard drives (required to erase drives)
  3. A computer running the Microsoft Windows operating system (required to rebuild device)

Overview

  1. Erase both hard drives
  2. Use TFTP Boot software to boot device
  3. Use LSUpdater software to rebuild entire device

Procedure

    Erase Both Hard Drives

  1. Disassemble device and remove both hard drives (per these instructions)
  2. Attach both drives to the SATA ports on your computer
  3. Boot your preferred operating system
  4. Delete all partitions from both hard drives (TFTP Boot only works when drive partitions are missing)
  5. Reassemble device, but do not power it on yet

    Install and Configure Software

  6. Use a computer with the Microsoft Windows operating system (the LSUpdater software requires it)
  7. Download and extract TFTP boot recovery software ( ftp://24.153.165.234/disk1/share/nas-recovery/TFTP%20Boot%20Recovery%20LS-WSGL%201.05.exe )
  8. Download and extract LSUpdater software ( http://www.buffalotech.com/support/getfile/lswsgl-106.zip )
  9. Adjust [Flags] section in LSUpdater.ini
     [Flags]
     VersionCheck = 0
    
  10. Add section to LSUpdater.ini
     [SpecialFlags]
     Debug = 1
    
  11. Disable firewall software (firewalls can interfere with network traffic)
  12. Change computer IP address to 192.168.11.1 (subnet 255.255.0.0). The device expects to find the TFTP server at this address
  13. Run "TFTP Boot.exe"

    Boot Device

  14. Attach device to network (or directly to computer using standard ethernet cable)
  15. Boot device in EM mode using TFTP
    1. Move device power switch to "off" position
    2. Remove power cable from device
    3. Attach power cable to device
    4. Wait several seconds for lights to turn off
    5. Hold function button while moving power switch to "on" position
    6. Release function button when single blue light starts flashing
    7. Press and release function button again
    8. Press function button when red light starts flashing (repeat until red light stops flashing)
    9. Wait for TFTP server to send images to device (initrd.buffalo and uImage.buffalo)

    Do not proceed unless the TFTP server indicates successful transfer of initrd.buffalo and uImage.buffalo

  16. Wait 30 seconds for device to complete boot process
  17. Close TFTP Boot window

    Rebuild Device

    Nuvola apps important.png 
    WARNING!

    The following commands will completely erase and rebuild the Linkstation Mini. ABSOLUTELY ALL DATA ON THE DEVICE WILL BE LOST. Make sure that you are using the the correct firmware for the intended device (i.e. LS-WSxxxxGL/R1). If you have selected the wrong firmware and/or device, THEN THIS PROCEDURE WILL BRICK YOUR DEVICE. Proceed at your own risk.


  18. Disable firewall software (otherwise the update will likely fail and might brick the device)
  19. Run LSUpdater.exe
  20. Configure updater software
    1. Right-click on title bar of the window (on the word "Updater")
    2. Select "Debug(D)..." from the context menu
    3. Select all checkboxes in both "Update" and "Config" frames (Update BOOT, Update KERNEL, Update initrd, Update rootfs, Do not check version, Rebuild partition table, Delete user-config, Force update)
    4. Select "Execute the change as following" checkbox in the "Changing of IP Address" frame
    5. Change the IP address to 192.168.11.150 (subnet 255.255.0.0)
    6. Click on the OK button to save choices
    7. Confirm the change of IP address (ignore any DHCP error messages)
  21. Make sure that you have selected the correct device, then click on the "Update" button to rebuild the device
  22. Confirm that you want to format and update the target device
  23. Wait for update process to complete
  24. Check the IP Address and write it down if it has changed (via DHCP)
  25. Close LSUpdater utility
  26. Enable firewall software
  27. Restore the IP address on your computer (undo prior change to 192.168.11.1)
  28. This will restore the device to factory settings; however, the web interface will be in Japanese language. The next section explains how to change the language and character set as desired:

    Configure Device Language

  29. Open the device web interface in your browser (should be http://192.168.11.150... or use the new IP address assigned by DHCP)
  30. Login to device (user = admin, password = password)
  31. Click on second menu item (the icon looks like folded paper)
  32. Change the language and character set (the last two dropdown lists) as desired (English and ISO8859_1)
  33. Click on the button at the bottom of the page
  34. Click on the TOP menu and verify that the language settings took effect

Congratulations! You should now have a Linkstation Mini reverted to factory settings.


References