updating grub can end up with loopback devices in grub.cfg
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Opinion
|
Medium
|
Unassigned |
Bug Description
I had (I think, I can't quite remember) the filesystem.squashfs from a live server ISO mounted when the kernel was updated. A menu entry for this OS-resembling device is now in my grub.cfg:
menuentry 'Ubuntu 18.04.1 LTS (18.04) (on /dev/loop35p1)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_
insmod part_msdos
insmod ext2
if [ x$feature_
search --no-floppy --fs-uuid --set=root cf05f674-
else
search --no-floppy --fs-uuid --set=root cf05f674-
fi
linux /boot/vmlinuz-
initrd /boot/initrd.
}
I didn't select it :)
Something in this setup should be skipping loopback devices, surely?
Changed in grub2 (Ubuntu): | |
importance: | Undecided → Medium |
Well, we do use loop devices and do expect them to be listed for building the images. I'm not sure if there'll be a way to differentiate between the image build case and normal case to be able to pass some parameter (--skip-loopback, whatever) as appropriate. Let's look into that.