LINUX.ORG.RU

Genkernel пытается вкомпелять zfs в initramfs

 , , ,


0

1

Полетел старый диск, поэтому устанавливаю генту на новый ssd. При компиляции ядра и initramfs генкернелом вылазит вот такая ошибка

# genkernel --kernel-config=.config --oldconfig --install --symlink --lvm --luks all
* Gentoo Linux Genkernel; Version 3.4.49.1
* Running with options: --kernel-config=.config --oldconfig --install --symlink --lvm --luks all

* Using genkernel.conf from /etc/genkernel.conf
* Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh ..
* Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load ..

* Linux Kernel 3.14.4-gentoo for x86_64...
* .. with config file /usr/src/linux-3.14.4-gentoo/.config
* kernel: --mrproper is disabled; not running 'make mrproper'.
*         >> Running oldconfig...
* kernel: --clean is disabled; not running 'make clean'.
*         >> Compiling 3.14.4-gentoo bzImage...
*         >> Not installing firmware as it's included in the kernel already (CONFIG_FIRMWARE_IN_KERNEL=y)...
*         >> Compiling 3.14.4-gentoo modules...
*         >> Generating module dependency data...
* Copying config for successful build to /etc/kernels/kernel-config-x86_64-3.14.4-gentoo
* busybox: >> Using cache
* initramfs: >> Initializing...
*         >> Appending base_layout cpio data...
*         >> Appending auxilary cpio data...
*         >> Copying keymaps
*         >> Appending busybox cpio data...
*         >> Appending lvm cpio data...
*           LVM: Adding support (compiling binaries)...
* lvm: >> Using cache
*         >> Appending luks cpio data...
* Including LUKS support
*         >> Appending modules cpio data...
*         >> Appending zfs cpio data...
* ERROR: Binary /sbin/mount.zfs could not be found
* 
* -- Grepping log... --
* 
* Running with options: --kernel-config=.config --oldconfig --install --symlink --lvm --luks all
* Using genkernel.conf from /etc/genkernel.conf
* Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh ..
* Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load ..
*
* ERROR: Binary /sbin/mount.zfs could not be found
* 
* -- 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!
* 
Ошибка из-за того, что генкернел не может найти mount.zfs, но вопрос в том, за каким чертом он его ищет и пытается вконпелять поддержду zfs в initramfs?

конфиг старый, из бэкапа, добавил только поддержку f2fs в ядро. До смены диска все работало и собиралось.

Как заставить генкернел забыть про zfs? гугль ни чего внятного не ответил.

Deleted

А расскажите, в чём прелесть genkernel'a? Никогда им не пользовался, поэтому не знаю, чем он лучше обычного make'a.

Deleted
()
Ответ на: комментарий от Deleted

создает сразу initramfs, я обычно ядро make'ом создавал а потом запускал genkernel --install --lvm --luks initramfs(у меня / на зашифрованном lvm ,без initramfs не запускается), а тут решил все одной командой сделать

Deleted
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.