PXE localboot fails after installation

Hi,

I've been setting up Foreman to create KVM VMs and provision Debian 6 to
them. It's all working very well with the exception that the localboot
called from the default pxelinux.cfg/default doesn't boot from the virtio
disk. It seems to be hitting this bug
https://bugzilla.redhat.com/show_bug.cgi?id=472236. Has anyone managed to
successfully work around this problem, or does it just work on RHEL 6 & kin
and Ubuntu? It there a possibility foreman could work around it by
switching the boot device after provisioning then back before reprovision,
for example?

Thanks,
Matt

> Hi,
>
> I've been setting up Foreman to create KVM VMs and provision Debian 6
> to them. It's all working very well with the exception that the
> localboot called from the default pxelinux.cfg/default doesn't boot
> from the virtio disk. It seems to be hitting this bug
> https://bugzilla.redhat.com/show_bug.cgi?id=472236. Has anyone managed
> to successfully work around this problem, or does it just work on RHEL
> 6 & kin and Ubuntu? It there a possibility foreman could work around
> it by switching the boot device after provisioning then back before
> reprovision, for example?
>
afaik, this bug has been long gone, it works without any issues on my
KVM installation.
You could try two things, one is to use a newer version of pxelinux.0,
and the other is to update the gpxe bios (usually packaged under kvm-pxe
or something like that).

When I've tried Ubuntu (around 10.04 or so) it worked with no issues afair.

Ohad

ยทยทยท On 01/30/2012 12:44 AM, Matthew Willsher wrote: > Thanks, > Matt > -- > You received this message because you are subscribed to the Google > Groups "Foreman users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/foreman-users/-/jY0TduZqStwJ. > To post to this group, send email to foreman-users@googlegroups.com. > To unsubscribe from this group, send email to > foreman-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/foreman-users?hl=en.

fixed this by, as you say, replacing the virtio pxe ROM that ships with
KVM with another. In this case, I used the ROM from the ipxe package that
ships with Debian 6. It works as expect now.

Matt