[Buildroot] proc not mouning

bruce bushby bruce.bushby at gmail.com
Wed Mar 23 19:36:13 UTC 2011


My environment is different in that I tftpboot my kernel and mount the OS
over NFS (not using sd card)

This is my inittab:

[root at vx-200 ~]# cat /etc/inittab
# /etc/inittab
#
# This inittab is a basic inittab sample for sysvinit, which mimics
# Buildroot's default inittab for Busybox.
id:1:initdefault:

proc::sysinit:/bin/mount -t proc proc /proc
rwmo::sysinit:/bin/mount -o remount,rw /
dpts::sysinit:/bin/mkdir -p /dev/pts
moun::sysinit:/bin/mount -a
host::sysinit:/bin/hostname -F /etc/hostname
init::sysinit:/etc/init.d/rcS

1:1:respawn:/sbin/getty 38400 tty1
2:1:respawn:/sbin/getty 38400 tty2

S0::respawn:/sbin/getty -L ttyS0 115200 vt100 # GENERIC_SERIAL

# Logging junk
mess::sysinit:/bin/touch /var/log/messages
sysl:1:respawn:/sbin/syslogd -n -m 0
klog:1:respawn:/sbin/klogd -n

# Stuff to do for the 3-finger salute
rebo::ctrlaltdel:/sbin/reboot

# Stuff to do before rebooting
sklo:6:wait:/usr/bin/killall klogd
ssys:6:wait:/usr/bin/killall syslogd
umou:6:wait:/bin/umount -a -r
swap:6:wait:/sbin/swapoff -a
[root at vx-200 ~]#


On Wed, Mar 23, 2011 at 7:32 PM, ANDY KENNEDY <ANDY.KENNEDY at adtran.com>wrote:

> > -----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
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110323/deaedde0/attachment-0002.html>


More information about the buildroot mailing list