Skip to content

How to partition eMMC storage #115

Description

@UphillD

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

  • mmcblk0p1 : 128M, /boot
  • mmcblk0p2 : 1M
  • mmcblk0p3 : 2G, /home
  • mmcblk0p4 : 5.1G, /

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions