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

General discussion • Re: Netboot (not PXE) experiences

$
0
0
Thank you very much for the update.

When I deployed an image with boot and root folder locally I got

Code:

pi@raspberrypi-trixie-dhcptest:~ $ cat /pxe-images/pxe-boot/87f728f5/cmdline.txt console=serial0,115200 console=tty1 root=/dev/nfs nfsroot=192.168.0.194:/pxe-images/pxe-root/87f728f5,vers=3 rw ip=dhcp rootwaitpi@raspberrypi-trixie-dhcptest:~ $ cat /pxe-images/pxe-root/87f728f5/etc/fstab proc            /proc           proc    defaults          0       0192.168.0.194:/pxe-images/pxe-boot/87f728f5 /boot/firmware nfs defaults,vers=4.1,proto=tcp 0 0192.168.0.194:/pxe-images/pxe-root/87f728f5 /     nfs defaults,vers=4.1,proto=tcp 0 0
The fstab entry unfortunately uses nfs vers 4.1.

I also mounted the root partition from my Synology via nfs and got the same result. The root partition line still points to the dhcp server but has to point to my synology mount point which is
192.168.0.9:/volume1/rpi_nfs /pxe-images/pxe-root/nfsrw,auto,user,hard,intr
I also noticed you create for every image a dedicated export statement.
pxe-images/pxe-boot/87f728f5 *(rw,sync,no_subtree_check,no_root_squash)
When I setup my dhcp proxy manually I just exported the root directory once and the mount of the dedicated root directory worked as expected.

Statistics: Posted by framp — Sat Dec 13, 2025 1:32 pm



Viewing all articles
Browse latest Browse all 8037

Trending Articles