[Solved] Boot ISO images over menu.ipxe - Printable Version +- iPXE discussion forum (https://forum.ipxe.org) +-- Forum: iPXE user forums (/forumdisplay.php?fid=1) +--- Forum: General (/forumdisplay.php?fid=2) +--- Thread: [Solved] Boot ISO images over menu.ipxe (/showthread.php?tid=6879) |
[Solved] Boot ISO images over menu.ipxe - Gelip - 2013-04-19 08:45 So far I've used pxelinux.0 default menu. Now I want to replace the default menu to menu.ipxe. I'm trying boot ISO image (75.3MB) over menu.ipxe. ISO loading but stop booting and message: Code: Loading boot sector... Booting... Code: :mxp14 pxelinux.0 working OK with menu default: Code: LABEL mxp14 RE: Boot ISO images over menu.ipxe - robinsmidsrod - 2013-04-19 08:56 You have some misunderstanding there. menu.ipxe is a script that is run by ipxe, not pxelinux.0. default is a configuration file for pxelinux.0. pxelinux.0 and ipxe are two different programs that behave totally different. It's like vi and emacs, they can both edit text files, but they go about it in totally different ways. To load a menu.ipxe script, you normally use the chain command in iPXE. iPXE can't load a configuration file that is for pxelinux. To load that one, you first have to load pxelinux.0 from ipxe (which is again done with the chain command). pxelinux.0 then takes over control and will load the default configuration file as part of its start process. Information on how to create ipxe scripts can be found here: http://ipxe.org/scripting You might also find some help in looking over the various examples available: http://ipxe.org/examples RE: Boot ISO images over menu.ipxe - Gelip - 2013-04-19 09:51 One more time: 1. I downloaded your menu.ipxe from https://gist.github.com/robinsmidsrod/2234639#file-menu-ipxe and add own one config for boot ISO image mxp14.iso 2. I built ipxe.iso with MENU_CMD 3. Have running TFTPD32 by Ph. Jounin DHCP Boot file -> menu.ipxe 4. Boot from this server in VPC 2007 from ipxe.iso [attachment=43] 5. Select position in menu: Mini WinXP HBCD 14 - AUTOSTART NETWORK & TEAMVIEWER Code: memdisk... ok [attachment=44] OK, I found solution in this post . Need menu.ipxe like this: Code: :mxp14 [attachment=45] RE: Boot ISO images over menu.ipxe - robinsmidsrod - 2013-04-19 10:43 That means memdisk has started, and is trying to boot the actual iso. At this point you're no longer using iPXE and you've bumped into a problem booting mxp14.iso from memory. Maybe that particular iso is trying to do something funky to locate itself during boot and is just hanging. You could also try using the sanboot command in ipxe instead of using memdisk. Maybe it will work better. The menu example you have already has several examples of using sanboot command to boot an ISO using HTTP (or TFTP). RE: Boot ISO images over menu.ipxe - Aigor - 2013-04-23 13:09 (2013-04-19 10:43)robinsmidsrod Wrote: That means memdisk has started, and is trying to boot the actual iso. At this point you're no longer using iPXE and you've bumped into a problem booting mxp14.iso from memory. Maybe that particular iso is trying to do something funky to locate itself during boot and is just hanging. You could also try using the sanboot command in ipxe instead of using memdisk. Maybe it will work better. Hi robin, this is exactly what i would like to do booting iso via tftp, i'm working on synology to setup complete boot server that reside on nas RE: Boot ISO images over menu.ipxe - mcb30 - 2013-04-23 13:17 (2013-04-23 13:09)Aigor Wrote: Hi robin, this is exactly what i would like to do booting iso via tftp, i'm working on synology to setup complete boot server that reside on nas Don't do that; it's a bad idea. ISOs tend to be large, and TFTP is slow. Use a more appropriate protocol such as HTTP or iSCSI instead. Michael RE: Boot ISO images over menu.ipxe - Gelip - 2013-04-23 14:29 (2013-04-23 13:17)mcb30 Wrote: ISOs tend to be large, and TFTP is slow. Use a more appropriate protocol such as HTTP or iSCSI instead.Right. I make some test with ISO image 75.3MB over LAN Wifi -> Ethernet 100. I run server PXE (TFTPD32) + Apache HTTP in laptop Wifi 54Mb WPA2/AES and boot other PC in LAN with gPXE 1.0.1 (have in motherboard BIOS): Code: Ctrl-B (to stop autoboot from TFTP)
RE: Boot ISO images over menu.ipxe - mcb30 - 2013-04-23 14:36 (2013-04-23 14:29)Maniek Wrote: [*] HTTP time download: 51 seconds :-) That's still pretty slow, unless your 54Mbps wireless link is really running at around 11Mbps. I suspect your problem may be this: Quote:boot other PC in LAN with gPXE 1.0.1 Don't use gPXE. It isn't maintained any more, doesn't have any of the improvements that have been made in iPXE in the last three years, and contains lots of known bugs. Use iPXE instead. Michael RE: [Solved] Boot ISO images over menu.ipxe - Gelip - 2013-04-23 15:19 Yes, I know but gPXE have in BIOS some time ago. Now test iPXE and I'm going to build iPXE and put to BIOS. RE: Boot ISO images over menu.ipxe - Gelip - 2013-04-23 19:03 (2013-04-23 14:36)mcb30 Wrote:(2013-04-23 14:29)Maniek Wrote: [*] HTTP time download: 51 seconds :-) Right. Tested ISO loading over HTTP: ethernet 100 (server) -> ethernet 100 (client):
|