View previous topic :: View next topic |
Author |
Message |
pabloblo n00b
Joined: 24 Jan 2024 Posts: 66
|
Posted: Mon Sep 30, 2024 6:46 pm Post subject: problem to install at boot |
|
|
hello
actually i have gentoo openrc + xfce + grub
i want to delete grub to boot with efi stub
i have read the documentation to install efi stub, but it don t work
i don t have solution |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4907 Location: Bavaria
|
|
Back to top |
|
|
pabloblo n00b
Joined: 24 Jan 2024 Posts: 66
|
Posted: Tue Oct 01, 2024 6:38 pm Post subject: |
|
|
hello pietinger
how are you ?
yes i compile myself
in my /boot i have this :
amd-uc.img initramfs-6.6.52-gentoo-pablo.img
config-6.6.52-gentoo-pablo System.map-6.6.52-gentoo-pablo
EFI vmlinuz-6.6.52-gentoo-pablo
grub |
|
Back to top |
|
|
AndrewAmmerlaan Developer
Joined: 25 Jun 2014 Posts: 385 Location: Nijmegen
|
Posted: Tue Oct 01, 2024 6:39 pm Post subject: |
|
|
Please share the output of
Code: | emerge -pv sys-kernel/installkernel |
_________________ OS: Gentoo 6.8.10-gentoo-dist, ~amd64, 23.0/desktop/plasma/systemd
MB: MSI Z370-A PRO
CPU: Intel Core i9-9900KS
GPU: Intel Arc A770 16GB & Intel UHD Graphics 630
SSD: Samsung 970 EVO Plus 2 TB
RAM: Crucial Ballistix 32GB DDR4-2400 |
|
Back to top |
|
|
pabloblo n00b
Joined: 24 Jan 2024 Posts: 66
|
Posted: Tue Oct 01, 2024 7:07 pm Post subject: |
|
|
hello,
this is the output :
Code: | gentoo ~ # emerge -pv sys-kernel/installkernel
* IMPORTANT: config file '/etc/portage/package.use/package.use' needs updating.
* See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
* sections of the emerge man page to learn how to update config files.
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 2.05 s (backtrack: 0/20).
[ebuild R ] sys-kernel/installkernel-48-r1::gentoo USE="grub -dracut (-efistub) -refind -systemd -systemd-boot (-ugrd) -uki -ukify" 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB |
[Administrator edit: added [code] tags to preserve output layout. -Hu] |
|
Back to top |
|
|
AndrewAmmerlaan Developer
Joined: 25 Jun 2014 Posts: 385 Location: Nijmegen
|
Posted: Tue Oct 01, 2024 7:14 pm Post subject: |
|
|
The efistub flag is not enabled, this is why it does not work.
This is an experimental feature, and the flag is stabled masked, to enable it you'd have to accept testing keywords for installkernel, uefi-mkconfig and dependencies. _________________ OS: Gentoo 6.8.10-gentoo-dist, ~amd64, 23.0/desktop/plasma/systemd
MB: MSI Z370-A PRO
CPU: Intel Core i9-9900KS
GPU: Intel Arc A770 16GB & Intel UHD Graphics 630
SSD: Samsung 970 EVO Plus 2 TB
RAM: Crucial Ballistix 32GB DDR4-2400
Last edited by AndrewAmmerlaan on Tue Oct 01, 2024 7:28 pm; edited 1 time in total |
|
Back to top |
|
|
pabloblo n00b
Joined: 24 Jan 2024 Posts: 66
|
Posted: Tue Oct 01, 2024 7:27 pm Post subject: |
|
|
so, if i put these 2 flags, efistub and ugrd, i reboot thte computer and it work ? |
|
Back to top |
|
|
AndrewAmmerlaan Developer
Joined: 25 Jun 2014 Posts: 385 Location: Nijmegen
|
Posted: Tue Oct 01, 2024 7:31 pm Post subject: |
|
|
pabloblo wrote: | so, if i put these 2 flags, efistub and ugrd, i reboot thte computer and it work ? |
No, you use package.accept_keywords to accept testing keywords for installkernel and uefi-mkconfig, then enable the efistub flag, then re-install installkernel, then re-install the kernel. And then it *may* work, efistub booting is not guaranteed to work on every motherboard, many have quirks that make this impossible. There is no harm in trying though, this is all documented on the bootloader page of the handbook. _________________ OS: Gentoo 6.8.10-gentoo-dist, ~amd64, 23.0/desktop/plasma/systemd
MB: MSI Z370-A PRO
CPU: Intel Core i9-9900KS
GPU: Intel Arc A770 16GB & Intel UHD Graphics 630
SSD: Samsung 970 EVO Plus 2 TB
RAM: Crucial Ballistix 32GB DDR4-2400 |
|
Back to top |
|
|
pabloblo n00b
Joined: 24 Jan 2024 Posts: 66
|
Posted: Tue Oct 01, 2024 7:42 pm Post subject: |
|
|
ah ok! |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4907 Location: Bavaria
|
Posted: Tue Oct 01, 2024 7:49 pm Post subject: |
|
|
AndrewAmmerlaan wrote: | No, you use package.accept_keywords to accept testing keywords for installkernel and uefi-mkconfig,[...] |
you will need more for package.accept_keywords:
Code: | sys-boot/uefi-mkconfig
sys-kernel/installkernel
sys-kernel/ugrd
dev-python/zenlib
dev-python/pycpio |
_________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4907 Location: Bavaria
|
Posted: Tue Oct 01, 2024 7:51 pm Post subject: |
|
|
P.S.: Dont use parameter -D when you emerge "installkernel"->
Code: | ~ # ACCEPT_KEYWORDS="~amd64" USE="efistub ugrd" emerge -pv installkernel
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 0.97 s (backtrack: 0/20).
[ebuild N ] dev-python/zenlib-2.2.4::gentoo PYTHON_TARGETS="python3_12 -python3_11" 18 KiB
[ebuild N ] sys-boot/uefi-mkconfig-2.3::gentoo 11 KiB
[ebuild N ] dev-python/pycpio-1.3.2::gentoo USE="-test" PYTHON_TARGETS="python3_12 -python3_11" 22 KiB
[ebuild N ] sys-kernel/ugrd-1.22.0::gentoo USE="-test" PYTHON_TARGETS="python3_12 -python3_11" 65 KiB
[ebuild N ] sys-kernel/installkernel-48-r1::gentoo USE="efistub ugrd -dracut -grub -refind -systemd -systemd-boot -uki -ukify" 25 KiB
Total: 5 packages (5 new), Size of downloads: 139 KiB
~ # ACCEPT_KEYWORDS="~amd64" USE="efistub ugrd" emerge -pvD installkernel
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 3.48 s (backtrack: 0/20).
[ebuild R ] dev-lang/python-exec-2.4.10:2::gentoo USE="(native-symlinks) -test" PYTHON_TARGETS="(pypy3) (python3_10) (python3_11) (python3_12) (python3_13%*)" 83 KiB
[ebuild N ] sys-boot/uefi-mkconfig-2.3::gentoo 11 KiB
[ebuild NS ] dev-lang/python-3.13.0_rc2_p2:3.13::gentoo [3.12.6_p2:3.12::gentoo] USE="debug* ensurepip gdbm (gil%*) ncurses readline sqlite ssl -bluetooth -build -examples (-jit) -libedit -pgo -test -tk -valgrind -verify-sig" LLVM_SLOT="18%*" 20.570 KiB
[ebuild N ] dev-python/zenlib-2.2.4::gentoo PYTHON_TARGETS="python3_12 -python3_11" 18 KiB
[ebuild N ] dev-python/pycpio-1.3.2::gentoo USE="-test" PYTHON_TARGETS="python3_12 -python3_11" 22 KiB
[ebuild N ] sys-kernel/ugrd-1.22.0::gentoo USE="-test" PYTHON_TARGETS="python3_12 -python3_11" 65 KiB
[ebuild N ] sys-kernel/installkernel-48-r1::gentoo USE="efistub ugrd -dracut -grub -refind -systemd -systemd-boot -uki -ukify" 25 KiB
Total: 7 packages (5 new, 1 in new slot, 1 reinstall), Size of downloads: 20.791 KiB |
_________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
pabloblo n00b
Joined: 24 Jan 2024 Posts: 66
|
Posted: Tue Oct 01, 2024 8:29 pm Post subject: |
|
|
ok thank you |
|
Back to top |
|
|
|