f0cal / google-coral

Community gathering point for Google Coral dev board and dongle knowledge.
107 stars 14 forks source link

How to partition eMMC storage #115

Open UphillD opened 6 months ago

UphillD commented 6 months ago

After flashing, the internal eMMC storage of the 8GB device is partitioned like this:

I have migrated my /home partition to an external SD card by following the tutorial on #61, but now the mmcblk0p3 partition is sitting unused. I am looking for a way to delete partition mmcblk0p3 and extend partition mmcblk0p4, so that it gains those additional 2G.

I already tried using resize2fs to extend the partition online, but mmcblk0p3 precedes mmcblk0p4 on the disk and apparently resize2fs can only resize partitions forward.

The only solution that I can think of is fully installing the OS on an SD Card by following this guide, using it to boot by changing the boot mode switches, and then trying to partition the internal memory (since it should not get mounted at all). Are there any easier solutions?