Scott, Looks good but could be simplified to:
+if [ "${rootdisk%[0-9]p}" != "${rootdisk}" ] ; then + rootdisk=${rootdisk%p} +fi I don't think you need to adjust $partnum. Also, can you apply the patch to growroot/dracut/modules.d/50growroot/growroot.sh as well? Note that the following (old) merge request also contains a (verified) fix: https://code.launchpad.net/~juergh/cloud-initramfs-tools/dracut-growroot-fixes/+merge/196272 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-initramfs-tools in Ubuntu. https://bugs.launchpad.net/bugs/1236380 Title: growroot fails for images on SD cards To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-initramfs-tools/+bug/1236380/+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