0

If I want to change my kernel as customized one, below sequence is ok?

  1. download kernel source from kernel.org.
  2. do something with it.
  3. build it.
  4. copy vmlinux,.etc into /boot folder.
  5. reboot and choose custom kernel with grub, during boot.

I'm curious that this procedure is safe if I want to change my ubuntu 18.04 kernel (5.4) into 4.14 or older one. (3.18 or older)

Thank you.

  • Theoretically, yes, this is how it works. But it will take a lot of time, both to configure the kernel and most likely also recovering from failed boots. You will save a lot of time if you start from a working Ubuntu kernel source package. See e.g. the tips in https://askubuntu.com/a/30475/134479 and elsewhere on the web. – zwets Jun 23 '21 at 10:01
  • For your step 4, I would install the .deb files, and would have specified to make them for step 3. It makes kernel management easier and will also update grub. You might have difficulties trying to go to such old kernels. Also see my notes here. – Doug Smythies Jun 23 '21 at 14:23
  • Sorry for late response. Many thanks to all !! – user3887596 Aug 27 '21 at 07:42

0 Answers0