3

Typically the kernel file is loaded via disk.

Questions

  • Is it possible to load it via HTTP/HTTPS?
  • If so how?
Kusalananda
  • 320,670
  • 36
  • 633
  • 936
Duke Dougal
  • 965
  • 3
  • 16
  • 27
  • 4
    `grub` can be compiled to support HTTP. [The friendly manual](https://www.gnu.org/software/grub/manual/grub.html#Device-syntax) says: _If you enabled the network support, the special drives ‘(tftp)’, ‘(http)’ and so on ars also available. Before using the network drive, you must initialize the network. See Network, for more information._ –  Sep 09 '15 at 03:09
  • 3
    The manual? Who would have thought such a thing could contain useful information? – Duke Dougal Sep 09 '15 at 22:18
  • It would be interesting to know its syntax and if https is also supported. The mentioned manual by @yeti is a bit short on this subject. I came to this question after reading the manual and using google to find the answer. – Tim Jun 05 '18 at 14:09

1 Answers1

3

As @user62916 already mentioned, as long as you have the http module loaded, you can load a kernel via http like:

(http,host.lan)/path/to/vmlinuz

More info here on this excellent document: https://olbat.net/files/misc/netboot.pdf

Znuff
  • 31
  • 3