| Next revision | Previous revision Next revisionBoth sides next revision |
| inbox:howto:netboot_pointers [2023/02/15 12:43] – created tobixen | inbox:howto:netboot_pointers [2023/02/15 12:45] – tobixen |
|---|
| The instructions on how to do a "NetBoot" may differ based on your need. | The instructions on how to do a "NetBoot" may differ based on your need. |
| |
| * Booting up some device for the first time, with the purpose of installing OpenWRT on said device, by connecting it by a network cable to some server/desktop/laptop serving boot images/OpenWRT images through tftp. See [[NetBoot]] for details on that, as well as [[Documentation:Userguide:Installation:Installation methods:Netboot]] | * Booting up some device for the first time, with the purpose of installing OpenWRT on said device, by connecting it by a network cable to some server/desktop/laptop serving boot images/OpenWRT images through tftp. See [[NetBoot]] for details on that, as well as [[docs:guide-user:installation:installation_methods:netboot]] |
| * Booting up a client (laptop/desktop/server), with the purpose of rescuing a broken boot process or installing an OS, by connecting it with wired cables to an OpenWRT router that will serve a rescue or install image over tftp. | * Booting up a client (laptop/desktop/server), with the purpose of rescuing a broken boot process or installing an OS, by connecting it with wired cables to an OpenWRT router that will serve a rescue or install image over tftp. |
| * Serving boot images permanently from OpenWRT to some client (laptop/desktop/server) that does not have a boot media (possibly having the root partition on NFS or ramdisk). See [[:docs:guide-user:services:tftp.pxe-server]] | * Serving boot images permanently from OpenWRT to some client (laptop/desktop/server) that does not have a boot media (possibly having the root partition on NFS or ramdisk). See [[:docs:guide-user:services:tftp.pxe-server]] |
| ===== Concepts ===== | ===== Concepts ===== |
| |
| * PXE - [[wp>Preboot Execution Environment]] - is the standard for booting a device over a cabled network. It basically specifies that two other standards should be used. | * PXE - [[wp>Preboot Execution Environment]] - is the standard for booting a device over a cabled network. It basically specifies that two other standards should be used. |
| * DHCP - the [[wp>Dynamic Host Configuration Protocol]] is used both to set up networking and to get information on a tftp server and file name. | * DHCP - the [[wp>Dynamic Host Configuration Protocol]] is used both to set up networking and to get information on a tftp server and file name. |
| * TFTP - the [[wp>Trivial File Transfer Protocol]] is used to transfer a boot image from the server. (this boot image will then often run DHCP again as part of the boot process) | * TFTP - the [[wp>Trivial File Transfer Protocol]] is used to transfer a boot image from the server. (this boot image will then often run DHCP again as part of the boot process) |
| * [[wp>iPXE]] is both an implementation of PXE and additions to the PXE. With iPXE one can often use other protocols than tftp for fetching the boot image. If the client has a bios supporting iPXE, it's possible to bypass the tftp step, otherwise one may transfer a iPXE image through the TFTP protocol. | * [[wp>iPXE]] is both an implementation of PXE and additions to the PXE. With iPXE one can often use other protocols than tftp for fetching the boot image. If the client has a bios supporting iPXE, it's possible to bypass the tftp step, otherwise one may transfer a iPXE image through the TFTP protocol. |