Skip to content

Easy and fast shell script to create an Openwrt extroot on your USB stick

Notifications You must be signed in to change notification settings

suuhm/quick-extroot-openwrt.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

quick-extroot-openwrt.sh

Easy and fast shell script to create an extroot on your Storage devives to extend the space on your Openwrt devices.

How to run the script:

  1. First put your wished Storage-Device (USB Stick / USB HDD etc.) in the OpenWRT.

  2. Now, simply run these two lines on your serial/ssh console:

opkg update ; opkg install libustream-mbedtls && \
wget https://raw.githubusercontent.com/suuhm/quick-extroot-openwrt.sh/main/quick-extroot.sh -qO- | \
sh -s -- --create-extroot 
  1. Finally reboot your device and enjoy extroot.

Alternatively you can just clone the project or copy/paste the file to your ssh console


Functions:

  • --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


If you have some questions and ideas write an issue


About

Easy and fast shell script to create an Openwrt extroot on your USB stick

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages