Skip to content

Instantly share code, notes, and snippets.

@FalsePhilosopher
Last active March 18, 2024 00:26
Show Gist options
  • Save FalsePhilosopher/255ead66bcf799f3bba6e53790ba4f71 to your computer and use it in GitHub Desktop.
Save FalsePhilosopher/255ead66bcf799f3bba6e53790ba4f71 to your computer and use it in GitHub Desktop.
OpenWRT Dual Partition Reboot
You can see what partition is currently being booted from by running: /usr/sbin/fw_printenv -n boot_part
Tell the router which partition to boot from: /usr/sbin/fw_setenv boot_part 2
reboot
Props to Kamameel on this reddit post with the info https://www.reddit.com/r/openwrt/comments/eji1sg/force_router_to_boot_to_specific_partition/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment