4

I have a Linux PXE server.
Can boot into Linux ISO installers using PXE with no problems.
But how can I do it with Windows ISO? Just start the installation. Without creating some stuff (winpe) under Windows.

I've extracted some files from image.iso/sources/boot.wim /2/Windows/Boot/PXE/ to tftp root

pxeboot.com
wdsnbp.com           (-> wdsnbp.0)
bootmgr.exe

Pointed kernel to (in pxelinux.cfg/default):

KERNEL wdsnbp.0

That's at least something that boots and gives:

Downloaded WDSNBP...

Architecture: x64
WDSNBP started using DHCP Referral.
Contacting Server: 10.0.0.1 (Gateway: 0.0.0.0)..
No response from Windows Deployment Services server.
Launching pxeboot.com...
TFTP download failed
Could not boot image: Error 0x00000001 (http://ipxe.org/00000001)
No more network devices
FATAL: Could not read from the boot medium! System halted.

What should I do to continue booting process? I also created a Samba share with ISO contents, but how to connect all this?
All the tutorials I've found are either outdated or (most) require to create an additional boot image under Windows using its tools. Is it really so sad sad situation?

Update

For Linux ISO I have something like this:

KERNEL u1404/casper/vmlinuz.efi
APPEND boot=casper netboot=nfs nfsroot=10.0.0.1:/var/lib/tftpboot/u1404 initrd=u1404/casper/initrd.lz ip=dhcp --

/var/lib/tftpboot/u1404 is a mount point for Ubuntu 14.04 ISO

For Windows I stopped at this (and the error above) and don't know what exactly to do next:

KERNEL wdsnbp.0

And to clarify: the question is how to do it (configure PXE for Windows ISO) in Linux environment. If I was in a hurry I'd use WDS or some other Windows tools without a question.

  • I don't think it's that easy to install windows from a PXE server that is not WDS, but WDS can load linux stuffs quite easily with a few modifications, if you have the ressources to do so, I'd suggest you to do that, at least, that's what I'd do. – Stakhanov Jun 16 '14 at 12:52
  • 1
    Well, thanks, I'll leave the question opened then to hear details if this is impossible and why or how to do it – Sergey Jun 16 '14 at 13:36
  • Have you tried this? Not tried myself and it seems requires a lot of RAM to fit an iso file. – montonero May 30 '19 at 7:50
0

Have you tried FOG project before? It has a prebuilt PXE server compatible with many versions of Ubuntu Linux. Heres a link

From what I remember, its still open source but they are an excellent project. I have done custom boots of either Barts Duke and Nuke ISO or Ultimate Boot CD (at the moment I cannot remember which one as the last time I was employed their was two years ago.) as a boot option from their PXE menu so I know it would help solve your problem if you only need to boot from an ISO instead of install an image. If you need to install an image its perfect for that too. From what I remember its a simple file change to add a boot option. Its all documented though on the website above. FOG is very powerful, my last job was using it for their main imaging solution. Here's an example where they boot ISO files by simply specifying a path to the ISO file:

https://wiki.fogproject.org/wiki/index.php/Edit_PXE_menu_to_create_sub_menus

It boots any ISO we gave it so far. Easy. It has an installer too.

0

Please follow this link https://www.linuxtechi.com/configure-pxe-installation-server-centos-7/#comment-6957

add menu

default menu.c32
prompt 0
timeout 30

MENU TITLE Centos7Min PXE Menu
.....

MENU TITLE windows10 PXE Menu
LABEL windows10
MENU LABEL windows10
KERNEL /networkboot/memdisk
APPEND initrd=/iso/windows.iso

I hope this help

-1

There are third party -Automated PXE Server Solution Accelerators- able to do exactly what you want but run in Windows. Basically you extract the ISO content in a directory, you create a network share and the Automated PXE Server does the rest injecting the corresponding code within Boot.wim and automatically creating the corresponding boot menu entry for the booting PXE clients.

  • "the Automated PXE Server does the rest" that is no answer – nass Nov 12 '17 at 9:49
  • @nass the OP asks requiring Without creating some stuff (winpe) under Windows then my answer DEFINITELY is a valid answer. It seems you are pretty new here, probably you should read more before down-voting things that you do not really understand. – Pat Nov 12 '17 at 22:59
-1

you can't diretly boot wim files, or iso files, even in Linux you not booting directrly from iso's, but via memdisk's/ramdisk's

Please read the information about Windows boot process : http://technet.microsoft.com/en-us/library/cc771845(v=ws.10).aspx

install windows via Linux pxe servers it's very easy, no need WDS !

  • Actually I needed only to mount an ISO and point to some files in a config (for Linux ISO). For Windows.. please see update and if you know what to do - please write it. – Sergey Jun 25 '14 at 20:56
-2

First you have create Boot\BCD (boot configuration data) file with bcdedit , which will boot wim file.

Second - you have to boot from pxeboot.n12 (renamed to pxeboot.0)

Third - my suggestion for you, would be to use Microsoft Deployment Toolkit (MDT) to automate windows install.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.