View previous topic :: View next topic |
Author |
Message |
st834 Tux's lil' helper
Joined: 23 Jun 2022 Posts: 95
|
Posted: Sun Mar 24, 2024 4:35 pm Post subject: Cannot find LILO by kernel installing |
|
|
Hi,
during my Gentoo install, I compile the kernel 6.6.6.21 (make menuconfig/make/make install/make modules_install).
On the step
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 |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1908
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54577 Location: 56N 3W
|
Posted: Sun Mar 24, 2024 5:02 pm Post subject: |
|
|
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 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 |
|
|
st834 Tux's lil' helper
Joined: 23 Jun 2022 Posts: 95
|
Posted: Sun Mar 24, 2024 5:28 pm Post subject: |
|
|
I didn't know that, thank you! |
|
Back to top |
|
|
st834 Tux's lil' helper
Joined: 23 Jun 2022 Posts: 95
|
Posted: Sun Mar 24, 2024 8:59 pm Post subject: |
|
|
NeddySeagoon, Thank you for your answer.
I expected (and always got the 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 |
|
|
majoron Apprentice
Joined: 12 Oct 2005 Posts: 240 Location: Frankfurt
|
Posted: Fri Aug 30, 2024 11:53 am Post subject: |
|
|
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 |
|
|
|