To run grub-install user needs to create '/etc/mtab' listing partition which holds '/boot', or '/' If you install gentoo without '/boot' partition and '/boot' device is the same as '/', then doing "cp /proc/mounts /etc/mtab" is wrong. It lists double '/' mounts - one from cd image and one from chroot. If you just copy '/proc/mounts' and have '/boot' dir on '/' mount, then you have to remove first '/' mount, or grub-install will find cd image first and complain about not finding kernel file or '/boot'. Reproducible: Always Steps to Reproduce: 1. install gentoo with only / partition 2. "cp /proc/mounts /etc/mtab" 3. /etc/mtab lists 2 '/' partitions - first of which is from image on cd and that one if found by grub-install
Can someone please verify this?
Created attachment 73537 [details] grub-install fails This is what happens. Removing the first line with rootfs makes it work. Now I have to reinstall with a /boot partition and make sure whatever I do does not break :)
Created attachment 73565 [details] grub-install works excluding the rootfs line works in both cases, as expected :)
Fixed. Thanks for reporting.