Translating configs from pxelinux to iPXE
|
2013-07-31, 10:22
(This post was last modified: 2013-07-31 10:36 by Richard.)
Post: #1
|
|||
|
|||
Translating configs from pxelinux to iPXE
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: https://access.redhat.com/site/documenta...onfig.html Here's the original tftpboot/pxelinux.cfg/default config, based on the URL above: Code: default foo Code: 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:169.254.1.100:/image 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. Thanks, Richard |
|||
2013-07-31, 13:28
Post: #2
|
|||
|
|||
RE: Translating configs from pxelinux to iPXE
This is how it's usually done with iPXE (if you want to include all the parts of the original config):
Code: #!ipxe Obviously only the first and the three last lines are required. |
|||
2013-07-31, 15:47
Post: #3
|
|||
|
|||
RE: Translating configs from pxelinux to iPXE
Thanks, Robin!
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)