To generally reproduce what is going on here via use of /dev/loop0, we can do:
imgurl="http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-ppc64el-gpt1.img" imgdist="${imgurl##*/}" wget "$imgurl" -O "$imgdist" qemu-img convert -O raw "$imgdist" my.img qemu-img resize my.img 10G LODEV="/dev/loop0" sudo losetup $LODEV "$PWD/my.img" mkdir ./mp sudo mount ${LODEV}p1 ./mp sudo growpart "$LODEV" 1 sudo umount ./mp sudo losetup -d "$LODEV" ** Also affects: gdisk (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-utils in Ubuntu. https://bugs.launchpad.net/bugs/1285197 Title: growpart failed in ppc64el guest To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-utils/+bug/1285197/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs