booting FAI without PXE, tftp using kexec
Justin Cattle
j at ocado.com
Wed Apr 6 10:37:08 CEST 2022
Hi Thomas,
That's very cool. Thanks for sharing.
I guess you are copying the kernel and initrd over manually and putting
them in your current working dir ?
Cheers,
Just
On Tue, 5 Apr 2022 at 14:44, Thomas Lange <lange at cs.uni-koeln.de> wrote:
> Hi all,
>
> I just installed a machine in a different subnet where I could no use
> network booting using PXE.
>
> But on this machine linux was already running. This is how I managed
> to boot the FAI system and to start the installation.
>
> Load the FAI kernel and initrd from the nfsroot and add FAI specific boot
> parameters:
>
> # kexec -l vmlinuz-5.10.0-13-amd64 --initrd=initrd.img-5.10.0-13-amd64
> --append="FAI_FLAGS=sshd,verbose,createvt FAI_ACTION=install rootovl
> rd.neednet ip=dhcp root=1.2.3.4:/srv/fai/nfsroot,nfsvers=3
> FAI_CONFIG_SRC=nfs://faiserver/srv/fai/config"
>
> Then reboot the computer using kexec. This will shutdown the OS and
> boot the FAI kernel and initrd without going through the BIOS.
>
> # systemctl kexec
>
> --
> best regards Thomas
>
--
Notice:
This email is confidential and may contain copyright material of
members of the Ocado Group. Opinions and views expressed in this message
may not necessarily reflect the opinions and views of the members of the
Ocado Group.
If you are not the intended recipient, please notify us
immediately and delete all copies of this message. Please note that it is
your responsibility to scan this message for viruses.
References to the
"Ocado Group" are to Ocado Group plc (registered in England and Wales with
number 7098618) and its subsidiary undertakings (as that expression is
defined in the Companies Act 2006) from time to time. The registered office
of Ocado Group plc is Buildings One & Two, Trident Place, Mosquito Way,
Hatfield, Hertfordshire, AL10 9UL.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20220406/e6249c3f/attachment.html>
More information about the linux-fai
mailing list