Hello Peter, here are some (partial) successes with some twiddling:
https://askubuntu.com/questions/345343/gparted-unable-to-satisfy-all-constraints-on-the-partition On Fri, Mar 8, 2019 at 10:31 AM Smith, Peter1 (GE Renewable Energy) < peter.t.sm...@ge.com> wrote: > Posting again as I was not a member… > > > > > > *From:* Smith, Peter1 (GE Renewable Energy) > *Sent:* 07 March 2019 16:31 > *To:* 'yocto@yoctoproject.org' <yocto@yoctoproject.org> > *Subject:* Resizing extended partition in image created with wic (poky > sumo) > > > > I am having trouble with resizing a partition inside of an extended > partition in an image created using wic (poky sumo). > > > > Here is the .wks file I have used: > > > > part /mnt/boot --source bootimg-partition --ondisk mmcblk0 --label > edgeos-boot --active --align 4096 --fixed-size=100M --fstype=msdos > --use-uuid > > part / --source rootfs --rootfs-dir=sdcard-image --ondisk mmcblk0 > --use-uuid --uuid=EA2EEE0B-5C82-4817-8439-1202B5E5651A --fstype=ext3 > --label edgeos-root --align 4096 --fixed-size 1G > > part /mnt/rootfs2 --ondisk mmcblk0 --use-uuid > --uuid=EA2EEE0B-5C82-4817-8439-1202B5E5651B --fstype=ext3 --label rootfs2 > --align 4096 --fixed-size 1G > > part /mnt/conf --ondisk mmcblk0 --use-uuid --fstype=ext3 --label > edgeos-conf --align 4096 --fixed-size 20M > > part /mnt/data --ondisk mmcblk0 --use-uuid --fstype=ext3 --label > edgeos-data --align 4096 --fixed-size 2947M > > bootloader --ptable msdos > > > > …and here is what parted thinks about the content of the image: > > > > Sector size (logical/physical): 512B/512B > > Partition Table: msdos > > Disk Flags: > > > > Number Start End Size Type File system Flags > > 1 8192s 212991s 204800s primary fat16 boot > > 2 212992s 2310143s 2097152s primary ext3 > > 3 2310144s 4407295s 2097152s primary ext3 > > 4 4415487s 10500095s 6084609s extended lba > > 5 4415488s 4456447s 40960s logical ext3 > > 6 4464640s 10500095s 6035456s logical ext3 > > > > When I try and resize the extended partition to the end of the disk (it’s > a 16GB SDCARD) with the following command I get an error > > > > parted /dev/… resizepart 4 -1s > > bash[177]: Expand extended partition(4)... Error: Unable to satisfy all > constraints on the partition. > > > > I have searched the internet but can’t seem to find any suggestions about > what could be wrong, any ideas? > > > > Best Regards Peter Smith > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > -- Leon Woestenberg l...@sidebranch.com T: +31 40 711 42 76 M: +31 6 472 30 372 Sidebranch Embedded Systems Eindhoven, The Netherlands http://www.sidebranch.com
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto