The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

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:169.254.1.100:/image rw
And this is the iPXE statement I translated it into:
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
boot

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
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Translating configs from pxelinux to iPXE - Richard - 2013-07-31 10:22



User(s) browsing this thread: 2 Guest(s)