Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #236839

Re: make custom kernel

From mlnl <mlnl@mailbox.org>
Newsgroups linux.debian.user
Subject Re: make custom kernel
Date 2021-07-04 07:30 +0200
Message-ID <Cx2Rz-62X-1@gated-at.bofh.it> (permalink)
References <CwT1T-7Y6-3@gated-at.bofh.it> <CwT1T-7Y6-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Mick,

mick crane <mick.crane@gmail.com> wrote:

>I've done it before but I've forgotten and the order.
>What's the procedure for making a custom kernel?

Do you mean a custom Debian or a vanilla kernel from kernel.org?
For a Debian kernel you can look at
<https://kernel-team.pages.debian.net/kernel-handbook/>

For a vanilla kernel, i use the following steps:
1. download the kernel source archive of your choice
2. extract the xz archive with unxz
3. verify the tar archive with gpg
4. untar the tar archive
5. cd linux-version
6. make mrproper
(6b) copy old config as linux-version/.config and/or certs in
linux-version/certs for modules signing
8. make menuconfig (you need some packages, libncurses etc.)
9. export CONCURRENCY_LEVEL="$(grep -c '^processor' /proc/cpuinfo)"
10. make deb-pkg LOCALVERSION=-nameN KDEB_PKGVERSION=$(make
kernelversion)-1 (nameN e. g. v1)
11. sudo dpkg -i kernel-packages (-headers, -image, -libc-dev)

-- 
mlnl

GPG:1FC05426F87FA623

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

make custom kernel mick crane <mick.crane@gmail.com> - 2021-07-03 21:00 +0200
  Re: make custom kernel Anssi Saari <as@sci.fi> - 2021-07-03 23:30 +0200
    Re: make custom kernel IL Ka <kazakevichilya@gmail.com> - 2021-07-04 03:40 +0200
  Re: make custom kernel mlnl <mlnl@mailbox.org> - 2021-07-04 07:30 +0200
    Re: make custom kernel Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-07-04 11:00 +0200
    Re: make custom kernel IL Ka <kazakevichilya@gmail.com> - 2021-07-04 12:30 +0200
      Re: make custom kernel The Wanderer <wanderer@fastmail.fm> - 2021-07-04 12:30 +0200
        Re: make custom kernel IL Ka <kazakevichilya@gmail.com> - 2021-07-04 12:40 +0200
    Re: make custom kernel deloptes <emanoil.kotsev@deloptes.org> - 2021-07-04 13:50 +0200
  Re: make custom kernel David Wright <deblis@lionunicorn.co.uk> - 2021-07-04 17:30 +0200
    Re: make custom kernel mick crane <mick.crane@gmail.com> - 2021-07-04 18:50 +0200
    Re: make custom kernel Brian <ad44@cityscape.co.uk> - 2021-07-04 19:30 +0200

csiph-web