-
Notifications
You must be signed in to change notification settings - Fork 46
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
systemd-boot now can default to /efi
as the folder for initramfs images. How does booster cope with that?
#246
Comments
However, dracut fixed this already as an alternative solution, so maybe you can take the following code as a reference? |
/efi
as the folder for initramfs images instead of /boot
. How does booster cope with that?/efi
as the folder for initramfs images. How does booster cope with that?
On Arch Linux, Booster provides a shell script that puts the initramfs image at /boot. The shell script does not currently accommodate this which (should) cause the image to not be built. As a result, since there's no image, this implies that the bootloader wouldn't find it. As a workaround, you would have to manually build and specify the appropriate path |
right, that's the problem. as a workaround, i manually replaced |
Fixes anatol#246 In Arch Linux, we currently build and install the initramfs/kernel at /boot and assume that's the layout of the users' system. However, if /boot does not exists then the script will fail, thus leaving it up to the user to build the image and install at a boot path like /efi manually.
@enihcam To follow up, is there any specific reason why you do not have a This is an Arch Linux script so the default boot path for initramfs images and other components is I understand that there are cases for other ESP mount points, but what's yours specifically? |
i don't really care what the directory be named. also, i'd have to manually write into |
I cannot remember which, either grub, arch's mkinitcpio, or dracut (but I think one of the first two) has some functionality hard-coded to This is outside the scope of the issue, but relevant -- @anatol , is compatibility with systemd's |
edit: Sorry about the previous comment. Changing the default path was no longer necessary after setting up the I understand using |
I'm asking this question because I see some hardcoded
/boot
in booster codebase, so the logic will fail in this case, according to https://www.freedesktop.org/software/systemd/man/systemd-gpt-auto-generator.htmlHere is my root directory layout. As you can see there is no
/boot
So, instead of ad-hoc script, I thought an elegant way to copy initramfs artifacts over to $BOOT directory is to use systemd-kernel-install
An example would be:
https://gitlab.com/dalto.8/kernel-install-for-dracut
What do you think?
For more details regarding to
/efi
:https://www.freedesktop.org/software/systemd/man/systemd-boot.html
The text was updated successfully, but these errors were encountered: