On Sun, Dec 02, 2012 at 01:45:34AM -0500, Chris Staub wrote:
> On 12/02/2012 01:02 AM, [email protected] wrote:
> > Hello all,
> >
> > Just built two systems, one of HLFS-development and one LFS-7.2.
> >
> > Not sure what I did wrong, but neither system would successfully mount
> > /dev/pts or /dev/shm on bootup - both were complaining about
> > nonexistant mount points.  After searching the web for a few hours, I
> > came across one lonely half suggestion for a fix... and it works.
> >
> > In the file /etc/rc.d/init.d/mountfs
> > I added the following at line 38
> >      (   below    boot_mesg "Mounting remaining file systems"  )
> >      mkdir /dev/{pts,shm}
> >
> > It worked.
> >
> > DJ
> 
> That should not be needed. I believe this points to a problem with Udev, 
> as it should create /dev/pts when it starts. Did you deviate from the 
> book's instructions in any way?

 While we're waiting for a reply, I'll hazard a guess that (for LFS)
this is either mixing versions of the bootscripts, or misconfiguring
the kernel.  For the kernel, at least for /dev/pts, the config
settings were mentioned in the thread starting at
http://linuxfromscratch.org/pipermail/lfs-support/2012-November/044029.html

 For the bootscripts part, go down the thread.  The mountvirtfs
script now copies the contents of /lib/udev/devices/ to /dev - in
earlier versions of udev, udev itself did that.  For LFS-7.2, the
LFS-Bootscripts-20120901 version is used and it works for me.

 The last svn version of HLFS was using udev-161 and
HLFS-Bootscripts-20110818.  If you used those, and your kernel
config is ok, I have no idea.  OTOH, if you used a newer udev you
may need to make changes to the bootscripts wherever udev is
involved.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to