Resizing mtd partition

Alexander Aronsky alexander_ar at
Sun Feb 22 07:15:38 PST 2015

Hi everyone,

I have to resize an existing mtd partition on a NOR flash of an embedded
device (PPC architecture) without losing the data on this partition.

To be more specific, I have /dev/mtd0 and /dev/mtd1 devices on my flash,
and I want to increase the size of the file system mounted on /dev/mtdblock0
at the expense of the one on /dev/mtdblock1. For example, eliminate the
/dev/mtd1 altogether and give the /dev/mtd0 all the available space on the

What is the proper way to do it?

With kind regards,

More information about the linux-mtd mailing list