Hi James,

Thank you for your response I do like the idea of booting over the network 
using PXE however I don’t currently have tufts server set up so was using NFS a 
what I thought would be a quick solution. 

Tell me if you set up the PI to PXE boot can you revery back to the Standard SD 
boot t it won’t PXE boot?

Tom.


> On 10 Oct 2023, at 21:14, James Dutton <james.dut...@gmail.com> wrote:
> 
> On Tue, 10 Oct 2023 at 13:04, Tom Gamble via Hampshire
> <hampshire@mailman.lug.org.uk> wrote:
>> 
>> Hi,
>> 
>> On my Raspberry Pis I’ve had a few issues with SD Cards failing so thought 
>> there would be some mileage in using an NFS root.  So if an SD card fails I 
>> can just pop a new card in and my root fs will still be good.
>> 
> 
> Hi,
> 
> I have not tried your approach before. I have only done something
> called netboot.
> This is where you boot without an SD card at all.
> There are some hints on how to do it here:
> https://raspberrytips.com/network-boot-with-raspberry-pi/
> Now, I have not actually done it with a Raspberry PI, only with Linux
> servers and embedded systems, but the principles are the same.
> You set up a DHCP server, with parameters that tell it where to find
> the linux kernel and initrd files etc. it then tftp gets them or http
> gets them.
> An interesting aspect of this, is that booting over a 1Gbps network is
> actually quicker than booting from an SD card.
> Also if the device crashes, as the files are not stored on the crashed
> device, the files do not become corrupted at all, so it's really
> helpful when doing kernel development on an embedded system. It not
> only reboots quicker, but no files are corrupted, and you get to see
> the last logs before it crashed.


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------

Reply via email to