Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102710 - installer fails to emerge baselayout properly
Summary: installer fails to emerge baselayout properly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Installer (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Installer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-16 07:02 UTC by Leung Ki Chi
Modified: 2006-03-24 13:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leung Ki Chi 2005-08-16 07:02:15 UTC
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:
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2005-08-16 07:43:01 UTC
It looks like baselayout doesn't create the required /dev nodes when installed
via a package.
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2005-08-16 08:01:12 UTC
looking at the ebuild for 1.11.13, it does it (calls create_dev_nodes()) in
pkg_postinst()
Comment 3 Andrew Gaffney (RETIRED) gentoo-dev 2005-08-16 09:03:08 UTC
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.
Comment 4 Leung Ki Chi 2005-08-16 16:29:11 UTC
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. :-)
Comment 5 Andrew Gaffney (RETIRED) gentoo-dev 2005-08-16 16:35:11 UTC
Always good to hear ;) Thanks for all your help so far.
Comment 6 Jeffrey Forman (RETIRED) gentoo-dev 2006-03-24 13:46:32 UTC
Moving to Release Media/Installer.