You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for NFS to make booting via nfsroot possible. My preference would be to pass the nfsroot as sysroot for systemd (or for booster to otherwise support overlayfs. This is a feature lacking in mkinitcpio.
For a simple test setup, if using Arch or derivative, you will want to install dnsmasq and nfs-utils to supply dhcpd, tftp, and NFS services.
As for setting up the /srv/tftp/boot I must leave it as a point of study. What you place in this directory depends on the client and how you wish to boot (uefi, grub, firmware). Basically, this is PXE booting and whatever the client needs to accomplish it.
The client requests a dhcp address and dhcp-options and then connects to the tftp server. The client then requests particular files from /srv/tftp/boot (ie pxelinux, kernel, initramfs). The client's init then mounts the exported NFS filesystem which it uses as the rootfs.
Add support for NFS to make booting via nfsroot possible. My preference would be to pass the nfsroot as sysroot for systemd (or for booster to otherwise support overlayfs. This is a feature lacking in mkinitcpio.
For a simple test setup, if using Arch or derivative, you will want to install dnsmasq and nfs-utils to supply dhcpd, tftp, and NFS services.
/etc/dnsmasq.conf
Helpful link to convert dhcp options to human readable.
Copy a root filesystem to /srv/nfs/root
/etc/exports
As for setting up the /srv/tftp/boot I must leave it as a point of study. What you place in this directory depends on the client and how you wish to boot (uefi, grub, firmware). Basically, this is PXE booting and whatever the client needs to accomplish it.
The client requests a dhcp address and dhcp-options and then connects to the tftp server. The client then requests particular files from /srv/tftp/boot (ie pxelinux, kernel, initramfs). The client's init then mounts the exported NFS filesystem which it uses as the rootfs.
Example kernel command line parameters:
And another shameless plug:
systemd.volatile=overlay
The text was updated successfully, but these errors were encountered: