Там опять же тысяча пунктов в каждом из которых надо разбираться и выбирать нужное.
Ядро ни разу сам не собирал и неохота знакомиться с системой изначально кривой/
Без разницы - монтирование делается в качестве временной меры, лишь на время установки. Логичнее делать /proc без bind. А вот /dev/ нужно с bind. См. bind в man mount .
(chroot) ubuntu-desktop / # zcat /proc/config.gz > /usr/share/genkernel/x86/kernel-config-2.6
bash: /usr/share/genkernel/x86/kernel-config-2.6: Нет такого файла или каталога
Я так понимаю, что config.gz это и есть конфиг файл со всеми стандартными настройками для genkernel или нет?
(chroot) ubuntu-desktop / # genkernel all
* Gentoo Linux Genkernel; Version 3.4.10.906
* Running with options: all
* Linux Kernel 2.6.31-gentoo-r10 for x86...
* kernel: >> Running mrproper...
* config: Using config from /usr/share/genkernel/arch/x86/kernel-config
* Previous config backed up to .config.bak
* >> Running oldconfig...
* kernel: >> Cleaning...
* >> Compiling 2.6.31-gentoo-r10 bzImage...
* >> Compiling 2.6.31-gentoo-r10 modules...
* ERROR: Failed to compile the "modules" target...
* -- Grepping log... --
*
Accessibility support (ACCESSIBILITY) [N/y/?] (NEW) *
* InfiniBand support
*
InfiniBand support (INFINIBAND) [N/y/?] (NEW) *
* EDAC (Error Detection And Correction) reporting
*
EDAC (Error Detection And Correction) reporting (EDAC) [N/y/?] (NEW) *
--
make: *** [modules] Ошибка 1
* Gentoo Linux Genkernel; Version 3.4.10.906
* Running with options: all
* ERROR: Failed to compile the "modules" target...
* -- End log... --
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
*
(chroot) ubuntu-desktop / # genkernel --menuconfig all
* Gentoo Linux Genkernel; Version 3.4.10.906
* Running with options: --menuconfig all
* Linux Kernel 2.6.31-gentoo-r10 for x86...
* kernel: >> Running mrproper...
* config: Using config from /usr/share/genkernel/arch/x86/kernel-config
* Previous config backed up to .config.bak
* >> Running oldconfig...
* kernel: >> Cleaning...
* config: >> Invoking menuconfig...
scripts/kconfig/conf.c: В функции ‘conf_askvalue’:
scripts/kconfig/conf.c:105: предупреждение: результат ‘fgets’, декларированной с атрибутом warn_unused_result, игнорируется
scripts/kconfig/conf.c: В функции ‘conf_choice’:
scripts/kconfig/conf.c:307: предупреждение: результат ‘fgets’, декларированной с атрибутом warn_unused_result, игнорируется
In file included from scripts/kconfig/zconf.tab.c:2486:
scripts/kconfig/confdata.c: В функции ‘conf_write’:
scripts/kconfig/confdata.c:508: предупреждение: результат ‘fwrite’, декларированной с атрибутом warn_unused_result, игнорируется
scripts/kconfig/confdata.c: В функции ‘conf_write_autoconf’:
scripts/kconfig/confdata.c:745: предупреждение: результат ‘fwrite’, декларированной с атрибутом warn_unused_result, игнорируется
scripts/kconfig/confdata.c:746: предупреждение: результат ‘fwrite’, декларированной с атрибутом warn_unused_result, игнорируется
In file included from scripts/kconfig/zconf.tab.c:2487:
scripts/kconfig/expr.c: В функции ‘expr_print_file_helper’:
scripts/kconfig/expr.c:1090: предупреждение: результат ‘fwrite’, декларированной с атрибутом warn_unused_result, игнорируется
#
# configuration written to .config
#
*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.
* >> Compiling 2.6.31-gentoo-r10 bzImage...
* >> Compiling 2.6.31-gentoo-r10 modules...
* ERROR: Failed to compile the "modules" target...
* -- Grepping log... --
*
Accessibility support (ACCESSIBILITY) [N/y/?] (NEW) *
* InfiniBand support
*
InfiniBand support (INFINIBAND) [N/y/?] (NEW) *
* EDAC (Error Detection And Correction) reporting
*
EDAC (Error Detection And Correction) reporting (EDAC) [N/y/?] (NEW) *
--
make: *** [modules] Ошибка 1
* Gentoo Linux Genkernel; Version 3.4.10.906
* Running with options: --menuconfig all
* ERROR: Failed to compile the "modules" target...
* -- End log... --
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
Ядро ни разу сам не собирал и неохота знакомиться с системой изначально кривой/
Ядро не бывает кривым. Оно либо не грузится, либо грузится и не поддерживает часть оборудования (тогда надо добавить), либо грузится и работает. В опциях генкернела имхо дольше разбираться.
Klive
Ничего личного, но Вам пока рано ставить Gentoo - зря только время потратите. Лучше его потратить, например, на чтение первых страниц хендбука или другой документации для начинающих в Linux.
Ничего личного, но Вам пока рано ставить Gentoo - зря только время потратите. Лучше его потратить, например, на чтение первых страниц хендбука или другой документации для начинающих в Linux.
Вполне возможно )))
Собирал в виртуалке с минимального СиДи все получилось, иксы не поднимал ибо медленно. захотелось поставить дуалбут. Намекните хоть где ошибка, А то прямого ответа на вопрос я так и не получил (
│ CONFIG_IKCONFIG: │
│ │
│ This option enables the complete Linux kernel ".config" file │
│ contents to be saved in the kernel. It provides documentation │
│ of which kernel options are used in a running kernel or in an │
│ on-disk kernel. This information can be extracted from the kernel │
│ image file with the script scripts/extract-ikconfig and used as │
│ input to rebuild the current kernel or to build another kernel. │
│ It can also be extracted from a running kernel by reading │
│ /proc/config.gz if enabled (below). │
│ │
│ Symbol: IKCONFIG [=y] │
│ Prompt: Kernel .config support │
│ Defined at init/Kconfig:390 │
│ Location: │
│ -> General setup