No inittab file when compiling with nfs-server

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

No inittab file when compiling with nfs-server

970 Views
jacobojimenez
Contributor I

Hello,

I am trying to compile Yocto Linux with the nfs-server feature. I want to be able to mount my imx6 sabre board into my development computer for file sharing purposes.

I boot from an sdcard and I bake the core-image-base.bb recipe. When I add the feature nfs-server to the recipe file (IMAGE_FEATURES +="splash nfs-server") it compiles fine but when booting i get:

"INIT: version 2.88 booting

INIT: No inittab file found

Enter runlevel:"

to which nothing happens even when I enter any number.

Can anybody point me in the right direction? What am I doing wrong here?

Thanks in advance for your help,

Jacob

Labels (4)
0 Kudos
5 Replies

690 Views
alejandrolozan1
NXP Employee
NXP Employee

Hi,

I wonder if this document helps.

Yocto NFS & TFTP boot

Please let me know.

/Alejandro

0 Kudos

690 Views
jacobojimenez
Contributor I

Hi Alejandro,

thank you for the document. I don't really want to boot from NFS but I just want to install the NFS server on my board but boot from an SDcard.

I added the nfs-server to EXTRA_IMAGE_FEATURES and nfs-utilities to IMAGE_INSTALL_append in my local.conf file and the board is booting from the SDcard but now I get that NFS daemon is not supported by the kernel. Do you have an idea how can I solve this one?

Thanks again,

Jacob

0 Kudos

690 Views
alejandrolozan1
NXP Employee
NXP Employee

Now I get it. I have not tried that out. Let me reproduce the problem on my side. I will keep delving into it.

/Alejandro

0 Kudos

690 Views
jacobojimenez
Contributor I

Thank you Alejandro, I hope you find something I will also keep looking.

Jacob

0 Kudos

690 Views
alejandrolozan1
NXP Employee
NXP Employee

Hi Jacob,

Have you checked this document?

i.MX Create NFS Server and Export USB Drive: Yocto Project Distribution

I believe it can be very helpful.

Best Regards,

Alejandro

0 Kudos