It is possible to get Foreman working with iPXE. We ship some templates
by default. You can also chainload iPXE via PXELinux.
LZ
···
On Tue, Sep 23, 2014 at 11:00:29PM -0700, rcmnet wrote:
> Hello
>
> I have installed a Ubuntu OS on a iscsi root device (with foreman 1.6.0),
> but now i have trouble booting from it with pxelinux.
>
> I have added the following to "/var/lib/tftpboot/pxelinux.cfg/MAC_ADDR"
> but i did not find a way to pass login credentials to sanboot
>
> KERNEL sanboot.c32
> APPEND iscsi:server.name::::iqn.2009-02.name.server:LUNNAME
>
> I can setup the dhcp server manually to load IPXE and then pass iscsi
> configuration, but I will lose the BUILD functionality
>
> Is there an better way to accomplish this?
>
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups "Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.com.
> To post to this group, send email to foreman-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/d/optout.
I have tried both before posting here without success
ipxe template "Preseed default iPXE" seems to be used only when the host
in Build state (and when safemode is disabled)
after Build is completed the template "PXELinux default local boot" is used
(although it isn't associated with any operating system)
I have not found any info in the documentation an how to integrate ipxe
boot with foreman.
from /var/lib/tftpboot/pxelinux.cfg/MAC_ADDR" i could not find a way to chainload
"undionly.kpxe" (i am not familiar with pxelinux)
but i could load ipxe.lkrn kernel only to get into another error. It halts
with "Try to free memory without signature".
There are some known problems with my ethernet card driver(broadcom) in
ipxe kernel
···
On Thursday, September 25, 2014 7:17:13 PM UTC+3, Lukas Zapletal wrote:
>
> It is possible to get Foreman working with iPXE. We ship some templates
> by default. You can also chainload iPXE via PXELinux.
>
> LZ
>
> On Tue, Sep 23, 2014 at 11:00:29PM -0700, rcmnet wrote:
> > Hello
> >
> > I have installed a Ubuntu OS on a iscsi root device (with foreman
> 1.6.0),
> > but now i have trouble booting from it with pxelinux.
> >
> > I have added the following to "/var/lib/tftpboot/pxelinux.cfg/MAC_ADDR"
> > but i did not find a way to pass login credentials to sanboot
> >
> > KERNEL sanboot.c32
> > APPEND iscsi:server.name::::iqn.2009-02.name.server:LUNNAME
> >
> > I can setup the dhcp server manually to load IPXE and then pass iscsi
> > configuration, but I will lose the BUILD functionality
> >
> > Is there an better way to accomplish this?
> >
> >
> > Thanks
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups "Foreman users" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to foreman-user...@googlegroups.com .
> > To post to this group, send email to forema...@googlegroups.com
> .
> > Visit this group at http://groups.google.com/group/foreman-users.
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> Later,
> Lukas #lzap Zapletal
>
> 1) ipxe template "Preseed default iPXE" seems to be used only when the host
> in Build state (and when safemode is disabled)
> after Build is completed the template "PXELinux default local boot" is used
> (although it isn't associated with any operating system)
> I have not found any info in the documentation an how to integrate ipxe
> boot with foreman.
This is correct behavior. Unfortunately our iPXE documentation coverage
is not good. Feel free to improve please!
It is possible there are some bugs in our templates. I am not sure how
many users use iPXE as this is not the default PXE technology we ship.
> 2) from /var/lib/tftpboot/pxelinux.cfg/MAC_ADDR" i could not find a way to chainload
> "undionly.kpxe" (i am not familiar with pxelinux)
> but i could load ipxe.lkrn kernel only to get into another error. It halts
> with "Try to free memory without signature".
> There are some known problems with my ethernet card driver(broadcom) in
> ipxe kernel
You are using undionly.kpxe deployed by Foreman installer? This one is
taken from your distribution package. Try to download latest stable
release od iPXE from the upstream site and replace all the files on your
TFTP server.
I'd recommend you to get iPXE working first without Foreman and then you
can move on.
> I have tried both before posting here without success
>
> 1) ipxe template "Preseed default iPXE" seems to be used only when the
> host in Build state (and when safemode is disabled)
> after Build is completed the template "PXELinux default local boot" is
> used (although it isn't associated with any operating system)
> I have not found any info in the documentation an how to integrate ipxe
> boot with foreman.
>
> 2) from /var/lib/tftpboot/pxelinux.cfg/MAC_ADDR" i could not find a way
> to chainload "undionly.kpxe" (i am not familiar with pxelinux)
> but i could load ipxe.lkrn kernel only to get into another error. It
> halts with "Try to free memory without signature".
>