Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
booting/installing Solaris over HTTP
2013-06-15, 01:44
Post: #7
RE: booting/installing Solaris over HTTP
thanks Robin,
I am researching into pxegrub and how i can fetch a miniroot to boot and initiate a build without using DHCP.
I am right now stuck at the following level on a HP Proliant DL380 G5:
======================================================
Attempting Boot From CD-ROM

ISOLINUX 3.83 2009-10-05 ETCD Copyright © 1994-2009 H. Peter Anvin et al
iPXE ISO boot image
Loading ipxe.krn........ready.
gg-- Open Source Network Boot Firmware -- <XXX:XX:XX:XX:XX:XX>
Features: HTTP iSCSI DNS TFTP AoE SRP bzImage ELF MBOOT PXE PXEXT Menu
fw sync timeout, reset code = 1030003
G: Using legacy NIC wrapper on <XX:XX:XX:XX:XX:XX>
iPXE>
iPXE> ifopen net0
iPXE> set net0/ip <IP_ADDRESS>
iPXE> set net0/netmask <NET_MASK>
iPXE> set net0/gateway <GATEWAY_IP>
iPXE> ifstat

net0: XX:XX:XX:XX:XX using bnx2-5708 on PCI03:00.0 (open)
[Link:up, TX:63 TXE:0 RX:907 RXE:785]
[RXE: 439 x "Operation not supported (http://ipxe.org/3c086003)"]
[RXE: 343 x "The socket is not connected (http://ipxe.org/380f6001)"]
[RXE: 3 x "Error 0x440e6003 (http://ipxe.org/440e6003)"]

iPXE> imgfetch http://<WEB_SERVER_IP>/miniroot/x86.miniroot
http://<WEB_SERVER_IP>/miniroot/x86.miniroot...transmit timed out
transmit timed out
transmit timed out
transmit timed out
transmit timed out
transmit timed out
transmit timed out
transmit timed out
======================================================
The network connection is fine. It works perfectly outside of iPXE.
I can see in the webserver logs that the client hits the webserver after a delay with following message and then it stops there:

<CLIENT_IP> - - [14/Jun/2013:18:12:31 -0500] "GET /miniroot/x86.miniroot HTTP/1.1" 200 95524456

I am suspecting it may be something to do with the below error messages being thrown out by ifstat command:
=================================================
[RXE: 439 x "Operation not supported (http://ipxe.org/3c086003)"]
[RXE: 343 x "The socket is not connected (http://ipxe.org/380f6001)"]
[RXE: 3 x "Error 0x440e6003 (http://ipxe.org/440e6003)"]
=================================================

Since I was using the ipxe.iso file downloaded from http://boot.ipxe.org/ipxe.iso, I figured I will compile my own and try it.
But when i try to compile it on Solaris, here's what it says:
===============================================
bash-3.00# cd ipxe-238050d/src
bash-3.00# make
make: Fatal error in reader: Makefile, line 7: Unexpected end of line seen
===============================================


Here's what happens when I tried "gmake":
===============================================
bash-3.00# cd ipxe-238050d/src
bash-3.00# gmake
/bin/sh: git: not found
/bin/sh: ld: not found
/bin/sh: as: not found
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
/bin/sh: as: not found
grep: illegal option -- E
Usage: grep -hblcnsviw pattern file . . .

*** It hangs here forever ***
===============================================


These are the packages I have on the system:
===============================================
GNU C - The GNU C compiler 3.4.3
GNU binutils - Binary file utilities 2.15
GNU make - A utility used to build software (gmake) 3.81
SUNWperl584core Perl 5.8.4 (core)
SUNWzlib 11.10.0,REV=2005.01.08.01.09
===============================================

Do you know if this has ever been tried on a Solaris box before?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: booting/installing Solaris over HTTP - sab - 2013-06-15 01:44



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