This is an old revision of the document!
Adding NFS support
Known issues
Completed goals
2012/05/21 - Achieve connection to a NFSv3 server.
2012/05/30 - Design a SUN ONC
RPC layer for iPXE.
Achieve sending of a NULL query via the
RPC layer.
A NULL query is like a NO-OP instruction, it can be used to test whether the RPC layer is properly implemented.
2012/06/22 - Get the port of the NFS server and the MOUNT service.
2012/06/25 - Get the root filehandle
2012/06/27 - Achieve sending of a LOOKUP query via the
RPC layer.
A LOOKUP query allows one the get a file handle from a path, this handle can then be used to access the file.
2012/07/01 - Achieve sending of a READ query via the
RPC layer.
A READ query allows one to get the content of a file by its file handle.
2012/07/01 - iPXE is now able to load an image via NFS
Current goals
Future goals
How to get a file via NFS in iPXE
First, clone my reposiroty and switch to the nfs branch:
git clone git://git.ipxe.org/people/mareo/ipxe.git
cd ipxe/src
git checkout nfs
Enable NFS support:
echo "#define DOWNLOAD_PROTO_NFS" >> config/local/general.h
You can now compile iPXE:
make
URI are in this form:
nfs://server-address[:port]/path/to/file
where port is the PORTMAP daemon (rpcbind) port, which is usually 111.
Links and references
Git repository:
NFSv3:
NFSv4