"If you are building an image and later transferring that image to bare metal"
this is exactly how pre-generated configs are created during ubuntu image builds, I believe. I suppose an explicit flag could be introduced to allow loopback entry generation for use during image builds, but I don't think it is worth the trouble. ** Changed in: grub2 (Ubuntu) Status: Triaged => Opinion -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1788775 Title: updating grub can end up with loopback devices in grub.cfg To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1788775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs