{"repo":"HexKernel/Expanding-the-Root-Partition-for-OpenWrt-on-Raspberry-Pi","free":true,"listed":false,"github":"https://github.com/HexKernel/Expanding-the-Root-Partition-for-OpenWrt-on-Raspberry-Pi","clone":"git clone https://github.com/HexKernel/Expanding-the-Root-Partition-for-OpenWrt-on-Raspberry-Pi.git","description":"This guide walks through resizing the root partition of OpenWrt on Raspberry Pi and compatible boards. It covers downloading the Ext4 version, expanding the root partition, setting up an Ubuntu VM with USB passthrough, using fdisk to resize partitions, and verifying changes, with troubleshooting tips.","language":null,"stars":21,"topics":["openwrt","partitioning","raspberry-pi","ext4","fdisk","lsblk","e2fsck","fstab","resize2fs","df-h"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"Expanding the Root Partition for OpenWrt on Raspberry Pi For those attempting to run the OpenWrt OS for the first time on their Raspberry Pi or other boards, having sufficient storage volume attached may not resolve an issue with the limitation of root partition sizes of OpenWrt OS images that are shipped with less than 100 MB in size. This limitation can become troublesome after installing some packages and starting the OS. Therefore, in this guide, we will go through the steps to increase the size of the root directory to a desired size, allowing you to install as many software applications and packages as necessary. 1. Prerequisites To accomplish this, please prepare the following items in advance: 1. OpenWrt OS (Ext4 format) : Download the Ext4 format version of the OpenWrt OS that corresponds to your board (in my case, using the Raspberry Pi 4 with processor model BCM 2711 was necessary the download link is: https://downloads.openwrt.org/releases/23.05.5/targets/bcm27xx/bcm2711/ ). Note that sometimes on the OpenWrt website, they promote the SquashFS format version, which is slightly faster than Ext4; however, due to being read-only, it cannot be used for partitioning. The trade-off here is worth using the Ext4 format since the difference is negligible. 2. Raspberry Pi (or other board) : Raspberry Pi board (or any other board you are using to boot up your OpenWrt OS). 3. Backup your data : Backup directory in openwrt before partitioning (Just in case) 5. A microSD card r","default_branch":null,"files":null,"tree":[],"storefront":"/r/HexKernel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/HexKernel/Expanding-the-Root-Partition-for-OpenWrt-on-Raspberry-Pi/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}