A couple of our servers, and even more laptops, are coming with no optical drives installed. This can be a problem when it comes to installing an operating system. I use the excellent Windows Deployment Services role on Windows Server (2000-20012 R2) to accomplish this. It works very well in deploying Windows Server and Windows 7 over the network via a pre-execution environment (PXE) and can even deploy Windows XP images if the need arises (see my “how to” article here). The one limitation it has is that you cannot install Linux distros. This is a problem because you are only allowed one PXE server on the local area network (LAN), so you would have to choose either a Linux PXE server or a Windows one.
Fortunately, I found a solution that lets both work together to give you every kind of boot solution you could dream of 🙂
PXELinux
PXELINUX is a SYSLINUX derivative, for booting Linux from a network server using a network ROM conforming to the Intel PXE (Pre-Execution Environment) specification… SysLinix Wiki
PXELinux can be set up to preceed the usual WDS boot menu you get after hitting the F12 key. It launches it’s own menu that will allow you to boot to your existing WDS set up, the local hard disk or any Linux tool/distro you desire. If you have used tools like The Ultimate Boot CD, Live Linux CD (e.g. Knoppix) s or Anti-Virus boot CDs it can be an exciting thought to get these all running from your WDS server.
I found the following tutorials really useful although they seem to go a bit over the top on what needs to be done so I will soon post a walkthrough of what I did here. For now check out these guides
- Creating a PXE Boot menu for deploying Linux with Windows Deployment Services (WDS)
- PXE and Kickstart, Automated Installations for Linux via WDS at Ohjeah!
- Custom Menu Examples
Here’s my menu so far
Man, thank you so much. You are the only site online where I’ve been able to find this info. I can’t believe I’m the only person commenting, either!
LikeLike
That’s the reason I had to post this article! Amazed how little info was out there on it. Glad it helped
LikeLike
can i have ur email address?
LikeLike
You can reach me through the Contacts page linked at the top of the blog
LikeLike
Thanks for the information, the instruction links you provided were perfect. This was quick and painless to set up!
LikeLike
Hi I’m doing a project for Erasmus and I very much agree Sean, is very hard to find some info on this subject.
But could I also implement this solution when the client pc have to be able to dual boot, Windows 7 and Ubuntu?
LikeLike
Not 100% what you mean but I think it is possible.
Do you want to give users a start-up menu to choose to boot into Ubuntu or Windows or do you just need it to co-exist with an existing dual boot PC.
In either case it shouldn’t be a problem
LikeLike
Yes first case, i want to give the user a start-up menu to choose between the two. And i need to use WDS, and install existing image of ubuntu and windows 7 on the clients.
I’m still a little bit new to this subject, so sorry for my unknowing.
LikeLike
What you need to do is this
INstall Windows on a hard disk
Insatll Ubuntu over the top of windows
This will create the necessary dual boot set-up and ubuntu site has more info on how this works
You can then use Clonezilla (from the PXE boot menu) to capture the disk image and clone on to other PCs. Clonezilla will keep the correct boot record.
Then, for a normal boot, just let the PXE menu timeout and it will continue on to the normal hard disk boot, which should then give you the OS Chooser.
This is all from the top of my head so you will need to test it out.
LikeLike
Thank you very much, I wil try this a soon as possible.
LikeLike
Serva is a quick and nice alternative to WDS and RIS for installing MS OSs. It can also net install Linux and all you can imagine. see
http://www.vercot.com/~serva/howto/WindowsPXE1.html
LikeLike
Hi,
i am using WDS and PXELinux for windows and Linux OS installation. i am able to start the OS installation. i would like to know, can i track the progress of OS installation? means how can i get the status whether OS installation was successfully happen or not.
LikeLike
It’s not a native part of WDS to have any kind of monitoring.
If you are using multicast, you should be able to see the progress of that from the WDS Server console.
You could implement Microsoft’s free MDT solution on top of WDS. This has monitioring built in to it.
For something more basic, you could put a startup script into your base image that will write to a file somewhere on your network when it first runs
LikeLike
What should I do when I see the customised PXELinux boot menu but no option is working? I can’t boot from local disk and also ‘Windows Deployment Services’ menu option is not working. When I boot without PXE the system is loading properly.
LikeLike
My PXE is unable to locate the cfg file. It reads pxelinux.com from my server but I’m unsure where the break is. I Followed everything to the T.
LikeLike
Hi,
This guide looks great but does it still work for windows server 2012 R2?
LikeLike
Hi,
Many thanks for posting this guide. This works perfectly for the servers that I’m implementing when these are placed in BIOS (legacy) mode, but I was hoping to have UEFI enabled. Have you had any luck in configuring this for UEFI?
LikeLike
I’ve never had to do that so can’t help I’m afraid
LikeLike
Hi, Can you please tell me why I can’t see boot options after following steps above? also I am not sure how would you add image to WDS server? do I just mount as normal ISO, I tried that but didn’t work that either for me. Please let me know out if you can. Cheers,
LikeLike
what is the modification needs to be done to UEFI based install?
LikeLike