The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ipxe and mboot.c32
2012-03-01, 21:08 (This post was last modified: 2013-07-20 17:31 by robinsmidsrod.)
Post: #1
ipxe and mboot.c32
I have a problem in my xenserver installation procedure.

I want to boot with ipxe and this script:

Code:
#!ipxe
set next-server 192.168.0.1
mgfetch tftp://192.168.0.1/xen6/boot/mboot.c32
imgfetch tftp://192.168.0.1/xen6/boot/xen.gz
imgfetch tftp://192.168.0.1/xen6/boot/vmlinuz
imgfetch tftp://192.168.0.1/xen6/boot/install.img
imgargs mboot.c32 xen.gz dom0_max_vcpus=2 dom0_mem=752M com1=115200,8n1 console=com1,vga --- vmlinuz xencons=hvc console=hv0 console=tty0 answerfile=http://192.168.0.1/ks/ks/sys/00215E563F0C/answer-aisxendeploy01.xml install --- install.img
boot mboot.c32

All imgfetch work, and the files transfer successful.

Than the mboot.c32 image boots and want to load xen.gz

"Loading xen.gz ..."

Now it stays here .... stops.

I look into the source of mboot.c and find, that it want to unpack the .gz file - but where it want to get it ? It doesn´t find it or what can happen ?

With imgstat I can list all imgs and parameter I set = looks all correct.

I try also with

imgargs mboot.c32 tftp://192.168.0.1/xen6/boot/xen.gz ...

or

imgargs mboot.c32 http://192.168.0.1/ks/xen6/boot/xen.gz ...

and no imgfetch ... but nothing - always the same point it stops.

Maybe I have misunderstand something and I cannot boot like this with ipxe.

Wie pxelinux the install is like this:

Code:
kernel mboot.c32
   append path/to/boot/directory/xen.gz watchdog com1=115200,8n1 \
      console=com1,tty --- path/to/boot/directory/vmlinuz \
      root=/dev/ram0 console=tty0 console=ttyS0,115200n8 \
      ramdisk_size=32758 \
      answerfile=http://pxehost.acme.com/XenServer_4.0.1-answerfile \
      install --- path/to/boot/directory/install.img

The question now is - where is the image I download with imgfetch ?

Or how can I handle this.

Thanks for reading until here :-)

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)