AnsweredAssumed Answered

[HELP]Can not boot from NFS

Question asked by 敏 赖 on May 11, 2014
Latest reply on Jul 17, 2014 by li yu

I want to boot Ubuntu 12.04 from NFS, here are the error messages:

 

IP-Config: Guessing netmask 255.255.255.0

IP-Config: Complete:

     device=eth0, addr=192.168.1.2, mask=255.255.255.0, gw=255.255.255.255,

     host=192.168.1.2, domain=, nis-domain=(none),

     bootserver=255.255.255.255, rootserver=192.168.1.18, rootpath=

VFS: Mounted root (nfs filesystem) on device 0:12.

Freeing init memory: 212K

init: Unable to mount /dev filesystem: No such device

init: Unable to create device: /dev/ptmx

init: Cannot create directory: /dev/pts

init: Unable to create device: /dev/null

init: Unable to create device: /dev/tty

init: Unable to create device: /dev/console

init: Unable to create device: /dev/kmsg

 

Here is the content of /etc/exports:

# /etc/exports: the access control list for filesystems which may be exported

#  to NFS clients.  See exports(5).

#

# Example for NFSv2 and NFSv3:

# /srv/homes       hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check,no_root_squash)

#

/srv/nfs *(rw,sync,no_subtree_check)

# Example for NFSv4:

# /srv/nfs4        gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)

# /srv/nfs4/homes  gss/krb5i(rw,sync,no_subtree_check)

#

 

The ubuntu 12.04 rootfs file 'oneiric.tgz' is tested good when I use Mfgtools to burn it to MMC directly, and I extract it to /srv/nfs, what's wrong?

Outcomes