iPXE discussion forum

Full Version: Boot to hard drive partition
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am trying to install iPXE to a hard drive partition on a Windows OS so I can dual boot to either iPXE or Windows. My employer does not allow USB drives and does not want to flash any NIC ROMs. I found a thread from a few years ago with this topic but after following the instructions I can not get it to work. Here is the thread I'm referring to.


Any help is much appreciated.

you can dd (raw copy) ipxe.usb to a harddrive, but you will need to recreate any other partitions afterwards, bootloader is another issue, so getting windows on the same drive could prove tricky.

As a workaround you could use grub and ipxe.lkrn to be able to switch between the two.
Thanks for the reply NiKiZe. Your suggestion lead me down the path to a successful solution.

1. First get the latest Grub4Dos. Copy grldr.mbr, grldr, and menu.lst to the root of C:

2. Add an entry in BCD to boot to grub

bcdedit /create /d "GRUB4DOS" /application bootsector
bcdedit /set {id} device partition = c:
bcdedit /set {id} path \grldr.mbr
bcdedit /displayorder {id} /addlast
*Note - {id} is the guid that is returned after the first command

3. Add the configuration in menu.lst to boot iPXE.lkrn

title IPXE
root (hd0,0)
kernel (hd0,0)/ipxe.lkrn
Reference URL's