Comment 6 for bug 1385930

Revision history for this message
hakuna_matata (hakuna-matata) wrote :

Meanwhile I could fix the bug. We need some changes in /bin/autopartition-loop for parted >= 3.2. IMHO it is part of partman-auto-loop. So I added it to the bug report.

A copy of the fixed version of this file is here: https://raw.githubusercontent.com/hakuna-m/wubiuefi/068bb0ff656d40083a207d884159b9347d5d1ed5/data/custom-installation/patch/autopartition-loop

I overwrote /bin/autopartition-loop with the patched file and it worked.

It is not possible to create a partition with parted 3.2 within the new loop file because parted 3.2 creates a partition automatically. We need this technique in previous versions of parted only. It fails with parted 3.2.

Note: The patched file also contains a second patch for systemd where mount --move commands doesn't work.