Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ipxe and mboot.c32
2012-03-05, 09:49
Post: #3
RE: ipxe and mboot.c32
(2012-03-02 19:36)robinsmidsrod Wrote:  
Code:
chain xen6/boot/mboot.c32 xen6/boot/xen.gz .... xen6/boot/vmlinuz  .... xen6/boot/install.img
The environment is different to normal pxe scenario:

First we have a dhcp proxy and tftpd server on

192.168.0.4

From there we send to the nic card of the server with normal pxe call a ipxe.dsk floppy disk. Boot this ipxe system and load with a cgi call the script I wrote above.

chain http://192.168.0.1/gpxe.cgi?MAC=${net0/mac}

This script return a script for ipxe like that:

Code:
#!ipxe
set next-server 192.168.0.1

set 210:string tftp://192.168.0.1/
set 209:string tftp://192.168.0.1/gpxe.cgi?MAC=${net0/mac}
set filename ${210:string}xen6/mboot.c32
echo mac...............: ${mac}
echo ip................: ${ip}
echo netmask...........: ${netmask}
echo gateway...........: ${gateway}
echo dns...............: ${dns}
echo domain............: ${domain}
echo dhcp-server.......: ${dhcp-server}
echo syslog............: ${syslog}
echo filename..........: ${filename}
echo next-server.......: ${next-server}
echo hostname..........: ${hostname}
echo uuid..............: ${uuid}
echo serial............: ${serial}
echo .
chain ${filename} xen6/xen.gz dom0_max_vcpus=2 dom0_mem=752M com1=115200,8n1 console=com1,vga --- xen6/vmlinuz xencons=hvc console=hv0 console=tty0 answerfile=http://192.168.0.1/ks/ks/sys/00215E563F0C/answer-aisxendeploy01.xml install --- xen6/install.img ||
shell

I want to redirect the "old" pxe target 192.168.0.4 to .1

The problem is, that I can "download" the mboot.c32 file and than it starts and want to load xen.gz - but the only message I get is that

Code:
Loading xen6/xen.gz ...

I donĀ“t know much about mboot.c32 and from where it want to load his files (I know the "relativ to pxe servers root) - I want to do all with http, but I cannot write

Code:
chain ${filename} http://192.168.0.1/pxe/xen6/xen.gz ....

Somewhere I have a probleme - but I cannot find it <snief>

thnx
Jochen
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
ipxe and mboot.c32 - betabox - 2012-03-01, 21:08
RE: ipxe and mboot.c32 - betabox - 2012-03-05 09:49
RE: ipxe and mboot.c32 - loper.t2h - 2013-07-20, 14:27
RE: ipxe and mboot.c32 - loper.t2h - 2013-07-20, 18:08
RE: ipxe and mboot.c32 - loper.t2h - 2013-07-24, 13:38
RE: ipxe and mboot.c32 - loper.t2h - 2013-07-24, 14:26
RE: ipxe and mboot.c32 - loper.t2h - 2013-07-25, 13:25
RE: ipxe and mboot.c32 - Izaac - 2014-02-25, 23:07



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