Is there a command line or script that can expand my partition



Can’t use graphics now, thousands of devices are remote, please provide a command operation mode

Hello @junxing.liang

I think, fdisk command will help you

Why can the built-in disks be expanded directly? Can we use command mode to operate the software

Using fdisk to generate nvme0n1p2, but how to merge with nvme0n1p1

In my setup, used SD card in eMMC integrated module.
I tried with resize2fs command, unfortunately I could not resize the current partition (SD card) when it’s online

https://ahelpme.com/linux/online-resize-of-a-root-ext4-file-system-increase-the-space/

When I booted on eMMC, I can resize the SD card partition