PXE-Boot various systems
If you're looking to perform a lot of system recovery, or system installation, then network booting with PXE is ideal. PXE allows you to boot up a system and have it automatically get an IP address via DHCP and start booting a kernel over the network.
PXE itself stands for "Pre-boot eXecution Environment", which describes how it works in the sense that the clients using it haven't booted in a traditional manner.
I have this systems setup for PXE-Boot, which are working flawless:
- Ubuntu Live-CDs 32 and 64bit
- Kubuntu Live-CDs 32 and 64bit
- Linux Mint XY Cinnamon and KDE
- OpenELEC with /home on NFS
- ReDo 1.04
- Clonezilla with NFS-Share automounted (for Data-Recovery)
- PartedMagic ISO (is $4.99 lately)
- Desinfec't - AntivirusDVD from c't (german computer magazine)
- WinPE 3.0 ISO
2. Create a Share in OMV for TFTP and setup TFTP with it:
3. Create a Share in OMV for NFS
I have different NFS-Shares for this
a) for Images from Clonezilla (for Backup)
b) for OpenELEC-home. My OpenElec-Machine doesn't need a USB- or Harddrive with this. Thx to marcelbeck for the hint
c) a readonly NFS-Share for the PXE-Files extracted from the ISOs
4. Create a graphical Menu for PXE-Boot
I've setup my pxelinux to show a Main-menu and some submenus. So it's easier to read and to edit. Partedmagic is booted from ISO, because i can switch to a new iso very fast. DL, copy, rename, done
Here are some of my menus:
append nfsroot=192.168.178.21:/export/NFS_PXE/ubuntu-12.04-desktop-amd64/ netboot=nfs ro file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/bootfiles/ubuntu-12.04-desktop-amd64/casper/initrd.lz locale=de_DE bootkbd=de console-setup/layoutcode=de --append nfsroot=192.168.178.21:/export/NFS_PXE/kubuntu-12.04-desktop-amd64/ netboot=nfs ro file=/cdrom/preseed/kubuntu.seed boot=casper initrd=/bootfiles/kubuntu-12.04-desktop-amd64/casper//initrd.lz locale=de_DE bootkbd=de console-setup/layoutcode=de --append nfsroot=192.168.178.21:/export/NFS_PXE/mint14-cinnamon/ netboot=nfs ro file=/cdrom/preseed/mint.seed boot=casper initrd=/bootfiles/mint14-cinnamon/casper/initrd.lz locale=de_DE bootkbd=de console-setup/layoutcode=de --
/pxelinux.cfg/menu-dban (abstract) with a "fake-menu"