Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| docs:guide-user:additional-software:extroot_configuration [2023/12/14 07:06] – [5. Configuring rootfs_data / ubifs] vgaetera | docs:guide-user:additional-software:extroot_configuration [2024/03/07 09:46] – kmod-usb-storage often is required as well. zpe | ||
|---|---|---|---|
| Line 14: | Line 14: | ||
| This way OpenWrt fits even in tiny amounts of internal storage (as low as 4 MiB), but still allows to write settings and install some packages in the writable partition without changing all Linux programs used. | This way OpenWrt fits even in tiny amounts of internal storage (as low as 4 MiB), but still allows to write settings and install some packages in the writable partition without changing all Linux programs used. | ||
| Extroot works by setting another overlay partition in the external storage device, and during boot this new overlay partition will be mounted over the internal storage' | Extroot works by setting another overlay partition in the external storage device, and during boot this new overlay partition will be mounted over the internal storage' | ||
| - | This approach allows easy fallback in case the external storage device is removed, as your device will still have its own overlay partition and thus will load all configuration from there. | + | This approach |
| Which means that it will behave exactly the same as just before you set up extroot. | Which means that it will behave exactly the same as just before you set up extroot. | ||
| Line 28: | Line 28: | ||
| Devices with 8 MiB flash or more should have enough space to install the required packages, otherwise create a [[docs: | Devices with 8 MiB flash or more should have enough space to install the required packages, otherwise create a [[docs: | ||
| Remove all packages you have installed to add secondary functionality, | Remove all packages you have installed to add secondary functionality, | ||
| + | (If you do not have a record of what these are, try removing ' | ||
| Leave only those needed to access the internet and needed to access the extroot filesystem. | Leave only those needed to access the internet and needed to access the extroot filesystem. | ||
| After you make the extroot you will have all the space you need to install secondary packages. | After you make the extroot you will have all the space you need to install secondary packages. | ||
| + | |||
| + | You may not need to make a custom image: try the OEM image first (OpenWRT GL.inet for a GL.inet mango). | ||
| The extroot can be anything that '' | The extroot can be anything that '' | ||
| Line 37: | Line 40: | ||
| However, it could also be on an SD-Card or a SATA drive connected via e-sata or even a network block device (assuming its set up early enough). | However, it could also be on an SD-Card or a SATA drive connected via e-sata or even a network block device (assuming its set up early enough). | ||
| If you're using a USB connected device follow the [[docs: | If you're using a USB connected device follow the [[docs: | ||
| + | |||
| The following assumes that you will be creating your extroot as an EXT4 filesystem on your OpenWRT device with a connected USB flash drive. | The following assumes that you will be creating your extroot as an EXT4 filesystem on your OpenWRT device with a connected USB flash drive. | ||
| The process is similar for other kinds of devices. | The process is similar for other kinds of devices. | ||
| Line 49: | Line 53: | ||
| <code bash> | <code bash> | ||
| opkg update | opkg update | ||
| - | opkg install block-mount kmod-fs-ext4 e2fsprogs parted | + | opkg install block-mount kmod-fs-ext4 e2fsprogs parted |
| </ | </ | ||