[Buildroot] proc not mouning

Heyendal, Carl CHeyendal at stanleyworks.com
Wed Mar 23 19:35:51 UTC 2011



> -----Original Message-----
> From: ANDY KENNEDY [mailto:ANDY.KENNEDY at adtran.com]
> Sent: March 23, 2011 3:33 PM
> To: Heyendal, Carl; buildroot at busybox.net
> Subject: RE: [Buildroot] proc not mouning
> 
> > -----Original Message-----
> > From: buildroot-bounces at busybox.net
> [mailto:buildroot-bounces at busybox.net] On Behalf Of Heyendal, Carl
> > Sent: Wednesday, March 23, 2011 2:03 PM
> > To: buildroot at busybox.net
> > Subject: [Buildroot] proc not mouning
> >
> > Hi,
> >
> > I've done something bad to my Buildroot platform, but I can't figure
> out what the problem is.
> >
> > When the initramfs system switches over to the root filesystem on an
> SD Card created by Buildroot,
> > it can't find /dev/null, and can't mount /proc.
> >
> > When I login the /proc directory is not mounted, but I can manually
> mount it however from the command
> > line.
> >
> > My inittab contains a statement to mount proc as well as another
> statement to do a 'mount -a'.
> > I verified that fstab contains an entry for proc. I know something is
> processing inittab because
> > the boot scripts that inittab calls do run.
> 
> Are you mounting proc FIRST in inittab?
> 
> Andy

Yes.

>From inittab:

# Startup the system
null::sysinit:/bin/mount -t proc proc /proc
null::sysinit:/bin/mount -o remount,rw /
null::sysinit:/bin/mkdir -p /dev/pts
null::sysinit:/bin/mount -a
null::sysinit:/bin/hostname -F /etc/hostname
# now run any rc scripts
::sysinit:/etc/init.d/rcS

/carl h.





More information about the buildroot mailing list