Difference between revisions of "Netboot"

From ArchWiki
Jump to: navigation, search
(Using ipxe.lkrn)
Line 12: Line 12:
  
 
The ipxe.lkrn image can be booted like a Linux kernel. Any Linux bootloader (like Grub or syslinux) can be used to load it from your hard drive, a CD or a USB drive.
 
The ipxe.lkrn image can be booted like a Linux kernel. Any Linux bootloader (like Grub or syslinux) can be used to load it from your hard drive, a CD or a USB drive.
 +
 +
You can try the image with qemu by running the following command:
 +
 +
    qemu-system-x86_64 -enable-kvm -m 1G -kernel ipxe.lkrn
  
 
=== Using ipxe.pxe ===
 
=== Using ipxe.pxe ===

Revision as of 22:52, 3 June 2016


Netboot images are small (<1MB) images that can be used to download the latest Arch Linux release on the fly upon system boot. It is unnecessary to update the netboot image, the newest release will be available automatically. Netboot images can be downloaded from the Arch Linux website.

Using netboot images

BIOS

To use netboot on a BIOS-based computer, you need either the ipxe.lkrn or ipxe.pxe image.

Using ipxe.lkrn

The ipxe.lkrn image can be booted like a Linux kernel. Any Linux bootloader (like Grub or syslinux) can be used to load it from your hard drive, a CD or a USB drive.

You can try the image with qemu by running the following command:

   qemu-system-x86_64 -enable-kvm -m 1G -kernel ipxe.lkrn

Using ipxe.pxe

The ipxe.pxe image is a PXE image. It can be chainloaded from an existing PXE environment. This allows configuring a DHCP server such that booting from the network will always boot into Arch Linux netboot.

UEFI

The ipxe.efi image can be used to launch Arch Linux netboot in UEFI mode. Only 64 Bit UEFI is supported. The ipxe.efi image can be added as a boot option via efibootmgr, chainloaded from a boot manager like systemd-boot or launched directly from the UEFI shell.