PXE Network Boot VirtualBox, PT 2

I have a project for work that involves setting up Debian's Fully Automated Install (FAI) for a new server type that the company plans to roll out. The server is a 4U chassis, which holds 36 hard drives in it. And I am in charge of seeing if we can use a small 8 GB SSD for  the root partition. I've been figuring out FAI for the past couple of nights, but today my hardware disappeared. So until it returns - its off on a quest at the moment -  I figured I would try and to use VirtualBox to continue testing.
I started by creating a new machine in VirtualBox, 8GB drive, 1024 MB of RAM, and that is when I realized I didn't have the foggiest idea how to get VirtualBox to PXE boot. So off to the interwebs I went, searching for an answer. And in my travels I came across a great blog post that had my answer.I followed the instructions and started the machine. PXE booted up no problem, but DHCP timed out. I was a little bummed by the immediate failure, but like a good geek I persisted to find a solution, which I am sharing below:

What you need:

    VirtualBox installed

    A virtual machine created (A new one will probably work better)

    Click on the setting for your virtual machine you wish to PXE boot with.
    Select the “Network” tab. It give you a picture like this:

    Now click on the “Attachted To:” button and move it down to “Bridged Adapter”. Like so:

    And finally,  (if it isn't already set up correctly for you), select “Name” to be your working network card.
    Again, credit for the initial write up go to Noah Seidman whose initial blog post got me going. You write a lot of good technical articles Noah, keep up the good work! I just wanted to explicitly state how to get this last part of your tutorial working in case someone did not know how to do it themselves.

Image links broken + NIC tip


the links to the embedded images seem to be broken.

Also, one more tip: I found that PXE + Virtualbox works with some of the emulated cards but not with others. In particular it works with the AMD ones but not with the Intel ones. If you are having trouble you might want to change that setting.

Cheers and looking forward to an other two years of blogging!

Hi Cd-MAN, Yeah, when I moved

Hi Cd-MAN,

Yeah, when I moved providers I didn't do the best of job with backing up the previous site. So I lost all of the pictures from the site. It's something I've been meaning to try and find a fix for.

Thanks for the extra comments regarding PXE & Virtualbox. That is very good information to know.

This took me WAY longer than

This took me WAY longer than it should have, but I finally fixed the broken images.

Broken link

Thanks for sharing the solution. FYI, link to reference article broken/not rendering properly.

Thank you for letting me know

Thank you for letting me know that the link was broken. It has now been fixed.

If you made it this far down into the article, hopefully you liked it enough to share it with your friends. Thanks if you do, I appreciate it.

Bookmark and Share