Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot find LILO by kernel installing
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
st834
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jun 2022
Posts: 95

PostPosted: Sun Mar 24, 2024 4:35 pm    Post subject: Cannot find LILO by kernel installing Reply with quote

Hi,
during my Gentoo install, I compile the kernel 6.6.6.21 (make menuconfig/make/make install/make modules_install).

On the step
Code:
make install

I receive a message:
Code:
INSTALL /boot
Cannot find LILO


The first line has always been before. The second line appeared for the first time. At the same time, two file System.map and vmlinuz are copied to/boot. The postfix "...-6.6.21-gentoo" is missing, the corresponding configuration file (config-6.6.21-gentoo) is missing too.

When performing
Code:
grub-mkconfig -o /boot/grub/grub.cfg

says it can't find a compiled kernel image. Loading the boot menu is empty and cannot be loaded. Previously, there were no such problems with this method of compilation.

Unfortunately, I cannot understand what is the reason for such kernel installations (modules are installed normally) and how this can be fixed. I use new 23.0 profile and go into kernek source tree over symlinkk /usr/src/linux and not direct, over /usr/src/linux-6.6.21-gentoo.

Thank you very much.
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1908

PostPosted: Sun Mar 24, 2024 4:57 pm    Post subject: Reply with quote

See news at https://www.gentoo.org/support/news-items/2024-03-12-debianutils-installkernel.html
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54577
Location: 56N 3W

PostPosted: Sun Mar 24, 2024 5:02 pm    Post subject: Reply with quote

st834,

A long time age Lilo was a popular boot loader. Its about all there was until what is now grub-legacy came along.
The kernels own install script tries to update /enc/lilo and unsurprisingly, you don't have it.

What is more surprising is that you don't have Gentoos sys-kernel/installkernel, which provides an override to the kernel internal make install.

What were you expecting
Code:
make install
to do for you?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
st834
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jun 2022
Posts: 95

PostPosted: Sun Mar 24, 2024 5:28 pm    Post subject: Reply with quote

I didn't know that, thank you!
Back to top
View user's profile Send private message
st834
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jun 2022
Posts: 95

PostPosted: Sun Mar 24, 2024 8:59 pm    Post subject: Reply with quote

NeddySeagoon, Thank you for your answer.

I expected (and always got the
Code:
INSTALL /boot
output before without mentioning LILO). The reason most likely lies in the news cited by grknight above.

I installed manually installkernel, but it didn't get any easier. I think this is because I didn't update the @world set (and at the same time did not merged 115 packages into it) in the previous step when I was selecting a profile and setting the USE variable.

In more detail, I described the reasons here why I did not: https://forums.gentoo.org/viewtopic-t-1168059.html
Back to top
View user's profile Send private message
majoron
Apprentice
Apprentice


Joined: 12 Oct 2005
Posts: 240
Location: Frankfurt

PostPosted: Fri Aug 30, 2024 11:53 am    Post subject: Reply with quote

grknight wrote:
See news at https://www.gentoo.org/support/news-items/2024-03-12-debianutils-installkernel.html

Thank you for this. I missed this news item, but it explains everything very clear.
_________________
Computers are like air conditioners, they stop working properly if you open Windows
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