On Wed, 22 Jan 2025 14:20:22 +0100
Hans <hans.ullr...@loop.de> wrote:

> Hi folks, 
> 
> I am using UEFI now for the first time. Everything is worḱing fine,
> but I do not understand everything.

That's alright, nobody else does either.

> Please allow me to ask:
> 
> 1. In /etc/fstab there is my entry
> UUID=5ABD-D634  /boot/efi       vfat    umask=0077      0       1

Looks about normal.

> 
> and df -h shows
> 
> /dev/nvme0n1p1                 96M     32M   65M   33% /boot/efi
> 
> which is correct so far.

So far, so good. However, please show us the complete command and
output by copy and paste. E.g.:

root@peregrine:~# grep efi /etc/fstab
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=91AE-3A24  /boot/efi       vfat    umask=0077      0       1
root@peregrine:~# df -h /boot/efi/
Filesystem      Size  Used Avail Use% Mounted on
/dev/nvme0n1p1   93M  5.9M   87M   7% /boot/efi
root@peregrine:~# 

For example, the output I show confirms that the correct partition is
mounted on /boot/efi.

> But I also find the directory
> 
> /efi
> 
> which has the same content as /boot/efi. It shows, both are the same.

"It shows" ??? What shows? How?


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

I have no idea whether it is correct or not. I can tell you that I have
several UEFI machines here and not one of them shows it.

How did you install your system? Which distribution? I used a Debian
netinst installer to install all of mine. You didn't tell us what
distribution of Linux your are using; for all I know you are using some
distribution that creates /efi for you.


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

That depends on what it is. If it is a regular directory, then "rm -r
/efi" should do it. However, if your EFI partition is also mounted on
/efi, or /efi is a symbolic or hard link to /boot/efi, that would be
catastrophic.


> 
> 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?

Probably not. If you used a Debian 12 (bookworm) netinst installer, you
should have everything you need. For most people, grub and efi are
"fire and forget" systems: the system is set up once and runs
automatically as needed.


> 
> Thanks for enlightening me!
> 
> Best
> 
> Hans



-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

Reply via email to