재컴파일 후 Ubuntu 14.04.2 커널 버전이 변경됨

재컴파일 후 Ubuntu 14.04.2 커널 버전이 변경됨

저는 아무런 수정 없이 64비트 커널을 다시 컴파일하고 새 커널을 grub의 기본 커널로 만들어야 하는 과제를 받았습니다. 저는 kernel 을 사용하는 Ubuntu 14.04.2 64비트 시스템에서 이 작업을 수행하고 있습니다 3.16.0-60-generic.

다음 지침을 실행했습니다(일부 부분은여기그리고 일부는여기) -

apt-get source linux-image-$(uname -r)
sudo apt-get build-dep linux-image-$(uname -r)
cd linux-lts-utopic-3.16.0/
cp /boot/config-3.16.0-60-generic .config
make
make modules
make modules_install
sudo make install

커널로 부팅하면 커널 버전( uname -r)을 제외한 모든 항목이 로 나타납니다 3.16.7-ckt22. 소스 에서 커널을 컴파일하면 버전이 어떻게 변경되었나요 3.16.0-60?

편집하다: 나는 선생님의 지시사항을 모두 따르지 않았습니다.https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel현재 커널 이미지를 새 이미지로 덮어쓰기 때문입니다. -3.16.0-60-recompiled 또는 이와 유사한 수정된 접미사가 있는 이미지를 원했고 grub의 원본 이미지와 함께 표시되기를 원했습니다.

답변1

짧은 대답은 커널 버전이 컴파일에 대해 변경되지 않고 공식 Ubuntu 버전에 대해 변경되었다는 것입니다. 아래에 더 긴 답변이 있습니다.

공식 Ubuntu 커널에는 특수 버전 번호가 있습니다. 버전 번호 매핑을 조회할 수 있습니다.여기, 특정 줄이 아래에 복사됩니다.

3.16.0-60.80~14.04.1    Ubuntu-lts-3.16.0-60.80_14.04.1 3.16.7-ckt22

보다여기명명 규칙에 대한 설명은 아래에도 복사되어 있습니다.

What does a specific Ubuntu kernel version number mean?

The official version of an Ubuntu kernel tells you a number of things,
including the base upstream version, the current Ubuntu ABI identifier
and the kernel flavour. (See How can we determine the version of the
running kernel? to find your current version number.)

Given a version like 2.6.35-6.9-generic this can be broken into four
parts as below:

    <base kernel version>-<ABI number>.<upload number>-<flavour> 

The base kernel version represents the mainline version on which the
Ubuntu kernel is based. The ABI number represents significant changes
in the kernel Application Binary Interface. The upload number is a
monotonically increasing counter for each upload of this base version.
The flavour indicates which kernel configuration variant this is (See
What is a Kernel Flavour?). 

관련 정보