Adding Fedora 18 to my PXE boot server…

I covered setting up a Debian PXE boot server, and how to set up multiple OSes (well, multiple versions of Debian). This time I added Fedora 18 to the mix. Here’s my pxelinux.cfg/default menu file as it stands now:

default pxelinux.cfg/vesamenu.c32 menu background pxelinux.cfg/main.png prompt 0 timeout 0 ontimeout BootLocal noescape 1 label BootLocal localboot 0 text help Boot to local hard disk endtext menu begin Debian menu title Debian label Previous text help Return to previous menu endtext menu exit menu separator menu include debian/menu.cfg menu end menu begin Fedora menu title Fedora label Previous text help Return to previous menu endtext menu exit menu separator menu include fedora/menu.cfg menu end

All I did was copy the Debian section, and replace “Debian” with “Fedora.” I created the /srv/tftp/fedora/18 directory hierarchy, and pulled the vmlinuz and initrd.img from the linux/releases/18/Fedora/x86_64/iso/isolinux/ directory of the Fedora 18 netinst ISO. I created the /srv/tftp/fedora/menu.cfg file:

menu background fedora/splash.png label fedora18 menu label Fedora 18 - Install or Upgrade kernel fedora/18/vmlinuz append initrd=fedora/18/initrd.img repo=http://shevek.ceti/fedora/linux/releases/18/Fedora/x86_64/iso/ \ stage2=http://dl.fedoraproject.org/pub/fedora/linux/releases/18/Fedora/x86_64/os/ label fedora18vesa menu label Fedora 18 - Install or Upgrade (basic video driver) kernel fedora/18/vmlinuz append initrd=fedora/18/initrd.img xdriver=vesa nomodeset repo=http://shevek.ceti/fedora/linux/releases/18/Fedora/x86_64/iso/ \ stage2=http://dl.fedoraproject.org/pub/fedora/linux/releases/18/Fedora/x86_64/os/

(shevek.ceti is my workstation/PXE boot server). At first I just used the public mirror (repo only, not stage2), but since I was hosting the netinst image, I decided to use the stage2 install. My test VM is currently installing Fedora 18, I’d consider it a success!

Leave a Reply