Here is my /etc/exports file :
var/exports/nfsroot26
192.168.1.5/255.255.255.0(rw,no_root_squash,insecure)
Maybe it should be the problem ? :
Warning: unable to open an initial console.
Regards
Mout
--- In "charliem_1216" <> wrote:
>
> Hi --
>
> --- In "mout551" <mout551@> wrote:
> >
> > Hey All,
> >
> > I'm having trouble mounting a root NFS file system, where the kernel
> > claims it can't find 'init'. (the kernel is 2.6 and my board is
ts7200 )
> > I'm exporting the file system directory from the host.
>
> Can you paste your /etc/exports file from the server?
>
> >
> > I also updated 'fstab' within the exported file system to use the
> > nfsroot: (My host IP is 192.168.1.5)
> >
> > proc /proc proc defaults 0 0
> > none /dev/pts devpts gid=5,mode=620 0 0
> > sysfs /sys sysfs default 0 0
> > 192.168.1.5:/var/exports/nfsroot26 / nfs exec,dev,suid 1 1
> >
> >
> > I have also restarted my nfsd.
> >
> > I'm giving the correct nfsroot parameters in the RedBoot
> > exec command, and init is in the exported sbin directory:
> >
> > exec -c "console=ttyAM0,115200 ip=192.168.1.2 root=/dev/nfs
> > nfsroot=192.168.1.5:/var/exports/nfsroot26 init=/sbin/init"
>
> You shouldn't need to pass init=, unless you want to bypass running
> /sbin/init (like init=/bin/sh, for testing).
>
> >
> > Anyone have any ideas why this isn't working?
> > The following is the end of the boot log before it dies.
> >
> > .
> > .
> > VFS: Mounted root (nfs filesystem).
>
> Good, at least root is mounted.
>
> > Freeing init memory: 92K
> > Warning: unable to open an initial console.
> > Failed to execute /sbin/init. Attempting defaults...
> > Kernel panic - not syncing: No init found. Try passing init= option
> > to kernel.
> >
>
> I vote for a permission issue on the exported file. Make sure you
> have rw, no_root_squash, and insecure options in your /etc/exports file.
>
> Regards, .......... Charlie
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|