Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
command bootctl --path=boot install failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
klas
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2017
Posts: 104
Location: Manchester

PostPosted: Thu Aug 31, 2017 8:56 am    Post subject: command bootctl --path=boot install failed Reply with quote

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
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Thu Aug 31, 2017 9:46 am    Post subject: Re: command bootctl --path=boot install failed Reply with quote

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
View user's profile Send private message
klas
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2017
Posts: 104
Location: Manchester

PostPosted: Thu Aug 31, 2017 10:07 am    Post subject: Reply with quote

The link is https://github.com/hiroru/gentoo_install , I think if still not working I might consider switching to grub2
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Thu Aug 31, 2017 10:12 am    Post subject: Reply with quote

Could not find that string you menitoned. But herer is one like:
Code:
bootctl --path=/boot install

See the difference?
Back to top
View user's profile Send private message
klas
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2017
Posts: 104
Location: Manchester

PostPosted: Thu Aug 31, 2017 10:40 am    Post subject: Reply with quote

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
View user's profile Send private message
klas
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2017
Posts: 104
Location: Manchester

PostPosted: Thu Aug 31, 2017 11:04 am    Post subject: Reply with quote

By any chance, can you know some best tutorial to install gentoo on uefi systemd and bootctl?
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Thu Aug 31, 2017 11:29 am    Post subject: Reply with quote

What's bootctl? Something from systemd stuff?? If so, try Sakaki's.
Back to top
View user's profile Send private message
klas
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2017
Posts: 104
Location: Manchester

PostPosted: Thu Aug 31, 2017 11:34 am    Post subject: Reply with quote

bootctl is a command to install systemdboot instead of grub
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Thu Aug 31, 2017 11:52 am    Post subject: Reply with quote

Then it should fit
Back to top
View user's profile Send private message
klas
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2017
Posts: 104
Location: Manchester

PostPosted: Thu Aug 31, 2017 1:23 pm    Post subject: Reply with quote

yeah , there must be somewhere I went wrong , just decide to start over.
Thanks
Back to top
View user's profile Send private message
klas
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2017
Posts: 104
Location: Manchester

PostPosted: Sat Sep 16, 2017 11:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
dncrash
n00b
n00b


Joined: 27 Sep 2017
Posts: 1

PostPosted: Wed Sep 27, 2017 1:01 pm    Post subject: still doesn't work Reply with quote

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
View user's profile Send private message
klas
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2017
Posts: 104
Location: Manchester

PostPosted: Wed Sep 27, 2017 5:54 pm    Post subject: Reply with quote

I guess people here use gummi boot

https://wiki.gentoo.org/wiki/Gummiboot
Back to top
View user's profile Send private message
nezharen
n00b
n00b


Joined: 16 May 2018
Posts: 1

PostPosted: Wed May 16, 2018 3:14 am    Post subject: Reply with quote

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
View user's profile Send private message
neyuru
Apprentice
Apprentice


Joined: 21 Mar 2020
Posts: 191

PostPosted: Sat May 16, 2020 1:55 pm    Post subject: Reply with quote

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

Code:
bootctl install


to succeed, some important files and directories should be created. This is accomplished by installing

Code:
emerge -a sys-libs/efivar
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum