But the GRUB package tries to use /dev/disk/by-id/... for install_devices setting (since 2010 and Debian/squeeze AFAICS), as can be observed by reconfiguring the GRUB package (which then automatically converts the /dev/sdX to the proper /dev/disk/by-id/... device when being asked in the debconf prompt):
We pass the requested --grub … device argument to the GRUB package configuration, like:
But the GRUB package tries to use /dev/disk/by-id/... for install_devices setting (since 2010 and Debian/squeeze AFAICS), as can be observed by reconfiguring the GRUB package (which then automatically converts the /dev/sdX to the proper /dev/disk/by-id/... device when being asked in the debconf prompt):
The available_ids() and device_to_id() helper functions are based on code by Colin Watson cjwatson@debian.org in GRUB's postinst script of the Debian package, see git commits 4830efd9e + ce2a43c85 at https://salsa.debian.org/grub-team/grub.git.
Closes: https://github.com/grml/grml-debootstrap/issues/206