NFS boot does not start the system

Discussion in 'Linux Ubuntu' started by Riccardo Zamuner, May 22, 2015.

  1. Riccardo Zamuner

    Riccardo Zamuner New Member

    Joined:
    May 7, 2015
    Messages:
    12
    Likes Received:
    0
    Hi guys,

    I'm trying to load udoobuntu 12.04 version 2.1 with NFS support through nfs. I've configured correctly nfs server. I can confirm it because I can mount an exported directory through network.
    My question is the following: how can I run udoobuntu 12.04 through nfs?
    I untar the file system on the following directory /home/zamu/qt5_build/rootf and put /home/zamu/ on /etc/exports for NFS service.
    Then I stop the boot of Udoo and set the environment with the next two commands
    Code:
    setenv bootargs 'console=ttymxc1,115200 root=/dev/nfs rw nfsroot=192.168.0.113:/home/zamu/qt5_build/rootfs,v3,tcp ip=dhcp video=mxcfb0:dev=ldb,LDB-WVGA,if=RGB666,bpp=32'
    setenv bootcmd 'tftpboot 0x12000000 192.168.0.113:/srv/tftpboot/uImage ; bootm'
    saveenv
    
    After that I reboot UDoo and it starts but stops to load with the following dmesg
    Code:
    [    7.677905] PHY: 1:06 - Link is Up - 1000/Full
    [   63.437926] phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
    [   63.445605] IP-Config: Failed to open wlan0
    [   63.467544] Sending DHCP requests ., OK
    [   63.607566] IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.0.163
    [   63.617663] IP-Config: Complete:
    [   63.620910]      device=eth0, addr=192.168.0.163, mask=255.255.255.0, gw=192.168.0.254,
    [   63.628752]      host=192.168.0.163, domain=ecs.local, nis-domain=(none),
    [   63.635566]      bootserver=0.0.0.0, rootserver=192.168.0.113, rootpath=
    [   63.673108] VFS: Mounted root (nfs filesystem) on device 0:13.
    [   63.680261] devtmpfs: mounted
    [   63.683408] Freeing init memory: 200K
    [   64.414154] init: mounted-tmp main process (1615) terminated with status 1
    
    On the server if I check syslog I've the following message
    Code:
    rpc.mountd[1142]: authenticated mount request from 192.168.0.163:791 for /home/zamu/qt5_build/rootfs (/home/zamu)
    that seems to be good because the same message is showed when I try to mount a directory through nfs.

    How can I solve this problem?
    Many thanks in advanced

    Zamu
     

Share This Page