Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4899

Advanced users • Re: Attempting to netboot with buildroot image

$
0
0
Does you buildroot image contain everything needed for both network boot and having it's partitions over nfs? Or is it a run from RAM image?

A trurely minimal buildrot image built to run from SD card likely won't have the bits needed for netowrking and network boot/root.
I suspect I have most of the tools included in the buildroot image. Maybe I still missed some tools, that's what I want to find out.

I confirm the booted image is capable of mounting nfs partition if I manually run the mount command in the terminal. I'm able to read/write files to the nfs partition as well. It is the just the mounting does not happen during boot time.

What other packages do I need in order to make the nfs mounting happen during boot time? The buildroot image is currently build with busybox + nfs-utils. The rest of the config is default.

They may be in the buildroot image but did you configure the kernel stuff as modules or builtins?

For reasons that should be obvious*, having that stuff as kernel modules won't work with network boot unless you put all of the required kernel modules and utility commands into an initrd that you specify in config.txt or you rebuild your image with them configured as kernel builtins.

*: You can't load the modules over the network if you don't have the necessary modules locally.

Statistics: Posted by thagrol — Thu May 02, 2024 7:01 pm



Viewing all articles
Browse latest Browse all 4899

Trending Articles