View previous topic :: View next topic |
Author |
Message |
RIA77 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 24 Feb 2016 Posts: 347
|
Posted: Thu Mar 14, 2024 1:29 pm Post subject: Grub problem [SOLVED] |
|
|
[EDIT] - deleting all grub related files and reinstalling solved problem.
Hello,
I have been trying to make custom USE flags variant of Gentoo.
I probably turned some flag off, can anyone help ?
I can't compile and install kernel.
Quote: | /etc/default/grub: line 58: loadfont: command not found
/etc/default/grub: line 63: terminal_output: command not found
* grub-mkconfig failed |
My grub conf
http://dpaste.com/H8E8N2Z8A
My make conf
http://dpaste.com/B6MAVPYF2
Package use
http://dpaste.com/4JF9N5V87
Thank you
Last edited by RIA77 on Thu Mar 14, 2024 4:33 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eeckwrk99 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1208501992659c54b9b9e81.jpg)
Joined: 14 Mar 2021 Posts: 165 Location: Gentoo forums
|
Posted: Thu Mar 14, 2024 2:18 pm Post subject: |
|
|
Your /etc/default/grub file content looks like what grub.cfg should be instead
Are you sure you didn't run
Code: | # grub-mkconfig -o "/etc/default/grub" |
instead of
Code: | # grub-mkconfig -o "/path/to/grub.cfg" |
at some point?
I would uninstall sys-boot/grub, remove old grub dirs/files in ESP, then install it again. Run grub-install again, then edit /etc/default/grub.
Code: | # grub-mkconfig -o "/path/to/grub.cfg" |
should work as expected then. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
RIA77 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 24 Feb 2016 Posts: 347
|
Posted: Thu Mar 14, 2024 4:19 pm Post subject: |
|
|
Yes, I am sure.
Also I can't install grub. Tried to delete that file and to replace with another, but I have problem that /etc/default/grub is always changing to other value.
Thank you.
I have been using Void linux and Grub so I am entering into Gentoo via grub generated from Void. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|