Verified Commit 50079717 authored by anarcat's avatar anarcat
Browse files

move ipxe image build to its own section too (team#40969)

parent f122ac4e
Loading
Loading
Loading
Loading
+29 −27
Original line number Diff line number Diff line
@@ -103,29 +103,7 @@ find . 2>/dev/null | cpio -o -R root:root -H newc | xz -9 --format=lzma > ../ini

Put `vmlinuz` and `initrdiso.img` on a public HTTPS endpoint. 

## iPXE booting

To boot a rescue system, you first need to build an iPXE image and
upload it to the BIOS. Then you can use the above image to boot a live
image.

At the time of writing (this might change!) the interface layout in
the iPXE environment is like this:

 * net0: management LAN
 * net1: public network
 * not detected: extra Intel gigabit network

Make sure the BIOS clock is up to date and that iPXE can ping and
resolve hosts on the Internet.

You might need to enable an interface before it works with:

    ifopen net1

You can check the open/closed status of the interfaces with:

    ifstat
## Modified iPXE image

You need to rebuild iPXE with `DOWNLOAD_PROTO_HTTPS` and UEFI support:

@@ -228,11 +206,27 @@ index 2d15f500..3260ad6e 100644
 #define IMAGE_ARCHIVE_CMD	/* Archive image management commands */
```

Then boot iPXE by going in the BIOS and ... TODO.
## iPXE booting

Then upload `ipxe.img` as a virtual floppy image and reboot. Press
<kbd>F11</kbd> to bring up the boot menu and select the `UEFI: ATEN
Virtual Floppy 3000` entry.
To boot a rescue system, you first need to build the above modified
iPXE image and upload it to the BIOS. Then you use the modified GRML
image to boot a live system.

At the time of writing (this might change!) the interface layout in
the iPXE environment is like this:

 * net0: management LAN
 * net1: public network
 * not detected: extra Intel gigabit network

Make sure the BIOS clock is up to date and that iPXE can ping and
resolve hosts on the Internet.

Then upload the `ipxe.img` built in the previous section as a virtual
floppy image and reboot. 

Press <kbd>F11</kbd> to bring up the boot menu and select the `UEFI:
ATEN Virtual Floppy 3000` entry.

Now, when `iPXE initialising devices...` is shown, frantically smash
the <kbd>ctrl-b</kbd> key combination, because the delay to drop to the
@@ -254,6 +248,14 @@ set net0/netmask 255.255.255.0
set net0/gateway 192.168.200.254
```

You might need to enable an interface before it works with:

    ifopen net1

You can check the open/closed status of the interfaces with:

    ifstat

Finally, boot the image:

```