Openwrt extroot usb To extend the flash free space, there are 2 solutions : extroot [1] patch the kernel to enable the unused space [2] [3] Patching kernel is not easy, so I chose the extroot solution. 8 however I realized that the method I used to do Extroot (explained here) is no longer useful and now on the same website the router tells me that these steps should be followed: mkdir -p / tmp / introot mkdir -p / tmp / extroot mount --bind / / tmp / introot mount / dev / sda1 Sep 13, 2012 · This is a read-only archive of the old OpenWrt forum. Basically, we are about to move the /over Nov 29, 2017 · extroot /mnt /overlay /dev/mtdblock3; USB drivers; where opkg saves its files; other "storage-related" terms; I see many "extroot tutorials" on the internet and on the LEDE & OpenWrt sites, but don't quite understand if they are going to work for me. gz or extracting files from the squash. Anda bisa menginstal paket-paket yang dibutuhkan melalui SSH menggunakan aplikasi Putty. You signed out in another tab or window. You'll notice three entries later "/dev/mmcblk0p66 is already mounted as /overlay" - there is no actual setting for the overlay, that is in the device tree. opkg update opkg install kmod-usb-storage block-mount block-hotplug kmod-fs-ext4 kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 mkdir -p /mnt/usb mount -t vfat /dev/sda1 /mnt/usb I have openwrt installed on a TP-Link tp-wl1043nd I want to use extroot and need assistance. Extroot configuration This article relies on the following: * Accessing OpenWrt CLI * Managing configurations * Managing packages * Managing services Introduction This guide describes how to configure OpenWrt to use a storage device (usb Apr 3, 2010 · Using jffs2 is the only way to boot openwrt from external storage with block-extroot without compiling an image Wlan with kamikaze installed on ar71xx worked with a snapshot from january 2010. But the problem is, my router does not have a usb port. 335118] UBIFS (ubi0:1): FS size: 38219776 bytes (36 MiB, 301 LEBs), max 311 LEBs, journal size 1904640 bytes (1 MiB, 15 LEBs) Sun Dec 8 18:42:59 2024 kern. But the old solution produced an overlay over an overlay as shown here: May 16, 2022 · Hello group. Jun 4, 2023 · BPI-R3 stores its boot device configuration in the Linux device tree. However, like many compact routers, it has limited internal storage. Pivoting /overlay (or root) gives you the ability to install packages onto a USB storage device. 5. Once that’s done, move on to the next step. 0 and a 3 position slide switch (change mode function) My plan is to dig if there is a way to give a new chance of living to these devices. Sep 28, 2021 · In this video, we will configure extroot to expand the router's storage space with a USB drive or a USB hard drive. Don't have really a clue what might be the reason, maybe the different USB driver kernel modules, that are installed in both tutorials, which seem to be different in sight of USB versions (v1. However I am not sure what partitions to create and their May 13, 2024 · The command lsusb -t reveals, if your personal combination of device, OpenWrt firmware and external USB drive supports the newer and slightly faster USB 3. So, this morning I decided to do a fresh install (my first with LEDE) and then go for extroot, this is the basic stuff to start, I mean, having enought space to install packages and stuff -I have to say I love bio: create slab <bio-0> at 0 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 1024 (order: 1, 8192 Nov 11, 2024 · This video is a step-by-step tutorial on setting up OpenWrt using a USB drive on your OpenWrt device. Sep 25, 2018 · A little guide to increase openwrt router's storage with openwrt extroot by placing the rootfs on external USB storage. I connected 2 usb drives (after installing the required packages): one for EXTROOT (sda/sda1) one as external storage (sdb/sdb1) already formatted with NTFS EXTROOT (sda/sda1) is working well. Find your USB drive, delete all existing partitions, and eject it without creating any new partitions. xx. This is my device, and I have installed OpenWrt 21. common . date: 2022-08-20 00:00:00 DESCRIPTION. :. Or, if you want to boot from USB, look into devices that aren't 'consumer routers' -- things like single-board computers or x86 devices often have this capability, but the vast majority of consumer wifi routers cannot boot from USB. Mar 3, 2024 · is it possible? if so how? Aug 30, 2020 · I looked into the documentation from OpenWRT on the Extroot Configuration and created a simple firmware version that contained the necessary tools to mount the USB thumb drive as root. I've read this instruction, but I'm not sure it exactly matches my rom structure. I'm trying to do as overlay partition the my /dev/mmcblk0p1 partition, but the existing partition /dev/mtdblock6 is already mounted as overlay. The OpenWrt wiki pages for this subject are very good. Mar 15, 2020 · 之前写过一篇文章用 extroot 为 openwrt 扩充存储空间,最近重装openwrt的时候,发现官方文档已经更新了扩展方法,觉得有必要单独写一篇作为更正,以免误导新 Oct 3, 2020 · Hi everybody. 4 nor 18. I can see there's things Objetivo: Esta guía describe cómo agregar una única memoria USB o unidad a su dispositivo OpenWrt. Jul 6, 2019 · SDMOD lub ma złącze USB można pokusić się o rozszerzenie pamięci flash o pojemność zewnętrznego nośnika. d preinit shells dropbear inittab profile sysctl. It doesn't work. 2, solding pins on the motherboard but, unluckily I wasn't able to connect via the usb-serial adapter. and if the usb drive dies, i would only loose access to just tailscale. It is possible to set on other devices, but the process is a bit more involved, see Extroot configuration for Here's the first part of the description. May 5, 2023 · Hello, I am using openwrt 22. 2 downloaded from ht… Nov 11, 2024 · Add another partition to the Extroot USB drive by shrinking the Extroot partition. 5 (r24106-10cc5fcd00) I configure extroot by this, except on ssd, no usb. But THIS tutorial did: Okami-Tutorial. How many packages do I need to remove to fit the required packages for extroot? From what I've read the required ones are: block-mount kmod-fs-ext4 kmod-usb-storage-extras (and consequently kmod-usb-storage) kmod Oct 21, 2018 · 安装新package时磁盘不够用怎么办? 配置extroot. block detect | uci import fstab. Step 1: Installing OpenWrt Prerequisites Easy and fast shell script to create an extroot on your Storage devives to extend the space on your Openwrt devices. 05. Luckily my router didn't get bricked. We can manipulate the USB device we intend to use either on a separate machine, or directly on the LEDE system, using fdisk. 02. I could use gparted on my laptop and create the needed partitions without losing data. El resultado será una unidad USB con un sistema de archivos ext4 y montada en /mnt/sdXX (donde sdXX es el nombre del USB). 10 onto my Mikrotik RBM33G and all seems to be working fine. This is the output of block info; uci show fstab; logread | sed -n -e "/- preinit Oct 15, 2021 · Since mid 2015, Shorewall-lite is no longer offered as an installable package in OpenWrt. However after reboot the USB device is not mounted. I have an old and nice TP Link WDR3600 V1 that I usually configure with transmission and minidlna. Ok, I installed all the listed packages, I do see the drive, somewhat. d passwd- shadow diag. Reload to refresh your session. My current rom structure: Aug 29, 2021 · My d-link dir-2660 has 128MB rom, but the storage allocated for installing additional software is just 27MB and now has only 7MB free. Aug 5, 2022 · USB device preparation. If you’re interested in reading about Mar 23, 2016 · 当然 Openwrt 可以通过一些设置将软件包安装在 U 盘上,但有些文件夹需要做软链接,另一些需要更改 PATH 变量,这样才能正常运行软件。而本文,将介绍如何让 Openwrt 从挂载的 U 盘启动。注意:做 extroot 需要很谨慎,不小心会变砖。最好路由有不死 uboot。 Tip: El Inicio rápido para instalar una unidad USB resuelve el caso muy común de instalar una sola unidad USB en su dispositivo OpenWrt. 1MB. /dev/sda1 is the first partition on the first device; /dev/sda2 is the second partition, etc. On your existing device, no booting, but you can use extroot. The flash worked with the usual loss of the mounted overlay. sh ath79 generic tplink_tl-wr1043nd-v1 Feb 15, 2022 · This tutorial will document steps you need to take to add USB storage to your OpenWrt router. I have decided to use the extroot method because the bleeding edge image only leaves about a half of a megabyte of space left for packages. I'm experiencing problems after few days uptime. 2 r7676-cddd7b4c77 / LuCI openwrt-18. But I'm running into some sort of problem. El resto de esta página proporciona mucha más información sobre dispositivos y controladores USB. It was a long time I was trying to manage my network with OpenWrt. Jeśli nasz router dysponuje chociaż jednym portem USB, to możemy rozszerzyć system plików routera do rozmiarów partycji pendrive, który zostanie podłączony. Is it correct as far as it goes? Thanks. We would like to show you a description here but the site won’t allow us. . x. ]) Jul 22, 2023 · Are there different ways to do it ? Like for installing packages on it or using it for NAS, is the method different . ZRAMSwap will create a compressed swap drive from RAM. I installed these packages: opkg install ksmbd-server opkg install ksmbd-utils opkg install luci-app-ksmbd opkg install kmod-usb-core May 27, 2018 · Hello, could you please help me with adding support for USB HiLink LTE dongle (Huawei E3372 150Mbps)? I have started with flashing MR3020 via original GUI (with lede Jun 12, 2022 · Hi, I configured Extroot based on this Wiki article. SD czy kartę z modemu USB (pod pewnymi warunkami). Following Quick Start for Adding a USB drive but installing some packages that will be needed right after. Jan 28, 2019 · Wi-FiルータにOpenWrtをインストールしても、ROM領域が少ないのでいろいろパッケージをインストールできません。そこでUSBメモリを使いrootfsを拡張してみました。 今回はUSBメモリ全体をrootfsにしています。 参考: OpwnWrt - Extroot configuration Mar 15, 2020 · por: So /overlay is still on internal storage. This device does have a USB connector on it and I would like to be able to use it. ドライバーは kmod-usb-storage のみ; usbutils はコマンド lsusb -t を使って USB メモリーが接続されているかどうかを調べるためのもの(オプショナル) May 15, 2020 · is it extroot-/overlay or extroot-/? for the latter, if you've embedded /etc/config/fstab at first boot, then you have to populate your usb on a pc using a rootfs. v2. As soon as I restart the router, the system is no longer able to boot from extroot and I lose all configuration. You only need to format the extroot partition as ext4, the other partition(s) can be whatever you need/want. I have been mostly successful except for one thing: root@Confusion:/home# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/root xx. json passwd services crontabs hotplug. ) in the OpenWRT. Did you recreate the extroot from the rootfs_data ? (assuming the external storage is a suitable filesystem on /dev/sda1) Dec 4, 2023 · -> Problems are common to every device or architecture running Owrt Extroot on Usb-storage devices. Autor Tema: [Tutorial] Ejecutando OpenWrt desde una memoria o disco USB (extroot) (Leído 118077 veces) Jul 24, 2021 · Hello, I apologize if this question has already been asked, but i couldn't find the specifics. Nov 13, 2024 · OpenWrt 23. 03 with extroot. Make sure your firmware has zramswap, as when you start adding more software to run, more RAM will be used. Apr 2, 2025 · ExtRoot & Swap on OpenWrt. Jan 3, 2014 · 但是却只提供了 8M Flash 存储空间,而路由器系统还占了 1. Mar 9, 2023 · store the data in /var/ on an external usb drive; I wouldn't be very confident that your USB stick is mounted early enough to be used as /var/, OpenWrt neither has an initramfs taking care of partition mounting, nor flexible/ dynamic dependency checks to take care of specialties of this dimension - not saying that it can't be made to work, but that it will need careful consideration, testing Sep 1, 2023 · I want to use a usb drive for packages so that I can install docker because the built in storage is only like 15mb ive tried https://openwrt. The list may be empty if there are no USB devices. Install ntfs-3g or kmod-fs-ntfs3 (and kmod-nls-utf8 for unicode dir/file name) Jun 26, 2017 · Hello all, I just moved from OpenWRT to LEDE, so far has been a really nice experience. conf init. These steps are tested on OpenWrt 21. I can mount the partition on the router manually, but when it boots, it fails. 346761] UBIFS (ubi0:1): reserved for root: 1805213 bytes (1762 KiB) Sun Dec 8 18:42: Oct 11, 2013 · The plan is to copy the OpenWrt’s root filesystem onto an external USB flash drive, and tell the router to switch to that when it boots up. fs / rom. Można zastosować dysk USB, pendrive a nawet czytnik kart np. In the end the overlays upper directory gets replaced. I've already tried installing a regular prebuilt openwrt release for the model and it works fine. [OpenWrt Wiki] Extroot configuration How do I expand this software storage by using the unused rom space?thanks. I want to ask the community of Oct 21, 2020 · Hey guys, I just setup my router to use a 8gb USB for extra storage, and I'm wondering if it's possible to resize the partition to include 2GB of swap storage. Easy and fast shell script to create an Openwrt extroot on your USB stick - suuhm/quick-extroot-openwrt. Theory. Dec 19, 2024 · Additional notes: In the documentation, I see an in-kernel NTFS driver similar to native Linux filesystems. extroot Wykorzystanie karty SD w modemie 3G do extroota w wydaniu BB Przyciski - obsługa przycisków Podłączenie i obsługa "normalnej" klawiatury Apr 2, 2016 · That's how I always imagined a really-working extroot would look like. The current OpenWrt forum resides at https: Extroot on usb dongles has been a problem for a long time, even Autor Tema: [Tutorial] Ejecutando OpenWrt desde una memoria o disco USB (extroot) (Leído 117821 veces) 0 Usuarios y 1 Visitante están viendo este tema. 5 on my C2600 router, and I have an external USB SSD connected to it. So I found ksmbd as an alternative to samba and it's much smaller. I have tried several USB drives, all with identical results. g. It may just slow down certain operations. It is broken in later builds what caused me to switch to Backfire, where wlan on ar71xx is working (on jffs2) without any problem. This document details installing Shorewall-lite on recent (2015+) OpenWrt routers. maybe using overlayfs but not as extreme as extroot? Dec 29, 2021 · Linux下的文件系統多種多樣,對於 OpenWrt 來說一般推薦機械硬碟用 ext4 文件系統,固態硬碟和快閃記憶體則建議用 f2fs 作為文件系統,因此本文採用 f2fs 作為外接 USB 的文件系統。 二 、工具軟體安裝. Jan 10, 2025 · This blog will guide you through installing OpenWrt, configuring Extroot to expand storage using a USB drive, and installing useful packages like Passwall and Docker. Recently I have updated the firmware inside the router with a vanilla OpenWRT version 23. Jan 5, 2024 · Hello, I have a TP-Link TD-W8970 v1 router that I have used with OpenWRT (ROOter flavour) for a long time. I tried a first time with my TD-W8970 v1. d protocols sysupgrade. I have tried to use /overlay on two usb sticks in btrfs raid1. I first configure the extroot USB and everything works perfectly until the moment I install the "luci-app-samba4" package. Usb flash seems to be malfunctioning, and everything becomes ok after reboot. Despite following the standard extroot configuration steps, the system fails to mount /overlay on my USB flash drive (/dev/sda1) after a reboot. 07 Nov 4, 2017 · first you want to plug in the new usb, make sure it is visible as a mount point, find what device the new mount point is /mnt/sdb1 /mnt/sdc1 whatever, also make sure you have the usb device formatted as ext3 ext4, and all the appropriate kernel modules kmod-fs-ext3 kmod-fs-ext4 kmod-usb-storage, kmod-usb-storage-extras then open a shell and run. While this procedure is unlike the standard OpenWrt opkg method, the Shorewall-lite installation is very lightweight and easy. Plug the USB drive into your router. I Oct 3, 2022 · I want to temp to disable/umount the usb drive overlay extension, the fstab config mount option 0, after rebooted, the usb drive space is still mounted. Apr 20, 2016 · Another point: the extroot wiki got updated such that now the overlayfs with the flash-overlay gets replaced by the extroot USB-overlay. See the 6% / at the rootfs line there. There is a more detailed overview on how pivot works on the OpenWrt wiki. It has a single ext4 partition, mounted and accessible as /mnt/sda1. local banner hosts opkg. With kernel 5. More /dev/sda is the first USB device; /dev/sdb is the second, and so on. Few weeks ago, I had no more free space on the flash and I was not able to install any new packages. Get a sample fstab UCI subsystem configuration file. O caminho deste Oct 7, 2022 · Need help getting SD Card on USB dongle/modem to work as exroot storage I install opkg install block-mount kmod-fs-ext4 e2fsprogs fdisk kmod-usb-storage kmod-usb-uhci kmod-usb-net-cdc-ether usb-modeswitch on TP-Link TL-MR3020_v3 and get the following on preinit stage of boot log (as per the troubleshooting exroot guidelines) root@OpenWrt:~# block info; uci show fstab; logread | sed -n -e I started by using an 8GB USB drive. Nov 21, 2024 · Hello everyone, I’m experiencing an issue setting up extroot on my ZyXEL NBG6817 router running OpenWRT 23. Finally Nov 28, 2016 · OpenWrt搭載デバイスに外部USBメモリで記憶容量を増やす方法。もちろん “Rootfs on External Storage (extroot) [OpenWrt Wiki]” を見れば必要な情報は全て得られるのだが、OpenWrtのWikiではコマンドラインでやるように指示があるところがWeb管理インタフェースLuCIで簡単に済ませられるようになっているところ OpenWrt 19. That is to say that the configuration and installed packages would revert to what existed prior to using extroot (unless you have changed this configuration since by removing the extroot storage and making changes). However, upon router reboot it gets mounted to /rom/overlay but space doesn´t get added to /. Plug the USB drive into the router, and run the following script to partition and format the drive: Ada 3 paket aplikasi yang dibutuhkan untuk melakukan ExtRoot di router OpenWrt anda, yaitu kmod-usb-storage, kmod-fs-ext4 dan block-mount. I want to be able to install many packages, some of which are several MB in size, and hence I'm trying to extend my firmware space by using extroot. I decided to upgrade to the latest. Step 4. Setup an overlay/extroot partition using a USB external drive on openwrt router Apr 26, 2016 · Gdy w grę wchodzi OpenWRT, to przy tak niewielkiej przestrzeni jest duże prawdopodobieństwo, że przy instalowaniu dodatkowych pakietów zwyczajnie zabraknie nam miejsca. I have checked this time and time agian to no avali. Go to System → Mount USB stick in OpenWrt. La gente hace esto para usar Samba u otros programas que necesitan almacenar datos en un disco externo. Jan 28, 2024 · Hi, I just found a couple of TL-MR3040 lying around on a drawer, it has OpenWRT 15 (custom for extroot) and LEDE 17 Context on hardware: TP-Link TL-MR3040 it's a 4/32mb battery backed wireless router with USB2. Appreciate any help! This is a device with 2 USBs: 1x 2. Updates: 5Feb2019 based on first set of comments. Note: Many of these routers are marketed as a “3G travel router” but none actually include a 3G modem - the marketing term rather means that the OEM firmware supports a certain range of 3G/4G modems to be externally connected to USB because it contains drivers for those USB modems! Mar 16, 2015 · openwrt运行在USB设备上的好处:可以安装openwrt官方的N多软件了(但官方暂时没有mysql,郁闷),象P2P类的transmision-daemon、amu_openwrt block 利用block-extroot,让你的openwrt运行在USB设备上 Apr 4, 2025 · If you want to contribute to the OpenWrt wiki, please post HERE in the forum or ask on IRC for access. You switched accounts on another tab or window. /dev/sda is the USB drive, and /dev/sda1 is the 1st partition on the drive (in this specific case, your drive currently only has one partition, but if there were more, they'd be listed in ascending chronological order [i. 9M,剩下的 5M 空间不足以支持安装很多软件,比如我在安装 python 的时候就报错提示存储空间不足,这确实很郁闷,但幸好 Openwrt 还提供了 extroot 方式来扩展存储,来发挥路由器和 Openwrt 系统的真正实力。 Mar 21, 2019 · Sorry, it's old question, but I have no answers for me with my Engenius EPG 5000 OpenWrt 18. 1 vs. At the stage of configuration OpenWrt you need to install the following modules: Kernel modules: USB Support: *> Kmod-usb-storage Apr 27, 2024 · Thanks! Ran the commands, but the LuCi -> System -> Software page still shows the same space. Dec 8, 2024 · I/O unit sizes: 2048 bytes/2048 bytes Sun Dec 8 18:42:59 2024 kern. I am following the information on the openwrt site. These steps were tested on a BT HomeHub 5 which was modified to run OpenWrt . tar. Apr 29, 2023 · I have been happily running a OpenWrt-1043ND with an extroot on a usb drive under openwrt18 for some time. Feb 4, 2023 · Connect and ethernet cable from your chosen device to the MR3020, insert the usb flash drive and power on, open a terminal/putty and ssh to the default openwrt ip of 192. Jul 4, 2024 · You signed in with another tab or window. 01. 06 branch (git-19. Reiniciando o serviço fstab ou o roteador, você terá o disco identificado como usb-dados montado em /mnt/usb-dados e o nomeado "openwrt-extroot" em /mnt/extroot. I've followed the wiki guide (I had pre partitioned and formated the sd on my workstation, I'm using ext4). sh Dec 13, 2021 · My router, TP-Link Archer c50 v4, has a flash size of 8MB. json ppp shadow- dnsmasq. Jan 10, 2025 · The Cudy TR3000 is an excellent travel router with modern features like Wi-Fi 6, a 2. opkg update opkg install kmod-usb-storage block-mount block-hotplug kmod-fs-ext4 kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 mkdir -p /mnt/usb mount -t vfat /dev/sda1 /mnt/usb Apr 13, 2014 · root@OpenWrt:/etc# ls -a . Here's some output for troubleshooting: root@eddie:~# block info /dev/mtdbl Jan 23, 2025 · Hi, my router is an old TD-W8970 with OpenWrt 23. Mar 4, 2025 · This guide describes how to configure OpenWrt to use a storage device (USB or SATA or SD card or whatever) to expand your root filesystem, to install freely all the packages you need. 6. for the former, you could do a similar thing, or choose to leave it less populated as only new files are technically needed there. Jan 15, 2024 · The device will boot as it did the moment before you performed the extroot process. How to run the script: First put your wished Storage-Device (USB Stick / USB HDD etc. It needs to mention installing 'kmod-usb-storage-uas' because modern usb3 external sata storage Aug 24, 2022 · Theoretically, any drive should work via USB, even if it has energy saving features. 3 で Extroot 機能を使ってディスク容量を拡張しました。手元にあった USB メモリーを使って利用可能なディスクスペースを追加しました。サーバー機能をインストールする場合は、早めに拡張したほうがよいと思います。 Поддержка USB прошивкой OpenWRT Для поддержки USB-накопителей Вам необходимо либо собрать прошивку с включением следующих пакетов. See also Storage. I think I can just pause here - I can install all the additional packages I need for my project while in this failsafe+extroot, and then let the router to boot normally just mounting /dev/sda1 to /overlay with Max's advise. I have an Archer A7 V5 with Openwrt 19. conf Nov 23, 2010 · I'm using dir-825 with OpenWRT backfire 10. To prepare it: Plug the USB into your Windows PC, right-click the Windows icon, and open Disk Management. conf config hotplug-preinit. In luci, mount points, I created a new mount point based on the label of the drive (Which shows up properly). x or above since the kernel version 6. After connecting of the usb-hub you can use its capabilities. After fresh install of OpenWrt, Luci shows free space available to install packages as around 2. 0 UASP Extension (USB Attached SCSI Protocol) or the older USB 3. Tried 17. Apr 26, 2016 · Gdy w grę wchodzi OpenWRT, to przy tak niewielkiej przestrzeni jest duże prawdopodobieństwo, że przy instalowaniu dodatkowych pakietów zwyczajnie zabraknie nam miejsca. Sebelum melakukan instalasi paket, jangan lupa update package list. First we connect the USB to our device. 0, plugged to a portable hdd (backup) The thumbdrive was formatted as per extroot and can be mounted. 02 in 2022. I want to transfer the overlay partition to the disk, but without formatting it. user mtab rc. Extroot wymaga linuksowego systemu plików, więc w przypadku formatowania dane na nim mogą zostać utracone! В образах прошивки OpenWrt по умолчанию нет инструментов для создание extroot, так как система сборки в настоящее время создает только barebone-образы. basically, a way to install just certain large packages/executables such as tailscale onto usb. In /dev, I see mmcblk0 and mmcblk0p1. All you need is a standard USB flash drive, a USB capable router running OpenWrt, and about 30 mins. GitHub Gist: instantly share code, notes, and snippets. Nov 8, 2021 · The USB extroot is the only viable option with this router I did it and it works without issue and you will have more space than you will ever need for packages but it is tricky to setup a bit and make it functional still effortless if you are determined, you can uninstall some packages (I don't remember the list right now) to make it possible to do the extroot trick Sep 24, 2017 · Hello. Now, 2 years later, I have finally managed to build myself a custom firmware for this router based on the latest stable firmware currently available with extroot support integrated and with 300KB free Jun 14, 2021 · OpenWrt Wiki – 11 Oct 16 Extroot configuration. /build. Specifically, here's my question: I'm using YAMon to collect traffic statistics from my router Aug 2, 2021 · At present (Dec 24, 2020), the documentation pages that detail installing and configuring USB drives for OpenWrt are not well-coordinated. 41695-6f6641d). And round and Jan 2, 2018 · Please post code output and commands within code back ticks (or use the </> button). There are two ext4 partitions, one 200MB partition for OpenWrt extroot setup and another partition as storage. My current rom structure: I am trying to configure a router with external USB root (extroot) and also as a SAMBA server. 6 has ntfs3's new patch in it. 0, plugged to a thumbdrive (wannabe extroot) 1x 3. Feb 16, 2013 · ExtRoot ist eine Funktionalität, um die OpenWrt erweitert werden kann und die es ermöglicht, das Dateisystem des Routers auf ein externes Speichermedium auszulagern. 020. 15 onward the new ntfs3 driver may be used instead which aims to improve performance as an in-kernel driver similar to native Linux filesystems and has become the recommended approach. Install Openwrt with kmod-fs-ext4, e2fsprogs, usb-storage, block-mount and tune2fs; Copy OpenWrt into Extroot environment on an Usb-Stick or SDXC-Highspeed Adapter and make it run Sep 25, 2018 · You could use a USB pendrive or USB external HDD, I'm using a 4GB USB pendrive for this purpose. notice kernel: [ 11. After downloading the image builder package from the Releases page at OpenWRT, I proceeded to check that my router was still supported by running the following Apr 29, 2023 · I have been happily running a OpenWrt-1043ND with an extroot on a usb drive under openwrt18 for some time. Your extroot documentation needs amendment/update. Much of the same information is repeated across these pages, and for a new OpenWrt user trying to install a USB drive on their hardware and configure it to run the OS, the process is not clear at all. Aug 9, 2019 · Hello; I am trying to set OpenWRT on an external usb drive. If you have a fast USB disk, you can add swap here, too! I'd dedicate a fast disk just for swap second to the disk for extroot (reduces IO to any one disk). sda2, sda3, etc. Also see Using storage devices. Mais attends… Sur mon routeur TP-Link TL-MR3020, je n’ai qu’un seul port USB!Si je branche une clé USB afin de mettre en place l’extroot, je ne pourrais plus me servir de mon dongle USB LTE Huawei E3372 pour me connecter en 4G ! Oct 8, 2022 · Came across this doc for the extroot multiple partitions, question, does it bring any benefit to have the swap partition on USB drive? And How does the extroot know the individual partition size that you want to create? Dec 9, 2024 · I have a WR740N (4/32) that I did the USB mod on and I want to set up extroot on it. xx /rom/rom tmpfs xx xx xx xx /tmp /dev/sda1 xx xx xx xx /rom/overlay overlayfs:/overlay xx xx xx xx /rom ubi1:syscfg xx xx xx xx /tmp/syscfg tm Nov 17, 2013 · The following is my working representation of an extroot implementation on a bleeding edge openwrt version r38886 on a mr3020 router with a 16gb flash drive running as root on a usb hub. Format the USB drive with your favorite utility like Gparted, fdisk or cfdisk, this step is done on a PC running Debian testing. It's the first time I'm posting here in this forum. fstab openwrt_release rc. Jul 19, 2010 · See also TL-MR3040 and TL-WR703N or TP-Link TL-MR10U, TP-Link TL-MR11U, TP-Link TL-MR12U and TP-Link TL-MR13U. Aug 9, 2019 · I looked into the documentation from OpenWRT on the Extroot Configuration and created a simple firmware version that contained the necessary tools to mount the USB thumb drive as root. But today, I noticed that after doing this, luci will be gone. I am running openwrt 19. USB 的驅動、分區、格式化、掛載需要安裝幾個軟體。 kmod-usb3 May 6, 2025 · Both are available in OpenWrt. Use a USB hub to add another drive (not recommended). The extroot solution works fine, but in I tried to use my Linksys WRT1900ACS with an usb hdd, but samba is so large that I can't install any updates after enabling it. I'm trying to install ExtRoot onto my router, a TL-WDR4300 v1. File System ? Packages ? There are 3 groups of package on different pages of openwrt documentation - usbutils kmod-usb-storage-uas kmod-usb-storage block-mount e2fsprogs kmod-fs-ext4 kmod-usb-storage kmod-usb2 kmod-usb3 kmod-usb-core kmod-usb3 What things I can do with USB Mar 20, 2024 · Hi all, tried everything on extroot configuration but no luck. but not moving root to the external usb. Now there is a UCI subsystem, you can use UCI command line to change it or just edit the file /etc/config/fstab itself. opkg install kmod-usb-storage kmod-scsi-core block-mount kmod-fs-ext4 kmod-usb-uhci Dec 11, 2024 · so, i am looking for kinda, sorta, lite version of extroot. The problem is that I cannot mount sdb/sdb1 with kmod-fs-ntfs3; instead, if I use ntfs-3g, I managed to mount it with no problem Feb 1, 2015 · UPDATE POST 22/02/2016 Di Akhir Postingan. OpenWrt's ImageBuilder only works on Linux x86_64. Berikut ini perintahnya : Feb 4, 2025 · openwrt extroot. Apr 24, 2025 · Hey all, I have successfully installed OpenWrt 24. It should be: config interface 'wan' option proto 'ncm' option apn 'XXXXX' option username 'XXXXX' Jul 14, 2015 · The main purpose of using extroot is to extend the storage capacity of the device. Jan 5, 2024 · opkg install kmod-usb-storage. kmod-usb-core; kmod-usb-ohci; kmod-usb-storage; kmod-usb2; либо доустановить их отдельно. 7 from usb drive, it has two partitions Apr 10, 2025 · バッファローのWXR-2533DHPはOpenWrt化におすすめのルーターでお気に入りです。かつて、容量が足りなくなったのでUSBメモリを使って容量拡張(ExtRoot化)しようとしたら、何度やってもUSBメモリをマウントできませんでした。 Para registro, deixei intencionalmente as opções para apontamento por dispositivo e uuid. sh architecture variant device-profile, e. 1 the username is root and with no password. 5 (r24106-10cc5fcd00). firewall. 3. 03. That means I can no longer get to the webUI until I reinstall luci again. | tar -C /mnt -xf - ; umount /mnt; Fix fstab and reboot; If all goes well it will boot with overlay of usb as root. For the sake of this tutorial we will choose the second option and create a single partition which will use all the space available on the USB device. sh hotplug. According to manual, I set /etc/config/fstab to config 'mount' option enabled '1' option uuid 'bfd78cf9-1c40-4818-b2cb-217c53c78b56' option target '/overlay' option fstype 'btrfs' option options 'noacl,noatime,nodiratime,compress=lzo' but cannot make it work. Nov 29, 2017 · USB drivers are needed, on LEDE, the system is so so tight and small some things like usb drivers (for the hardware part) and block storage (software part) both are needed to be installed to be able to set up correctly the extroot. I present myself as an IT passionate even if with a very low expertise. Esto es todo lo que necesitará para muchos propósitos; sin embargo, hay muchas opciones que se describen a continuación. Dies kann zum Beispiel ein USB-Stick oder eine externe Festplatte sein. To build a firmware, issue the following command: . Preparing USB Flash Storage OpenWrt od wewnątrz HDD/USB/SDMOD (fstab) - montowanie dysków, pamięci USB i kart SD w OpenWrt External root (extroot) - rozszerzenie pamięci flash o zewnętrzny nośnik, czyli tzw. what is the best way to cancel/disable the overlay usb drive? roo… 当我们需要安装许多Openwrt本身不带的软件时,就会发现如此小的空间实在是太寒酸了。那么,该如何解决这样的问题呢? 一、 添加USB扩展 (注:本文默认大家的路由器是自带USB接口的,如果主板上本身不带USB接口的,可以考虑对硬件进行改动。由于我对于硬件 Feb 3, 2019 · はじめにOpenWrtのrootfsをUSBメモリで拡張する方法でrootfsを拡張しましたが、いろいろ欲張ろうとするとメモリ不足になるので、更にUSBメモリでswapを確保することにしました。 Feb 24, 2018 · Hello, I own 2 wndr3700v4, i use them since years and i am very happy. For ntfs3 , it is started to support from Kernel 5. 0 block driver: Dec 25, 2024 · 4. Execute o comando “block info” descubra qual é o seu USB. Connect the USB stick and copy the file system to it in order not to be dependent on the size of flash memory in the router. Enter ls -al /dev/sd* to show all attached USB devices. 2 years worth of research and getting on and off the project had finally paid off. Wie man ExtRoot für den WR703N einrichtet, möchte ich euch nachfolgend zeigen. This blog will guide you through installing OpenWrt, configuring Extroot to expand storage using a USB drive, and Jun 18, 2020 · 3 — Configurar extroot. I use extroot on WDR3600's. 0?), but I Aug 26, 2019 · Another example is how to use an external usb stick with a FAT32 partition (but we'll keep ext4 support also). x, but recommend use OpenWRT 24. conf e2fsck. Login to OpenWrt Admin GUI (Luci) and plug your prepared USB drive into the OpenWrt device. Output of etc/config/fstab: config global option anon_swap '0' option Mar 15, 2020 · 之前写过一篇文章用 extroot 为 openwrt 扩充存储空间,最近重装openwrt的时候,发现官方文档已经更新了扩展方法,觉得有必要单独写一篇作为更正,以免误导新 Jan 29, 2020 · I've read the whole article: https://openwrt. 0 International Jan 31, 2018 · Huawei E3372 et extroot. 168. This is great! Please keep adding comments! Extroot configuration The procedure below describes how to use a storage device (USB stick, SATA drive, SD card, or other) Dec 2, 2022 · I have done this before, several times, and this is the code I'd run, reboot and then to System and there I will find 'Mount': opkg update && opkg install block-mount e2fsprogs kmod-fs-ext4 kmod-usb-storage kmod-usb2 kmod-usb3 Then I'd reboot. 07. Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4. Nov 9, 2024 · Detailed tutorial to expand internal storage for package installation on OpenWrt by setting up Extroot on a USB drive. Aug 29, 2021 · My d-link dir-2660 has 128MB rom, but the storage allocated for installing additional software is just 27MB and now has only 7MB free. 5G WAN port, and USB-C power. Instead, it continues to use the internal memory (/dev/loop0), leaving me with limited space for additional software and configurations Aug 20, 2022 · tags: - openwrt - overlay categories: - informational comments: true. When i change target to Feb 15, 2019 · Install packages to access the usb drive opkg install block-mount kmod-fs-ext4 kmod-usb-storage e2fsprogs kmod-usb-ohci kmod-usb-uhci fdisk; Format the usb drive and copy overlay mount /dev/sda1 /mnt ; tar -C /overlay -cvf - . e. Porém, estas opções, por estarem comentadas, não serão lidas. 1. org/docs/guide-user/additional-software/extroot_configuration The article shows how to config external root by editing Feb 16, 2024 · Is there a better or easier way to install OpenWRT to a stick and boot from it. Another example is how to use an external usb stick with a FAT32 partition (but we'll keep ext4 support also). (Please, I understand that is an old 4/32mb Nov 19, 2019 · I tried to extroot my router following this wiki guide: Wiki page Extroot. jar229 Nov 16, 2023 · 外部 USB ストレージ用のドライバーのインストール opkg update opkg install kmod-usb-storage opkg install usbutils. conf modules-boot. This will increase the storage on the OpenWrt device al Mar 2, 2016 · I made a mistake in the config above. d TZ group openwrt_version rc. Setup Samba Network Share on OpenWrt. org/docs/guide-user May 20, 2020 · Hello Due to some constant reboots of my router I have decided to downgrade the version of OpenWRT now I use 18. conf resolv. 06. It didn't work on a D-Link DIR-645, not with 18. 5. 有两种方法给系统增加可读写的存储,extroot正是由这两种方法组成: 将/overlay放到U盘(external overlay or pivot-overlay); May 9, 2021 · 我们将使用OpenWrt路由器通过旁路由的形式实现翻墙科学上网的过程。因为OpenWrt路由器软件储存不足,所以使用Extroot外接U盘的方式实现翻阅。 Nov 17, 2021 · @wiki-account. The USB disk is accessable and can be manually mounted, but will not be automatically mounted when the system boots. 02 and 4902 snapshot on R7800. !! Selamat datang di blog DhamSky kali ini saya akan berbagi cara bagai mana membuat extroot di openwrt yang berguna untuk menambah kapasitas internal memori untuk router Exroot merupakan cara untuk menambahkan internal storage yang sudah terinstall OpenWrt dengan memanfaatkan port usb pada router dalam cara ini saya menggunakan flashdisk 2GB dan May 26, 2022 · About 2 years ago, I asked my first question, Boot custom openwrt firmware from extroot and if it was possible. File System ? Packages ? There are 3 groups of package on different pages of openwrt documentation - usbutils kmod-usb-storage-uas kmod-usb-storage block-mount e2fsprogs kmod-fs-ext4 kmod-usb-storage kmod-usb2 kmod-usb3 kmod-usb-core kmod-usb3 What things I can do with USB Jul 22, 2023 · Are there different ways to do it ? Like for installing packages on it or using it for NAS, is the method different . tqslj pjbeux ckvkoty jarhqwh hnqcr cxplpug bsmya hezext swatnv fjw