Skip to content

Issue mounting rootfs via NFS #8

@robamu

Description

@robamu

I have this issue for QEMU (Chapter Testing with QEMU) and BBB (Testing with the BeagleBone Black) . I am able to start the kernel but I don't get access to a command prompt to actually test things out. This is the last output on QEMU

IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
     device=eth0, hwaddr=52:54:00:12:34:56, ipaddr=192.168.1.101, mask=255.255.255.0, gw=255.255.255.255
     host=192.168.1.101, domain=, nis-domain=(none)
     bootserver=255.255.255.255, rootserver=192.168.1.1, rootpath=
random: fast init done

This is the last output on the beagle bone black (similar)

[    7.937753] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    7.967759] IP-Config: Guessing netmask 255.255.255.0
[    7.972854] IP-Config: Complete:
[    7.976107]      device=eth0, hwaddr=64:33:db:2a:38:9c, ipaddr=192.168.1.101, mask=255.255.255.0, gw=255.255.255.255
[    7.986738]      host=192.168.1.101, domain=, nis-domain=(none)

do I need to pass a special flag to the commands to get access to a shell prompt?

UPDATE: Actually, the eventually there is output the BBB

[    7.992715]      bootserver=255.255.255.255, rootserver=192.168.1.1, rootpath=
[  474.087947] VFS: Unable to mount root fs via NFS.
[  474.100304] devtmpfs: mounted
[  474.113848] Freeing unused kernel memory: 2048K
[  474.128613] Run /sbin/init as init process
[  474.133092] Run /etc/init as init process
[  474.137276] Run /bin/init as init process
[  474.141878] Run /bin/sh as init process
[  474.146088] Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance.

Similar error in QEMU.
I guess something is not working yet. The rootpath appears to be empty as well

UPDATE2: I rechecked the steps in the previous chapter again, making sure that nfs-kernel-server is running as well. I still get the same issues that mounting fails with VFS: Unable to mount root fs via NFS...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions