Mounting another rootfs and kernel partitions into a folder

Hello everyone, I have booted an initram image and i'd like to mount the rootfs partition from flash and parse the files and folders. How can I mount this?

Thank you for the answers!

Initramfs, as you have noticed, only operates in RAM. If you want to have it flashed into memory, use the sysupgrade image for your device -- perform the sysupgrade process while booted into OpenWrt using your initramfs method. This will write the firmware into your flash memory, making it persistent and it will mount normally from the flash memory upon boot.

1 Like