View previous topic :: View next topic |
Author |
Message |
klas Tux's lil' helper
Joined: 30 Aug 2017 Posts: 104 Location: Manchester
|
Posted: Thu Aug 31, 2017 8:56 am Post subject: command bootctl --path=boot install failed |
|
|
Any one can help , I am stuck at
Code: |
(chroot) livecd / # bootctl --path=boot install
Failed to open "/usr/lib/systemd/boot/efi": No such file or directory
|
I really do not know what the problem is , I just follow every details
[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu] |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Thu Aug 31, 2017 9:46 am Post subject: Re: command bootctl --path=boot install failed |
|
|
klas wrote: | I really do not know what the problem is , I just follow every details |
Please add a link, tell what you are trying to follow. It's hard to guess. |
|
Back to top |
|
|
klas Tux's lil' helper
Joined: 30 Aug 2017 Posts: 104 Location: Manchester
|
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Thu Aug 31, 2017 10:12 am Post subject: |
|
|
Could not find that string you menitoned. But herer is one like: Code: | bootctl --path=/boot install |
See the difference? |
|
Back to top |
|
|
klas Tux's lil' helper
Joined: 30 Aug 2017 Posts: 104 Location: Manchester
|
Posted: Thu Aug 31, 2017 10:40 am Post subject: |
|
|
Code: | (chroot) livecd ~ # bootctl --path=/boot install
Failed to open "/usr/lib/systemd/boot/efi": No such file or directory
|
[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu] |
|
Back to top |
|
|
klas Tux's lil' helper
Joined: 30 Aug 2017 Posts: 104 Location: Manchester
|
Posted: Thu Aug 31, 2017 11:04 am Post subject: |
|
|
By any chance, can you know some best tutorial to install gentoo on uefi systemd and bootctl? |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Thu Aug 31, 2017 11:29 am Post subject: |
|
|
What's bootctl? Something from systemd stuff?? If so, try Sakaki's. |
|
Back to top |
|
|
klas Tux's lil' helper
Joined: 30 Aug 2017 Posts: 104 Location: Manchester
|
Posted: Thu Aug 31, 2017 11:34 am Post subject: |
|
|
bootctl is a command to install systemdboot instead of grub |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Thu Aug 31, 2017 11:52 am Post subject: |
|
|
Then it should fit |
|
Back to top |
|
|
klas Tux's lil' helper
Joined: 30 Aug 2017 Posts: 104 Location: Manchester
|
Posted: Thu Aug 31, 2017 1:23 pm Post subject: |
|
|
yeah , there must be somewhere I went wrong , just decide to start over.
Thanks |
|
Back to top |
|
|
klas Tux's lil' helper
Joined: 30 Aug 2017 Posts: 104 Location: Manchester
|
Posted: Sat Sep 16, 2017 11:02 pm Post subject: |
|
|
I went for grub2 as it s better supported though I would like systemd boot in future . As my arch linux just run on systemd boot as the booting is real fast |
|
Back to top |
|
|
dncrash n00b
Joined: 27 Sep 2017 Posts: 1
|
Posted: Wed Sep 27, 2017 1:01 pm Post subject: still doesn't work |
|
|
I am having the same issue. Quote: | Failed to open "/usr/lib/systemd/boot/efi": No such file or directory |
There's no mention of systemd-boot in the wiki nor any other mention on how to get this working on gentoo. Is no one using systemd-boot ? |
|
Back to top |
|
|
klas Tux's lil' helper
Joined: 30 Aug 2017 Posts: 104 Location: Manchester
|
|
Back to top |
|
|
nezharen n00b
Joined: 16 May 2018 Posts: 1
|
Posted: Wed May 16, 2018 3:14 am Post subject: |
|
|
Hi guys, now I know how to deal with this issue. You should enable "gnu-efi" USE flag for systemd. Then you can have needed files in /usr/lib/systemd/boot/. |
|
Back to top |
|
|
neyuru Apprentice
Joined: 21 Mar 2020 Posts: 191
|
Posted: Sat May 16, 2020 1:55 pm Post subject: |
|
|
nezharen wrote: | Hi guys, now I know how to deal with this issue. You should enable "gnu-efi" USE flag for systemd. Then you can have needed files in /usr/lib/systemd/boot/. |
Thank you for posting the solution, I was having the same issue and placing
Code: | sys-apps/systemd gnuefi |
in the package.use file resolved it. Note that the USE flag is gnuefi not gnu-efi.
This is not all. In order for the command
to succeed, some important files and directories should be created. This is accomplished by installing
Code: | emerge -a sys-libs/efivar |
|
|
Back to top |
|
|
|