-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
boot.loader.efi.efiSysMountPoint doesn't work as expected #127727
Comments
GRUB should be installing to the EFI mountpoint:
Maybe we should have a UEFI test that uses the efi system mount point feature to validate this. I have not verified whether it works or not. I'm interested in hearing more details about your setup and what you are observing. I thought systemd-boot required boot entries to live on the ESP.
Looks like it can do something else too.
User-specified would be helpful. Defaulting to |
I marked this as stale due to inactivity. → More info |
Still important to me. |
Just hit this myself. I'd like to see this fixed too, though I might be more inclined to spend my effort on a different approach to generation/bootloader handling by adding grub2 support to 'bootspec' but that's just a dream right now. I sort of have a little bit of a loose undefined list in my head -- We are also inconsistent about how grub is installed into a subdirectory when bootloaderId is set or unset. This stuff was noticed when I wrote a module to enable secure boot by using Fedora's shim and then using mokutil to disable secondary verification. |
BTW, it seems like the Arch wiki is based on a 2016 comment on systemd that hints that the path forward is "/efi" and xbootloader on "/boot". systemd/systemd#3757 (comment) |
Describe the bug
A clear and concise description of what the bug is.
GRUB says it installs into boot.loader.efi.efiSysMountPoint when the install script is run but actually installs itself into /boot which is no bueno because that's not my ESP.
systemd-boot installs itself into efiSysMountPoint as expected but also puts the kernels and initrds on it which is bad again because my ESP is only 100M (thanks M$).
This leaves no way to have a separate ESP and boot partition which is essential for dual boot with Windows.
Expected behavior
A clear and concise description of what you expected to happen.
Boot loaders should go into boot.loader.efi.efiSysMountPoint and the kernels etc. should go into /boot/ (or, even better, a user-specified location)
Additional context
Add any other context about the problem here.
While we're at it we might want to look into making systemd-boot and GRUB share the same initrds and kernels because activating both duplicates them currently.
Notify maintainers
@nh2 @samueldr
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Maintainer information:
The text was updated successfully, but these errors were encountered: