iPXE discussion forum

Full Version: Translating configs from pxelinux to iPXE
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm trying to translate a simple config from pxelinux into the proper iPXE syntax. At the moment, the test config isn't working with either one, so I'm not sure if I've translated things correctly.

Relative to my prior posts, I'm now dabbling with PXE booting CentOS 6.4 with an NFS-based root filesystem. Redhat offers a doc here with the relevant steps using pxelinux:

Here's the original tftpboot/pxelinux.cfg/default config, based on the URL above:
default foo

label foo
  kernel vmlinuz-2.6.33-358.14.1.el6.x86_64
  append initrd=initramfs-2.6.33-358.14.1.el6.x86_64.img root=nfs: rw
And this is the iPXE statement I translated it into:
kernel vmlinuz-2.6.33-358.14.1.el6.x86_64 initrd=initramfs-2.6.33-358.14.1.el6.x86_64.img root=nfs: rw

Question is... is simply munging the two lines together the proper way to do this translation? Based on my other work here, this looks right.

Secondly, if anyone's done this before (booted Linux with an NFS-based root filesystem), can you critique the root= statement here? Either it's not being passed successfully, or I've formatted something wrong, because that seems to be my current hangup.

This is how it's usually done with iPXE (if you want to include all the parts of the original config):

goto foo
kernel vmlinuz-2.6.33-358.14.1.el6.x86_64 root=nfs: rw
initrd initramfs-2.6.33-358.14.1.el6.x86_64.img

Obviously only the first and the three last lines are required.
Thanks, Robin!
Reference URL's