I have just flashed an image of my original 16 GB SD card (the one that comes in the Raspberry Pi kit) to a new 128 GB card. It booted up fine but when I tried to expand the filesystem using raspi-config
it gave me
Your partition layout is not currently supported by this tool.
You are probably using NOOBS, in which case
your root filesystem is already expanded anyway.
I've seen that you can do this manually but all the tutorials I try have been for the RPi 2 or 3 and my partitions have been different to the tutorial. I can't figure out how to do it for the RPi 4. Please help.
Edit: output of sudo fdisk -l /dev/mmcblk0
:
Disk /dev/mmcblk0: 119.1 GiB, 127865454592 bytes, 249737216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x000895ae
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 8192 4615234 4607043 2.2G e W95 FAT16 (LBA)
/dev/mmcblk0p2 4615235 31116287 26501053 12.7G 5 Extended
/dev/mmcblk0p5 4620288 4685821 65534 32M 83 Linux
/dev/mmcblk0p6 4685824 5210109 524286 256M c W95 FAT32 (LBA)
/dev/mmcblk0p7 5210112 31116287 25906176 12.4G 83 Linux
sudo fdisk -l /dev/mmcblk0
(into your Question).