Ticket #7102 (closed defect: fixed)
3.2.x No longer PXE Boot Ubuntu 9.04, 9.10, 10.04 Guests - DHCP fails (AFTER PXE has TFTP'd Kernel and initramfs)
|Reported by:||nickb834||Owned by:|
|Version:||VirtualBox 3.2.6||Keywords:||DHCP PXE Regression|
|Host type:||Mac OS X|
Description (last modified by frank) (diff)
I am no longer able to succesfully PXE boot Ubuntu 9.04,9.10 or 10.04 from my Ubuntu 10.04 server using at least3.2.6.x versions of Virtualbox.
The server itself is configured correctly (I can PXE boot any of the aforementioned Ubuntu versions using either Paralles or VMWare Fusion - ergo server config proved right). I can also PXE boot real machines from this PXE Server.
My Vbox host is Intel MacBook Pro running 10.6.4.
In Virtualbox what happens is the guest pxe boots, receives the kernel and the initramfs, and right at the point before it mounts the root fs over nfs (this is a livecd version of Ubuntu remember) it stops with the following on the console:
ipconfig: /tmp/net-eth0.conf : SIOCGIFINDEX: No such device
That error in and of itself is not a problem, even when the PXE boot works in VMware / Parralells or a real PC that message is always present.
This behaviour occurs no matter which of the Bridged nic types (either of the amds or the three intel versions) I select.
On a working PXE boot (Vmware, parralells, real pc) what should appear next is:
IP-Config: eth0 guessed broadcast address 10.0.0.31
So it appears as if the DHCP offer is not making it back to the guest in Vbox OR the DHCP req is not making it from the guest in Vbox. Which is why my guest hangs.
The very last Sun branded version of VirtualBox definately booted these Ubuntu Live CD's so therefor I am certain that this is a regression since the Oracle branding was applied (though I am not implying that this is the cause!!).
I beleive there is a regression in the networking stack / layer / implementation of Virtualbox.
Through my troubleshooting I beleive I have performed the following:
Proved that the PXE server and NFS server config is correct as VMware, Parallels and Real PC's can PXE boot from it. This proves the media they are booting from (cables etc). Proved that my OS X install is sane. Proved it isnt a Ubuntu bug as Ubuntu 9.04 for eg is over 12 months old without change as it's a live cd - and I used to be able to boot this via PXE with the same server in VirtualBox.
I will endeavour to find the last working version of Vbox such that it is easier to track down what changed between now and then in the portions of the source pertaining to networking.