Revert Buffalo Linkstation Mini To Stock Firmware
From NAS-Central Buffalo - The Linkstation Wiki
(Difference between revisions)
Rpinchbeck (Talk | contribs) m (Added Ubuntu for partition removal) |
Rpinchbeck (Talk | contribs) m (Hyperlink fixes) |
||
| Line 24: | Line 24: | ||
<ol> | <ol> | ||
=== Erase Both Hard Drives === | === Erase Both Hard Drives === | ||
| - | <li> Disassemble device and remove both hard drives | + | <li> [[Disassemble_the_LS_MINI|Disassemble device]] and remove both hard drives |
<li> Attach both drives to the SATA ports on your computer | <li> Attach both drives to the SATA ports on your computer | ||
<li> Boot Ubuntu 10.04 Desktop Edition CD-ROM | <li> Boot Ubuntu 10.04 Desktop Edition CD-ROM | ||
| Line 33: | Line 33: | ||
<pre> | <pre> | ||
sudo bash | sudo bash | ||
| + | |||
</pre> | </pre> | ||
| + | </li> | ||
| + | |||
<li> Disable all active swap paritions | <li> Disable all active swap paritions | ||
<pre> | <pre> | ||
swapoff -a | swapoff -a | ||
| + | |||
</pre> | </pre> | ||
| + | </li> | ||
| + | |||
{{Warning|'''The following commands will delete all partitions on both drives. <b>ABSOLUTELY ALL DATA ON THE DRIVES WILL BE LOST</b>. Proceed at your own risk.'''}} | {{Warning|'''The following commands will delete all partitions on both drives. <b>ABSOLUTELY ALL DATA ON THE DRIVES WILL BE LOST</b>. Proceed at your own risk.'''}} | ||
<li> Delete all partitions on both hard drives (TFTP Boot only works when drive partitions are missing) | <li> Delete all partitions on both hard drives (TFTP Boot only works when drive partitions are missing) | ||
| Line 43: | Line 49: | ||
echo -e "d\n1\nd\n2\nd\n3\nd\n4\nw\n" | fdisk /dev/sda | echo -e "d\n1\nd\n2\nd\n3\nd\n4\nw\n" | fdisk /dev/sda | ||
echo -e "d\n1\nd\n2\nd\n3\nd\n4\nw\n" | fdisk /dev/sdb | echo -e "d\n1\nd\n2\nd\n3\nd\n4\nw\n" | fdisk /dev/sdb | ||
| + | |||
</pre> | </pre> | ||
| + | </li> | ||
| + | |||
<li> Shutdown computer | <li> Shutdown computer | ||
<pre> | <pre> | ||
shutdown -h now | shutdown -h now | ||
| + | |||
</pre> | </pre> | ||
| + | </li> | ||
| + | |||
<li> Power off computer and remove drives | <li> Power off computer and remove drives | ||
<li> Reassemble device, but '''do not power it on yet''' | <li> Reassemble device, but '''do not power it on yet''' | ||
| Line 59: | Line 71: | ||
[Flags] | [Flags] | ||
VersionCheck = 0 | VersionCheck = 0 | ||
| + | |||
</pre> | </pre> | ||
| + | </li> | ||
| + | |||
<li> Add section to LSUpdater.ini | <li> Add section to LSUpdater.ini | ||
<pre> | <pre> | ||
[SpecialFlags] | [SpecialFlags] | ||
Debug = 1 | Debug = 1 | ||
| + | |||
</pre> | </pre> | ||
| + | </li> | ||
| + | |||
<li> Disable firewall software (firewalls can interfere with network traffic) | <li> Disable firewall software (firewalls can interfere with network traffic) | ||
<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> 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 | ||
| Line 103: | Line 121: | ||
<li> Change the IP address to 192.168.11.150 (subnet 255.255.255.0) | <li> Change the IP address to 192.168.11.150 (subnet 255.255.255.0) | ||
<li> Click on the OK button to save choices | <li> Click on the OK button to save choices | ||
| - | <li> Confirm the change of IP address (ignore any | + | <li> Confirm the change of IP address (ignore any error message about the DHCP server) |
</ol> | </ol> | ||
<li> Make sure that you have selected the correct device, then click on the "Update" button to rebuild the device | <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 (ignore any error messages) | + | <li> Wait for update process to complete (ignore any "couldn't confirm a response" error messages) |
<li> Close LSUpdater utility | <li> Close LSUpdater utility | ||
<li> Enable firewall software</li> | <li> Enable firewall software</li> | ||
| Line 128: | Line 146: | ||
'''Congratulations! You should now have a Linkstation Mini reverted to factory settings.''' | '''Congratulations! You should now have a Linkstation Mini reverted to factory settings.''' | ||
| + | |||
| + | == See Also == | ||
| + | * [[Install_Debian_5.0_(Lenny)_On_Buffalo_Linkstation_Mini|Install Debian 5.0 (Lenny) On Buffalo Linkstation Mini]] | ||
| + | * [[Install_Ubuntu_9.04_(Jaunty_Jackalope)_On_Buffalo_Linkstation_Mini|Install Ubuntu 9.04 On Linkstation Mini]] | ||
| + | * [[LS_Mini:_Install_Gentoo|Install Gentoo On Linkstation Mini]] | ||
== References == | == References == | ||
*[http://forums.buffalotech.com/t5/Storage/FAQ-3-of-4-TFTP-boot-procedure-please-read-this/td-p/11015 Buffalo Forum Article about TFTP Boot Procedure] | *[http://forums.buffalotech.com/t5/Storage/FAQ-3-of-4-TFTP-boot-procedure-please-read-this/td-p/11015 Buffalo Forum Article about TFTP Boot Procedure] | ||
*[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/ | + | *[ftp://24.153.165.234/array1/share/nas-recovery/ TFTP Boot software for various Buffalo Linkstation models] |
*[http://www.buffalotech.com/support/downloads/ Buffalo downloads area (for downloading Updater software)] | *[http://www.buffalotech.com/support/downloads/ Buffalo downloads area (for downloading Updater software)] | ||
Revision as of 18:05, 28 October 2010
|
Contents |
Overview
The following process reverts the firmware and hard drives in a Buffalo Linkstation Mini to its factory default configuration. Here is how the process works:
- Delete all partitions on both hard drives
- Use TFTP Boot software to boot device in EM Mode
- Use LSUpdater software to rebuild entire device
Requirements
- Buffalo LinkStation Mini
- Ubuntu 10.04 Desktop Edition CD-ROM (download and burn this disc image)
- A computer which can mount SATA hard drives (required to erase hard drives)
- A computer running the Microsoft Windows operating system (required to rebuild device)
Procedure
- Disassemble device and remove both hard drives
- Attach both drives to the SATA ports on your computer
- Boot Ubuntu 10.04 Desktop Edition CD-ROM
- Select language as desired (English)
- Click on "Try Ubuntu 10.04 LTS" (to use Ubuntu without making any changes to your system)
- Open a new terminal window (Applications | Accessories | Terminal )
- Start a new bash shell with root privileges
sudo bash
- Disable all active swap paritions
swapoff -a
- Delete all partitions on both hard drives (TFTP Boot only works when drive partitions are missing)
echo -e "d\n1\nd\n2\nd\n3\nd\n4\nw\n" | fdisk /dev/sda echo -e "d\n1\nd\n2\nd\n3\nd\n4\nw\n" | fdisk /dev/sdb
- Shutdown computer
shutdown -h now
- Power off computer and remove drives
- Reassemble device, but do not power it on yet
Install and Configure Software
- Use a computer with the Microsoft Windows operating system (the LSUpdater software requires it)
- Download and extract TFTP boot recovery software ( ftp://24.153.165.234/array1/share/nas-recovery//TFTP%20Boot%20Recovery%20LS-WSGL%201.05.exe )
- Download and extract LSUpdater software ( http://www.buffalotech.com/support/getfile/lswsgl-106.zip )
- Adjust [Flags] section in LSUpdater.ini
[Flags] VersionCheck = 0
- Add section to LSUpdater.ini
[SpecialFlags] Debug = 1
- Disable firewall software (firewalls can interfere with network traffic)
- 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
- Run "TFTP Boot.exe"
Boot Device
- Attach device to network (or directly to computer using standard ethernet cable)
- Boot device in EM mode using TFTP
- Move device power switch to "off" position
- Remove power cable from device
- Attach power cable to device
- Wait several seconds for lights to turn off
- Press and hold function button while moving power switch to "on" position
- Release function button when single blue light starts flashing
- Press and release function button again
- Press function button when red light starts flashing (repeat until red light stops flashing)
- 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
- Wait 30 seconds for device to complete boot process
- Close TFTP Boot window
Rebuild Device
- Disable firewall software (otherwise the update will likely fail and might brick the device)
- Run LSUpdater.exe
- Configure updater software
- Right-click on title bar of the window (on the word "BUFFALO")
- Select "Debug(D)..." from the context menu
- 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)
- Select "Execute the change as following" checkbox in the "Changing of IP Address" frame
- Change the IP address to 192.168.11.150 (subnet 255.255.255.0)
- Click on the OK button to save choices
- Confirm the change of IP address (ignore any error message about the DHCP server)
- Make sure that you have selected the correct device, then click on the "Update" button to rebuild the device
- Confirm that you want to format and update the target device
- Wait for update process to complete (ignore any "couldn't confirm a response" error messages)
- Close LSUpdater utility
- Enable firewall software
- Restore the IP address on your computer (undo prior change to 192.168.11.1)
- Open the device web interface in your browser (should be http://192.168.11.150... or use the new IP address assigned by DHCP)
- Login to device (user = admin, password = password)
- Click on second menu item (the icon looks like folded paper)
- Change the language and character set (the last two dropdown lists) as desired (English and ISO8859_1)
- Click on the button at the bottom of the page
- Click on the TOP menu and verify that the language settings took effect
Erase Both Hard Drives
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
Congratulations! You should now have a Linkstation Mini reverted to factory settings.
See Also
- Install Debian 5.0 (Lenny) On Buffalo Linkstation Mini
- Install Ubuntu 9.04 On Linkstation Mini
- Install Gentoo On Linkstation Mini
References
- Buffalo Forum Article about TFTP Boot Procedure
- Buffalo Forum Article about Forcing Firmware Update
- TFTP Boot software for various Buffalo Linkstation models
- Buffalo downloads area (for downloading Updater software)


