In a stage 3 + GRP + dynamic install, the installer fails to emerge baselayout properly. The system displays this error on booting: ----------------------------------------------------- Your system seems to be missing critical device files in /dev ! Although you may be running udev or devfs, the root partition is missing these required files ! To rectify this situation, please do the following: mkdir /mnt/fixit mount --bind / /mnt/fixit cp -a /dev/* /mnt/fixit/dev/ umount /mnt/fixit rmdir /mnt/fixit You may refer to these instructions at /etc/issue. If you previously had an issue file, it has been backed up at /etc/issue.devfix. Thanks for using Gentoo ! :) http://bugs.gentoo.org/show_bug.cgi?id=40987 ---------------------------------------------------- I am unable to tell what was missing in /dev , as I did "emerge -1 baselayout" which fixed the problem. Reproducible: Always Steps to Reproduce:
It looks like baselayout doesn't create the required /dev nodes when installed via a package.
looking at the ebuild for 1.11.13, it does it (calls create_dev_nodes()) in pkg_postinst()
I found the problem. My original code for building the stage3 had called MAKEDEV manually within the chroot. I commented this out after hearing that the baselayout ebuild had been fixed to do this in pkg_postinst(). After further investigation, it *does* build it, but it doesn't move it into /dev unless the 'bootstrap' or 'build' USE flags are in effect. I've uncommented the code to manually call MAKEDEV to populate /dev within the chroot. Please test the latest CVS snapshot.
I have tested with the 20050816 snapshot. The installer now creates lots of device nodes in /dev, including /dev/null and /dev/console . So I guess this bug is verified closed. :-)
Always good to hear ;) Thanks for all your help so far.
Moving to Release Media/Installer.