Содержание
Да.
There's only one common catch: the Debian C libraries are built with the
most recent stable releases of the kernel headers. If you happen to need to compile a
program with kernel headers newer than the ones from the stable branch, then
you should either upgrade the package containing the headers (linux-libc-dev
), or use the new headers from an
unpacked tree of the newer kernel. That is, if the kernel sources are in
/usr/src/linux
, then you should add
-I/usr/src/linux/include/
to your command line when
compiling.
Users who wish to (or must) build a custom kernel are encouraged to use the Debian package target included with recent versions of the kernel build system. After configuring the kernel, simply run the following command:
make deb-pkg
The new kernel package will be created in the directory one level above the
kernel source tree, and it may be installed using dpkg
-i
.
Пользователи должны отдельно скачивать последнюю версию исходного кода ядра
(или нужную им версию ядра) со своего любимого Linux-архива, если у них нет
пакета linux-source-
(где версия
версия
означает версию ядра).
A configuration file containing modules to be manually loaded at boot time
is kept at /etc/modules
. However, editing this file is
rarely needed.
Other module configuration is kept in the
/etc/modprobe.d/
directory. More information about the
format of those files can be found in the
modprobe.conf(5)
manual page.
Да. Сценарий
linux-image-NNN
.prerm
проверяет, не пытаетесь ли вы удалить работающее ядро. Поэтому вы можете
удалить ненужные пакеты с образами ядра командой:
dpkg --purge linux-image-NNN
(NNN
, конечно же, нужно заменить на правильный
номер версии и редакции ядра)
Further information is maintained in the Debian Linux Kernel Handbook.