Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub problem [SOLVED]
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
RIA77
Guru
Guru


Joined: 24 Feb 2016
Posts: 391

PostPosted: Thu Mar 14, 2024 1:29 pm    Post subject: Grub problem [SOLVED] Reply with quote

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


Joined: 14 Mar 2021
Posts: 232
Location: Gentoo forums

PostPosted: Thu Mar 14, 2024 2:18 pm    Post subject: Reply with quote

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


Joined: 24 Feb 2016
Posts: 391

PostPosted: Thu Mar 14, 2024 4:19 pm    Post subject: Reply with quote

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
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