Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
After system upgrade (apt-get update, apt-get dist-upgrade), new kernel (6.6.15) compiled. (make oldconfig; make) without error.
I forgot to "make install" before update-grub
Something starts to go wrong.
One penguin did not reboot, but bios (UEFI ?) screen shows up, and unable to boot Debian image (it shows up in menu, though). The others boot in old kernels. I was able to streighten up three others, but not the one which did not reboot.
With USB sitck (installer image, kernel 5.x era, but it worked), booted into rescue mode, then execute shell. HD is not mounted on /target, as screen reads.
Is there any other way to execute "make install"?
Quite a while ago, I forgot to run "lilo" after "make install". I was able to recover with rescue mode, but if I remember correcct, there was "mount hard disk partition" or something, which I do not find today.
compilation (make oldconfig; make) will not change anything in grub or lilo and in the boot sequence.
make install will install the new kernel, but probably you will need make modules_install too, otherwise the new kernel won't be able to find its modules.
Yes, as it was mentioned you need to be able to use advanced menu and boot the previous/old kernel.
the usual question: do you have a reliable backup?
Sometimes a full reinstall is faster than recovering, but it depends on the actual situation, the content. You have 3 other similar hosts, you may try to use them to restore a few files or probably a partition too. But without details hard to say more. Exactly what went wrong, what's happening....
No, I do not. Several config files and setting files are not. (node dependent ones.) Dead one is a front end, so history... It should not be difficult to rebuild, but rescue mode would be nicer.
As currently I have no access to logs, I will take disk drive out and see what happened.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.