Resize /dev/mmcblk0p1 mounted on /boot/firmware of Raspberry Pi CM4

Hi,

I installed the Ubuntu MATE 22.04.2 LTS on Raspberry Pi CM4.
I would like to resize /dev/mmcblk0p1 243M 227M 17M 94% /boot/firmware.
Could you suggest me for resizing it?

Filesystem Size Used Avail Use% Mounted on
tmpfs 380M 3.5M 376M 1% /run
/dev/mmcblk0p2 29G 9.3G 20G 33% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/mmcblk0p1 243M 227M 17M 94% /boot/firmware
tmpfs 380M 140K 379M 1% /run/user/1000

Thank you

1 Like

Welcome @Good to the community!

you can plug in the SD card in another laptop which runs linux, use gparted to resize partitions. You may have to move p2 to the right, make some room, and then resize p1 to 512M.

concept:

[ p1 243M --][  p2                 ]           current state
[ p1 243M --]      [  p2           ]           move p2 to the right
[ p1 512M --     ] [  p2           ]           resize p1 to 512M
1 Like

Hi pavlos_kairis,

Thank you very much for your help.
I use the OS on eMMC 32 GB of Raspberry Pi CM4.
I do not use the SD card.
I tried to resize the eMMC by Gparted.
Gparted cannot resize it.

Thank you

Hello
Not familiar with the PI but think with Gparted you would have to unmount the drive thus would need to use a live -usb key to perform the operation.
Just based on information I gleaned from your post.

Maybe here:
Towards bottom points out some issues.

https://raspians.com/resize-and-expand-ubuntu-partitions-on-a-raspberry-pi/

1 Like

You cannot modify an active filesystem. You're using the CM4 module that has eMMC builtin. You need to boot another Linux system, connect the CM4 so that you can use gparted to modify the filesystem. Here's a link How to increase the size of a Raspberry Pi CM module (with eMMC) – MBReviews

2 Likes

Hi pavlos_kairis and mendy,

Thank you very much for your help.

Thank you

2 Likes