Documentation: Add a note about enabling the console iPXE command

This command is used in the given script, and in the latest version of
iPXE its disabled by default
This commit is contained in:
Idan Horowitz 2021-05-14 13:58:03 +03:00 committed by Andreas Kling
parent 89febfcd30
commit 687efe6dd6
Notes: sideshowbarker 2024-07-18 18:10:16 +09:00

View file

@ -175,7 +175,12 @@ For troubleshooting purposes, you can add the following command line arguments i
Because iPXE (unlike GRUB) doesn't support VESA VBE modesetting when booting a multiboot kernel,
you might not see any output, so add the `boot_mode=text` argument as well to boot into VGA text mode.
In the `src` folder you should run:
Afterwards you will need to enable the `console` iPXE command by uncommenting the following line in `src/config/general.h`:
```c
//#define CONSOLE_CMD /* Console command */
```
Finally, in the `src` folder you should run:
```sh
make EMBED=../script.ipxe bin/ipxe.usb
```