Thursday, November 23, 2023

Linux - make kernel from scratch

 I was hoping to avoid all this, but they really botched up the kernel recently.  I have to go for the latest, because of my amd setup.

Reference

That's a good reference, the main line being what you need to install.

sudo apt-get install git fakeroot build-essential ncurses-dev xz-utils libssl-dev bc flex libelf-dev bison

But they forget 'pahole', whatever that is.  You get mostly through the compile, and then this shows up.  You have to redo it.  blah.  I'm doing that now.

ps.  BIG THING!  New computers must have 'Secure Boot' disabled in the bios, for the new kernel.


No comments: