In case that /boot is not in a different partition, genkernel fails with the message: ERROR: Boot partition is not mounted on '/boot' and I am not allowed to mount due to set --no-mountboot option! This behaviour appeared after upgrading genkernel from sys-kernel/genkernel-3.5.3.3 to sys-kernel/genkernel-4.0.4. This occurs when using genkernel in a chroot environment. The behaviour may be caused the function "make_bootdir_writable" in the file "gen_funcs.sh" [1]. The function checks /proc/mounts for the 'boot' partition. If /boot is not in a separate partition, the function fails with the above message. The kernel correctly installs in '/boot' when bypassing the function check. [1] https://gitweb.gentoo.org/proj/genkernel.git/tree/gen_funcs.sh
The bug fixes if there is no reference to /boot in /etc/fstab. I was using the default /etc/fstab, that has a reference to /boot. Deleting the line solves the problem. ::ooops::