[Solved] Boot ISO images over menu.ipxe
|
2013-04-19, 08:45
(This post was last modified: 2013-04-19 10:46 by Gelip.)
Post: #1
|
|||
|
|||
[Solved] Boot ISO images over menu.ipxe
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 |
|||
2013-04-19, 08:56
Post: #2
|
|||
|
|||
RE: Boot ISO images over menu.ipxe
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 |
|||
2013-04-19, 09:51
(This post was last modified: 2013-04-19 10:43 by Gelip.)
Post: #3
|
|||
|
|||
RE: Boot ISO images over menu.ipxe
One more time:
1. I downloaded your menu.ipxe from https://gist.github.com/robinsmidsrod/22...-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 5. Select position in menu: Mini WinXP HBCD 14 - AUTOSTART NETWORK & TEAMVIEWER Code: memdisk... ok OK, I found solution in this post . Need menu.ipxe like this: Code: :mxp14 |
|||
2013-04-19, 10:43
Post: #4
|
|||
|
|||
RE: Boot ISO images over menu.ipxe
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). |
|||
2013-04-23, 13:09
Post: #5
|
|||
|
|||
RE: Boot ISO images over menu.ipxe
(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 |
|||
2013-04-23, 13:17
Post: #6
|
|||
|
|||
RE: Boot ISO images over menu.ipxe
(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 |
|||
2013-04-23, 14:29
Post: #7
|
|||
|
|||
RE: Boot ISO images over menu.ipxe
(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)
|
|||
2013-04-23, 14:36
Post: #8
|
|||
|
|||
RE: Boot ISO images over menu.ipxe
(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 |
|||
2013-04-23, 15:19
Post: #9
|
|||
|
|||
RE: [Solved] Boot ISO images over menu.ipxe
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.
|
|||
2013-04-23, 19:03
Post: #10
|
|||
|
|||
RE: Boot ISO images over menu.ipxe
(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):
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)