Difference between revisions of "IPXE"

From coreboot
Jump to navigation Jump to search
(→‎Building: ctrl+b is an emergency shell, it should not be used as-is, instead the user should wait for the normal shell)
 
(3 intermediate revisions by the same user not shown)
Line 57: Line 57:
  #undef IMAGE_TRUST_CMD /* Image trust management commands */
  #undef IMAGE_TRUST_CMD /* Image trust management commands */


Copy the following in the shell.ipxe file
Copy the following in the shell.ipxe file:
  #!ipxe
  #!ipxe
  shell
  shell
shell.ipxe is an ipxe script that ipxe will run when starting, here it will instruct ipxe to drop directly to a shell. The syntax is documented on ipxe website.


Use the previously gathered PCI ID to include only the ath9k driver:
Use the previously gathered PCI ID to include only the ath9k driver:
Line 71: Line 72:


=== Booting ===
=== Booting ===
* Keep pressing Ctrl + b while booting.
* boot on ipxe, it will give you a shell:
* It will give you a shell:
  iPXE>
  iPXE>
You will then need to type some commands to make it boot over the WiFi from the Internet.
You will then need to type some commands to make it boot over the WiFi from the Internet.
Line 83: Line 83:
* Test the official demo (requires a PS/2 keyboard)
* Test the official demo (requires a PS/2 keyboard)
  chain http://boot.ipxe.org/demo/boot.php
  chain http://boot.ipxe.org/demo/boot.php
== Running from grub as a payload ==
=== Introduction ===
Ipxe depend on the BIOS or EFI interfaces.
Grub doesn't provide a BIOS interface.
When grub is loaded from a BIOS (like SeaBIOS for instance), the interfaces are provided by the BIOS.
but when grub is the payload(coreboot loads grub directly), then this BIOS interfaces are absent.
The way arround this is to make grub load SeaBIOS which then loads ipxe.
=== SeaBIOS ===
grub can load payloads.
Refer to the [[GRUB2#Payloads|corresponding SeaBIOS section]] for making grub load SeaBIOS.

Latest revision as of 09:25, 23 August 2014