I have just compiled my kernel for the first time, at the end everything went well and I got no erros, but i still can't see it at the list of Available kernels in the grub. I use ubuntu 18.04, does anyone know what happened?
I have followed these steps:
- extracted the kernel into the folder
/usr/src
make menuconfig
. Got no errormake bzImage
. No errormake modules
. No errormake modules_install
. No errormake install
. No error- in the folder /boot i did
mkinitramfs -o initrd.img-4.17.2 4.17.2
- last but not leat i updated the grup.
update-grub
After last step i saw that the new compiled kernel was listed in the terminal's output but after i rebooted the system the new kernel wasn't there. What can i do to have it there?
A secondary question. Is that safe to remove files and folders created during the process inside /usr/src
directory?
Well, I tried "update-grub" again and id didn't work, but I tried to do the same in my manjaro instalation and it now works well, seems like every grub-change must be donne in Manjaro I dont know why.