Sysop:IPXE

Aus immerda
Zur Navigation springen Zur Suche springen

iPXE

iPXE is a small boot image, that allows you to chainload additional things such as a kernel over network or other means.

Build own image

The following commands are used to build an own image, containing a script, that configures the network and the loads a CentOS 6 Kernel preconfigured into the rescue mode. Useful to fix broken systems by mounting the built iso via a CD-Mount Option in your RSA/IPMI.


git clone git://git.ipxe.org/ipxe.git
cd ipxe/src
$ cat myscript.ipxe 
#!ipxe
ifopen net0
set net0/ip 192.168.1.2
set net0/netmask 255.255.255.0
set net0/gateway 192.168.1.1
set net0/dns 8.8.8.8
kernel http://mirror.centos.org/centos/6.3/os/x86_64/isolinux/vmlinuz rescue ip=192.168.1.2 netmask=255.255.255.0 gateway=192.168.1.1 dns=8.8.8.8 method=http://mirror.centos.org/centos/6.3/os/x86_64/ lang=en keymap=sg-latin1
initrd http://mirror.centos.org/centos/6.3/os/x86_64/isolinux/initrd
boot

$ make bin/ipxe.iso EMBED=./myscript.ipxe

bin/ipxe.iso is the built ISO-Image

You can also build other images -> http://ipxe.org/download