I do not have /boot partition and previously genkernel was absolutely happy to build and install new kernel with MOUNTBOOT="no" in config. With recent genkernel it refuses to build kernel. Reproducible: Always Steps to Reproduce: 1. genkernel all Actual Results: * Gentoo Linux Genkernel; Version 4.0.0_beta17 * Using genkernel configuration from '/etc/genkernel.conf' ... * Running with options: all * Working with Linux kernel 5.2.14-gentoo-x86_64 for x86_64 * Using kernel config file '/usr/share/genkernel/arch/x86_64/generated-config' ... * * Note: The version above is subject to change (depends on config and status of kernel sources). * ERROR: Boot partition is not mounted on '/boot' and I am not allowed to mount due to set --no-mountboot option! * 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 kernel compilation failures as genkernel bugs! * Expected Results: Kernel built and installed into /boot, modules built and installed into /lib and initrd built and installed into /boot. As a workaround you can do mount -o bind /boot /boot which seems to satisfy genkernel. Portage 2.3.76 (python 3.6.9-final-0, default/linux/amd64/17.0/hardened, gcc-9.2.0, glibc-2.29-r5, 5.2.0-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.2.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.6 KiB Mem: 32842232 total, 16757176 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Fri, 13 Sep 2019 09:30:01 +0000 Head commit of repository gentoo: 5f872de8c71813f26dca4593dbe3331f1cd5d0c0 Timestamp of repository poly-c: Fri, 13 Sep 2019 06:24:06 +0000 sh bash 5.0_p11 ld GNU ld (Gentoo 2.32 p2) 2.32.0 ccache version 3.7.4 [disabled] app-shells/bash: 5.0_p11::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.30.0::gentoo dev-lang/python: 2.7.16::gentoo, 3.6.9::gentoo dev-util/ccache: 3.7.4::gentoo dev-util/cmake: 3.15.3::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.16.1-r1::gentoo sys-devel/binutils: 2.32-r1::gentoo sys-devel/gcc: 7.4.0-r2::gentoo, 8.3.0-r1::gentoo, 9.2.0::gentoo sys-devel/gcc-config: 2.1::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 5.2::gentoo (virtual/os-headers) sys-libs/glibc: 2.29-r5::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 my_local_overlay location: /usr/local/portage masters: gentoo priority: 40 booboo location: /var/lib/layman/booboo masters: gentoo priority: 50 haarp location: /var/lib/layman/haarp masters: gentoo priority: 50 haskell location: /var/lib/layman/haskell masters: gentoo priority: 50 palemoon location: /var/lib/layman/palemoon masters: gentoo priority: 50 pentoo location: /var/lib/layman/pentoo masters: gentoo priority: 50 pixlra location: /var/lib/layman/pixlra masters: gentoo priority: 50 poly-c location: /var/lib/layman/poly-c masters: gentoo priority: 50 rion location: /var/lib/layman/rion masters: gentoo priority: 50 science location: /var/lib/layman/science masters: gentoo priority: 50 yarik-overlay location: /var/lib/layman/yarik-overlay masters: gentoo priority: 50 zugaina location: /var/lib/layman/zugaina masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE fairuse free-noncomm GPL freedist" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-pipe -O2 -march=core2 -mtune=core2 -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mno-movbe -mno-aes -mno-sha -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -msse4 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mno-f16c -mno-fsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mno-xsave -mno-xsaveopt -mno-prefetchwt1" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/tomoyo/conf /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-pipe -O2 -march=core2 -mtune=core2 -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mno-movbe -mno-aes -mno-sha -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -msse4 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mno-f16c -mno-fsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mno-xsave -mno-xsaveopt -mno-prefetchwt1" DISTDIR="/usr/portage/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X acl alsa amd64 bzip2 crypt cups cxx gif glamor hardened hoogle hscolour iconv icu imagemagick ipv6 jack jpeg libtirpc llvm multilib multislot ncurses nls nptl openmp pam pcre pie png qt4 readline seccomp split-usr ssl ssp test-programs threads tiff truetype udev unicode v4l v4l2 xattr xtpax zlib zsh-completion" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="entropy notify_email cgroups netlink fhcount target_scale table ntpd protocols ethstat match_hashed thermal contextswitch curl_json cpu wireless target_notification cpufreq tcpconns uptime ping unixsock conntrack network write_http target_set match_value perl md exec logfile disk users vmem filecount email battery serial snmp curl_xml rrdcached smart match_regex ipc match_timediff sensors aggregation curl processes fscache match_empty_counter target_replace lvm csv tail_csv statsd ceph write_log threshold hddtemp tail python multimeter" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="synaptics mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AArch64 ARM" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="x86_64 i386 arm microblaz" QEMU_USER_TARGETS="arm microblaze" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="intel i965 vesa fbcon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= sys-kernel/genkernel-4.0.0_beta17::gentoo was built with the following: USE="firmware (-ibm)" ABI_X86="(64)" CFLAGS="-pipe -O2 -march=core2 -mtune=core2 -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mno-movbe -mno-aes -mno-sha -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -msse4 -msse4.1 -mno-sse4.2 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mno-f16c -mno-fsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mno-xsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-avx512dq -mno-avx512f -mno-avx512pf -mno-avx512er -mno-avx512cd -mno-avx512vl -mno-avx512bw -mno-avx512dq -mno-avx512ifma -mno-avx512vbmi -mno-sse2avx -mno-avx512vpopcntdq -mno-avx5124fmaps -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store" CXXFLAGS="-pipe -O2 -march=core2 -mtune=core2 -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mno-movbe -mno-aes -mno-sha -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -msse4 -msse4.1 -mno-sse4.2 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mno-f16c -mno-fsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mno-xsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-avx512dq -mno-avx512f -mno-avx512pf -mno-avx512er -mno-avx512cd -mno-avx512vl -mno-avx512bw -mno-avx512dq -mno-avx512ifma -mno-avx512vbmi -mno-sse2avx -mno-avx512vpopcntdq -mno-avx5124fmaps -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store"
It looks like you are using "--install" which tells genkernel to install something into /boot. But according to your comment you don't have a separate /boot partition which would OK... You can only get the messaged you showed, see However code in https://gitweb.gentoo.org/proj/genkernel.git/tree/gen_funcs.sh?h=v4.0.0_beta17#n1785, when > [ -n "${fstabstate}" ] && [ -z "${procstate}" ] is true. In other words: You have $BOOTDIR in /etc/fstab but not in /proc/mounts. So please explain your setup. If you don't have separate $BOOTDIR, why do you have $BOOTDIR in /etc/fstab?
You are absolutely correct, I had an old line in /etc/fstab with /boot noauto, after I deleted it genkernel is happy to compile the kernel again. This is not a bug then, sorry to bother you.
Glad we found the problem. Closing as invalid.