Alternative Partition Reboot Web UI (luci-mod-alt-reboot)

Description

This package allows you to reboot to alternative partition on supported (dual-partition) routers. This package overwrites default Reboot (System –> Reboot) page.

Supported Devices

Currently supported devices include:

  • Linksys WRT1200AC
  • Linksys WRT1900AC
  • Linksys WRT1900ACv2
  • Linksys WRT1900ACS
  • Linksys WRT3200ACM
  • Linksys E4200v2
  • Linksys EA4500
  • Linksys EA8500

If you’re interested in having your device supported, please check OpenWrt Forum Support Thread.

How to install

Install luci-mod-alt-reboot package from Web UI or run the following in the command line:

opkg update
opkg --force-overwrite install luci-mod-alt-reboot

If the luci-mod-alt-reboot package is not found in the official feed/repo for your version of OpenWrt, you will need to add a custom repo to your router following instructions on GitHub/jsDelivr first.

How to uninstall

Run the following commands in ssh session to your router:

cp /rom/usr/lib/lua/luci/controller/admin/system.lua /usr/lib/lua/luci/controller/admin/system.lua
cp /rom/usr/lib/lua/luci/view/admin_system/reboot.htm /usr/lib/lua/luci/view/admin_system/reboot.htm
rm -rf /var/luci-modulecache/; rm -f /var/luci-indexcache;

Notes/Known Issues

  • When you reboot to a different partition, your current settings (Wireless, etc.) will not apply to a different partition. Different partitions might have completely different settings and firmware.
  • If you reboot to a partition which doesn’t allow you to switch boot partitions (like stock Linksys firmware), you might not be able to boot back to OpenWrt unless you reflash it, loosing all the settings.
  • Some devices allow you to trigger reboot to alternative partition by interrupting boot 3 times in a row (by resetting/switching off the device or pulling power). As these methods might be different for different devices, do your own homework.

Thanks

I’d like to thank everyone who helped create, test and troubleshoot this package. Without contributions from @hnyman, @jpstyves it wouldn’t have been possible.