How to extend LEDE/OpenWRT system storage with an USB device - LinuxConfig.org

LEDE/OpenWRT is a Linux-based operating system which can be used as an alternative to proprietary firmwares on a wide range of routers.

Installing it provides increased security, let us tweak our router and give us a wide range of software packages to install from the system repositories.


This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-extend-lede-openwrt-system-storage-with-an-usb-device

Copying and pasting fails with:

Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): o
Created a new DOS disklabel with disk identifier 0x0bcb491f.

Command (m for help): n
Partition type
   p   primary (0 primary, 0 extended, 4 free)
   e   extended (container for logical partitions)
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-7700479, default 2048): w
Value out of range.
First sector (2048-7700479, default 2048): 
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-7700479, default 7700479): 
Created a new partition 1 of type 'Linux' and of size 3.7 GiB.
Partition #1 contains a ext4 signature.
Do you want to remove the signature? [Y]es/[N]o:
type or paste code here