Resizing root partition causing system unable to boot (RPI4 micro sdcard)

Hi,

I just had fresh installation of 24.10 on RPI4 micro sdcard. Firmware(SquashFS) downloaded from firmware selector. I followed this link to expand root partition:

https://openwrt.org/docs/guide-user/advanced/expand_root

wget -U "" -O expand-root.sh "https://openwrt.org/_export/code/docs/guide-user/advanced/expand_root?codeblock=0"
. ./expand-root.sh

system reboots and never come back.

Any advice?

  • Connect to the serial console and watch/analyze/record the boot log on a cold boot. Ask more direct questions based on what you glean from the boot log.
  • Re-install OpenWrt and try a manual resizing method.
  • Re evaluate why you want to resize. If you want the space to host files for the home etc, consider putting the files on a usb drive and mounting the filesystem for sharing.

Check if same issue and solution as in Expand Root Script Not Working on OpenWRT 24.10.0 (Raspberry Pi 5) - #7 by jafartayyar.

1 Like

Thanks, that works!

I need install many packages; they take around 300M space. In the past I build my own image with enlarged root partition.

1 Like

https://openwrt.org/docs/guide-user/advanced/expand_root

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.