Hypez
Posts: 7
Joined: Mon Apr 06, 2020 1:50 pm

Net install RPI 3 from server

Wed Apr 15, 2020 6:17 pm

I'm trying to install my RPI from a remote server. This server is configured using the following guide: https://wiki.ubuntu.com/UEFI/PXE-netboot-install. The server contains the ARM64 version of Ubuntu Server, which should be installed on the RPI.

The server is configured correctly, but I'm unable to figure out how to let the RPI know where to boot/install from. Can anyone explain to me how I tell the RPI where to get the installation files?

User avatar
DougieLawson
Posts: 38883
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Net install RPI 3 from server

Wed Apr 15, 2020 6:56 pm

PXE works within your LAN subnet. If we assume your subnet is 192.168.3.0/24, your RPi is 192.168.3.14 and your PXE server is 192.168.3.200.

Then the way it works is the PXE booting code sends out a broadcast on 192.168.3.255 (broadcast address for 192.168.3.0/24) saying "I'm 192.168.3.14, are you a PXE server".
The PXE server receives that and responds "Hello 192.168.3.14, I am a PXE server at 192.168.3.200".
The boot code then starts a PXE conversation with 192.168.3.200 and everything works as you'd expect. That includes passing details of the TFTP server where the kernel and other files needed for booting the system can be found.

You can see that traffic if you have a promiscous trace (like Wireshark) running on any other station on the 192.168.3.0/24 subnet.

It's a long time since I tried this stuff with a RPi2B running as a PXE and TFTP server and a 3B (with the OTP bit set) booting across the network.
viewtopic.php?t=168678#p1084100
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “Ubuntu”