iPXE discussion forum
Cannot boot from menu.c32 with ipxe.krn - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Cannot boot from menu.c32 with ipxe.krn (/showthread.php?tid=1101)



Cannot boot from menu.c32 with ipxe.krn - errorsmith - 2011-12-28 08:16

Hi!

I have a Client with an older Realtek 100Mbit Card. I use the provided CDROM Image to boot into ipxe. When my dhcp/tftpd delivers this ipxe script:
Code:
#!ipxe
ifopen net0
dhcp net0
set keep-san 1
sanhook --drive 0x80 iscsi:192.168.23.1::::iqn.2011-12.my.iscsi.host:disk1
sanboot --drive 0x80
the machine loads the iscsi installed win7 and all is fine.

When I try to do this:
chain into menu.c32 -> select option "sanboot" -> chain into ipxe.krn
and provide as initrd the same script as above, the machine locks up with some random garbage at the lower half of the screen.

Can anyone point me what I'm doing wrong?

with kind regards,
errorsmith

edit: typo


RE: Cannot boot from menu.c32 with ipxe.krn - robinsmidsrod - 2012-09-28 09:06

That is because when you use ipxe.krn you use a native driver for your network card. The realtek driver was rewritten some months ago. You might have better luck with things now if you try updated versions of all software involved (both iPXE and SYSLINUX).


RE: Cannot boot from menu.c32 with ipxe.krn - robinsmidsrod - 2012-09-28 10:57

Loading ipxe.krn means you're using iPXE's native drivers for your card, which could have bugs.

After you posted this question the realtek driver has been completely rewritten, so it's worth trying again and see if things work now.

Also, you should be using iPXE's native menu support (http://ipxe.org/cmd/menu) unless you're heavily invested in how menu.c32 does things.