Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:general_information:nfs [2018/03/22 17:57] – reworked liedmann | en:general_information:nfs [2025/05/16 11:16] (current) – weinholdo | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ~~NOTOC~~ | ||
====== NFS server ====== | ====== NFS server ====== | ||
+ | |||
+ | The NFS server can be used to provide a root file system that can be mounted root filesystem on the traget hardware, this is very convenient for application development. | ||
+ | |||
+ | < | ||
===== Tested with the following operating systems ===== | ===== Tested with the following operating systems ===== | ||
* Ubuntu 10.04 x86 in VMware Player | * Ubuntu 10.04 x86 in VMware Player | ||
Line 6: | Line 9: | ||
* Ubuntu 14.04 x86_64 in VMware Player | * Ubuntu 14.04 x86_64 in VMware Player | ||
* Ubuntu 16.04 x86_64 in VMware Player | * Ubuntu 16.04 x86_64 in VMware Player | ||
+ | </ | ||
===== Installation ===== | ===== Installation ===== | ||
- | \\ | + | On Ubuntu the nfs-kernel-server package has to be installed. |
<code bash> | <code bash> | ||
user@ubuntu: | user@ubuntu: | ||
</ | </ | ||
- | \\ | ||
---- | ---- | ||
===== Example Configuration for NFS boot ===== | ===== Example Configuration for NFS boot ===== | ||
- | \\ | ||
Create a directory on the host root filesystem. | Create a directory on the host root filesystem. | ||
<code bash> | <code bash> | ||
Line 42: | Line 44: | ||
</ | </ | ||
++++ | ++++ | ||
- | <WRAP round important> | + | <alert type=" |
This path must match the U-Boot environment variable '' | This path must match the U-Boot environment variable '' | ||
- | </WRAP> | + | </alert> |
- | <WRAP round info> | + | <callout type="info" icon=" |
After the / | After the / | ||
<code bash> | <code bash> | ||
user@ubuntu: | user@ubuntu: | ||
</ | </ | ||
- | </WRAP> | + | </callout> |
---- | ---- | ||
===== Test the configuration ===== | ===== Test the configuration ===== | ||
- | \\ | ||
With the command '' | With the command '' | ||
<code bash> | <code bash> | ||
Line 63: | Line 64: | ||
=====Related Links===== | =====Related Links===== | ||
- | \\ | ||
* [[en: | * [[en: | ||
* [[en: | * [[en: | ||
===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
- | \\ | ||
If the root file system cannot be mounted via NFS the log file of the NFS server should be checked. In Ubuntu the log is written to the file ''/ | If the root file system cannot be mounted via NFS the log file of the NFS server should be checked. In Ubuntu the log is written to the file ''/ | ||
Line 79: | Line 78: | ||
- | ===== Sources ===== | ||
- | \\ | ||
- | * https:// | ||
- | * [[http:// | ||
- | * http:// |