On 10/05/2024 at 00:52, Jmkr wrote:
Pascal Hambourg wrote:

You could just run grub-install to reinstall GRUB into the new ESP and
register it in EFI boot variables.

I wanted to try the manual way to learn + to create my EFI boot entry with a customized 
name. I think GRUB installation can only create EFI boot entry with the name 
"debian", or is it possible to change that?

You can set an alternative name and location by running grub-install with --bootloader-id=<name> or with GRUB_DISTRIBUTOR=<name> in /etc/default/grub. It also affects the directory name in the ESP. But depending on the grub package version, monolithic GRUB images (signed for secure boot) do not support being installed in another location than /EFI/debian (I have been advocating to fix this but no luck so far).

No, because in manual partitioning it is up to the user to decide which
ESP(s) is/are suitable for the installation, and set the others as "do
not use".

But is there a reason why DI partitioning does not set all (or previously existing) ESPs 
by default to "do not use" and let the user change that manually

I don't know why it was designed this way.

(perhaps with a reminder message if the user forgets to set the ESP in UEFI 
mode)?

The installer already warns if the partitioning does set an ESP.

Maybe it would be more intuitive + it could avoid/minimize user errors? Or is a 
shared ESP so common that DI partitioning needs its current defaults?

Yes, the ESP is designed to be shared by all boot loaders.

Reply via email to