Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Boot to hard drive partition
2017-04-11, 19:05
Post: #1
Boot to hard drive partition
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.

http://lists.ipxe.org/pipermail/ipxe-dev...03158.html

Any help is much appreciated.

Thanks!
Find all posts by this user
Quote this message in a reply
2017-04-11, 19:42
Post: #2
RE: Boot to hard drive partition
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.

Use GitHub Discussions
VRAM bin
Visit this user's website Find all posts by this user
Quote this message in a reply
2017-04-12, 20:50 (This post was last modified: 2017-04-12 20:51 by jwalker.)
Post: #3
RE: Boot to hard drive partition
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
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)