Hans composed on 2025-01-22 14:20 (UTC+0100):

> I am using UEFI now for the first time. Everything is worḱing fine, but I do 
> not understand 
> everything. Please allow me to ask:

> 1. In /etc/fstab there is my entry
> UUID=5ABD-D634  /boot/efi       vfat    umask=0077      0       1

> and df -h shows

> /dev/nvme0n1p1                 96M     32M   65M   33% /boot/efi

> which is correct so far. But I also find the directory

> /efi

> which has the same content as /boot/efi. It shows, both are the same.

> Questions: 
> 1. Is the folder /efi correct and who is creating it? 

AFAICT, it is there for use by systemd-boot and possibly other alternatives to
grub-efi. I'm not sure of the source, but it could possibly have been from 
having
installed the usrmerge package.

> 2. If not, how can I get rid of it?

I don't like seeing it in / directory lists, so obfuscate it by removal and
replacement by an empty immutable regular file by that name.

> 3. Which packages of debian must I install, to automate all settings of UEFI 
> during grub-install 
> or update-grub. I read of grub-efi, grub-efi-amd64, grub-efi-amd64-bin and 
> grub-efi-amd64-
> signed. But which one I should install to get no pain. At the moment only 
> grub-efi-amd64-bin 
> and grub-efi-amd64-signed and of course grub2-common are installed. Do I need 
> more?

AFAICT, if you are already UEFI booting via Debian's grub-efi-amd64, you already
have all you need. Simply

        grub-install

sets up the UEFI BIOS and the required file(s) on the ESP filesystem. Whether 
grub
itself is fully and properly installed and menuing or not, if your UEFI BIOS BBS
hotkey presents an entry described as UEFI debian, it should successfully boot
your Debian installation. If you will have multiple Debian installations in the
same computer, I recommend editing /etc/default/grub and giving 
GRUB_DISTRIBUTOR=
a unique string value, e.g. "trixie-p03n", to give each a unique ESP entry, thus
keeping each from overwriting any other(s). This is best done and applied 
/prior/
to any second or subsequent installation.
-- 
Evolution as taught in public schools is, like religion,
        based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata

Reply via email to