Fwd: Network-Install Windows 7 to iSCSI target

Andrew Bobulsky <[email protected]> Wed, 19 May 2010 10:26:49 -0400
Newsgroups gmane.network.etherboot.user,gmane.network.etherboot.gpxe
Message-ID <[email protected]>
--===============3233097888317815971==
Content-Type: multipart/alternative; boundary=Apple-Mail-3--380734009


--Apple-Mail-3--380734009
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

Forgot to CC the mailing list :)

Also, the Etherboot-discuss list has been deprecated (?), you'll want to =
continue this on [email protected]

-Andrew Bobulsky

Begin forwarded message:

> From: Andrew Bobulsky <[email protected]>
> Date: May 19, 2010 10:25:34 AM EDT
> To: "Bernhard Steiner" <[email protected]>
> Subject: Re: [Etherboot-discuss] Network-Install Windows 7 to iSCSI =
target
>=20
> Bernhard,
>=20
> I've actually done this before, but the process was more than =
cumbersome... it was a bit of a nightmare.
>=20
> Basically, you want gPXE to pull its DHCP request, attempt to boot =
from SAN, and then of course fall back to gPXE.  After that, you'll want =
to do something like "chain boot\pxeboot.n12" from the gPXE CLI or a =
gPXE script. =20
>=20
> Even then, though, I had problems with Windows Setup that required me =
to bust open the wim file and edit a few things, then start setup.exe by =
hand from the PE's command prompt.
>=20
> It's a bit of a pain, and I honestly can't remember specifically what =
I did to make it work right, but I'll try to give you some help along =
the way if you're willing to stumble along ;-)
>=20
> Also, I was chainloading undionly.pxe from the built in pxe.  I think =
the key here for you is likely loading WinPE from the gPXE CLI, rather =
than jumping back out to SYSLINUX.
>=20
> Best of luck to you.
>=20
> -Andrew Bobulsky
>=20
> On May 19, 2010, at 7:53 AM, Bernhard Steiner wrote:
>=20
>> Hi gPXE fellas;
>> I hope its okay writing to you gPXE guys, knowing that I use gPXE out =
of the SYSLINUX package. =20
>> =20
>> I'm successfully using the SYSLINUX version of gPXE, called =
'gpxelinux.0', to boot Windows from iSCSI.  Right now, I install Windows =
to a hard drive first, and then I use 'dd' to move the image of the HD =
to my iSCSI target.  But I like to go a step further=85
>> =20
>> I'd like to boot from network, connect to a iSCSI target, and then =
start the installation of the OS from network, too.
>> =20
>> What I'm doing at the moment=85
>> =20
>> 1) Boot server hands 'gpxelinux.0' (chain-loading pxelinux after =
gpxe) to my PXE clients
>> 2) In my PXELINUX (using sanboot.c32 module of SYSLINUX) menu I =
select an empty iSCSI target
>> 3) I get a "SAN boot failed" message, because the iSCSI target I'm =
trying to boot is empty.
>> 4) Then I fall back to my PXELINUX menu, and now I select the entry =
to start WDS (Windows Deployment Services)
>> 5) But when Windows 7 Setup asks for an installation destination, =
there are no hard drives=85
>> =20
>> I already tried to set the "KEEP-SAN" option (175 gPXE_options: 08 01 =
01 FF) in my MS-DHCP server, but without any positive change.
>> =20
>> My question to you guys is:
>> Is it possible to use gPXE to mount an empty iSCSI disk and then =
proceed with installing an OS (e.g. Linux, Windows, =85) from network?
>> =20
>> Thanks,
>> Bernhard
>> =20
>> =
--------------------------------------------------------------------------=
----
>>=20
>> _______________________________________________
>> Etherboot-discuss mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/etherboot-discuss
>=20


--Apple-Mail-3--380734009
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
">Forgot to CC the mailing list :)<div><br></div><div>Also, the =
Etherboot-discuss list has been deprecated (?), you'll want to continue =
this on <a =
href=3D"mailto:[email protected]">[email protected]</a></div><div><br></=
div><div>-Andrew Bobulsky<br><div><br><div>Begin forwarded =
message:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px;"><span =
style=3D"font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, =
1);"><b>From: </b></span><span style=3D"font-family:'Helvetica'; =
font-size:medium;">Andrew Bobulsky &lt;<a =
href=3D"mailto:[email protected]">[email protected]</a>&gt;<br></span></di=
v><div style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px;"><span style=3D"font-family:'Helvetica'; =
font-size:medium; color:rgba(0, 0, 0, 1);"><b>Date: </b></span><span =
style=3D"font-family:'Helvetica'; font-size:medium;">May 19, 2010 =
10:25:34 AM EDT<br></span></div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span =
style=3D"font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, =
1);"><b>To: </b></span><span style=3D"font-family:'Helvetica'; =
font-size:medium;">"Bernhard Steiner" &lt;<a =
href=3D"mailto:[email protected]">[email protected]</a>&gt;<=
br></span></div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px;"><span =
style=3D"font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, =
1);"><b>Subject: </b></span><span style=3D"font-family:'Helvetica'; =
font-size:medium;"><b>Re: [Etherboot-discuss] Network-Install Windows 7 =
to iSCSI target</b><br></span></div><br><div style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; ">Bernhard,<div><br></div><div>I've actually done =
this before, but the process was more than cumbersome... it was a bit of =
a nightmare.</div><div><br></div><div>Basically, you want gPXE to pull =
its DHCP request, attempt to boot from SAN, and then of course fall back =
to gPXE. &nbsp;After that, you'll want to do something like "chain =
boot\pxeboot.n12" from the gPXE CLI or a gPXE script. =
&nbsp;</div><div><br></div><div>Even then, though, I had problems with =
Windows Setup that required me to bust open the wim file and edit a few =
things, then start setup.exe by hand from the PE's command =
prompt.</div><div><br></div><div>It's a bit of a pain, and I honestly =
can't remember specifically what I did to make it work right, but I'll =
try to give you some help along the way if you're willing to stumble =
along ;-)</div><div><br></div><div>Also, I was chainloading undionly.pxe =
from the built in pxe. &nbsp;I think the key here for you is likely =
loading WinPE from the gPXE CLI, rather than jumping back out to =
SYSLINUX.</div><div><br></div><div>Best of luck to =
you.</div><div><br></div><div>-Andrew =
Bobulsky</div><div><br><div><div>On May 19, 2010, at 7:53 AM, Bernhard =
Steiner wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><span class=3D"Apple-style-span" style=3D"border-collapse: =
separate; font-family: Helvetica; font-size: medium; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; "><div lang=3D"DE" link=3D"blue" =
vlink=3D"purple"><div class=3D"Section1"><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: =
12pt; font-family: Tahoma; "><font size=3D"2" face=3D"Arial"><span =
lang=3D"EN-US" style=3D"font-size: 10pt; font-family: Arial; ">Hi gPXE =
fellas;<o:p></o:p></span></font></div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: =
12pt; font-family: Tahoma; "><font size=3D"2" face=3D"Arial"><span =
lang=3D"EN-US" style=3D"font-size: 10pt; font-family: Arial; ">I hope =
its okay writing to you gPXE guys, knowing that I use gPXE out of the =
SYSLINUX package. &nbsp;<o:p></o:p></span></font></div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 0cm; font-size: 12pt; font-family: Tahoma; "><font size=3D"2"=
 face=3D"Arial"><span lang=3D"EN-US" style=3D"font-size: 10pt; =
font-family: Arial; "><o:p>&nbsp;</o:p></span></font></div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 0cm; font-size: 12pt; font-family: Tahoma; "><font size=3D"2"=
 face=3D"Arial"><span lang=3D"EN-US" style=3D"font-size: 10pt; =
font-family: Arial; ">I'm successfully using the SYSLINUX version of =
gPXE, called 'gpxelinux.0', to boot Windows from iSCSI. &nbsp;Right now, =
I install Windows to a hard drive first, and then I use 'dd' to move the =
image of the HD to my iSCSI target. &nbsp;But I like to go a step =
further=85<o:p></o:p></span></font></div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: =
12pt; font-family: Tahoma; "><font size=3D"2" face=3D"Arial"><span =
lang=3D"EN-US" style=3D"font-size: 10pt; font-family: Arial; =
"><o:p>&nbsp;</o:p></span></font></div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: =
12pt; font-family: Tahoma; "><font size=3D"2" face=3D"Arial"><span =
lang=3D"EN-US" style=3D"font-size: 10pt; font-family: Arial; ">I'd like =
to boot from network, connect to a iSCSI target, and then start the =
installation of the OS from network, =
too.<o:p></o:p></span></font></div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: =
12pt; font-family: Tahoma; "><font size=3D"2" face=3D"Arial"><span =
lang=3D"EN-US" style=3D"font-size: 10pt; font-family: Arial; =
"><o:p>&nbsp;</o:p></span></font></div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: =
12pt; font-family: Tahoma; "><font size=3D"2" face=3D"Arial"><span =
lang=3D"EN-US" style=3D"font-size: 10pt; font-family: Arial; ">What I'm =
doing at the moment=85<o:p></o:p></span></font></div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 0cm; font-size: 12pt; font-family: Tahoma; "><font size=3D"2"=
 face=3D"Arial"><span lang=3D"EN-US" style=3D"font-size: 10pt; =
font-family: Arial; "><o:p>&nbsp;</o:p></span></font></div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 0cm; font-size: 12pt; font-family: Tahoma; "><font size=3D"2"=
 face=3D"Arial"><span lang=3D"EN-US" style=3D"font-size: 10pt; =
font-family: Arial; ">1) Boot server hands 'gpxelinux.0' (chain-loading =
pxelinux after gpxe) to my PXE =
clients<o:p></o:p></span></font></div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: =
12pt; font-family: Tahoma; "><font size=3D"2" face=3D"Arial"><span =
lang=3D"EN-US" style=3D"font-size: 10pt; font-family: Arial; ">2) In my =
PXELINUX (using sanboot.c32 module of SYSLINUX) menu I select an empty =
iSCSI target<o:p></o:p></span></font></div><div style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; =
font-size: 12pt; font-family: Tahoma; "><font size=3D"2" =
face=3D"Arial"><span lang=3D"EN-US" style=3D"font-size: 10pt; =
font-family: Arial; ">3) I get a "SAN boot failed" message, because the =
iSCSI target I'm trying to boot is =
empty.<o:p></o:p></span></font></div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: =
12pt; font-family: Tahoma; "><font size=3D"2" face=3D"Arial"><span =
lang=3D"EN-US" style=3D"font-size: 10pt; font-family: Arial; ">4) Then I =
fall back to my PXELINUX menu, and now I select the entry to start WDS =
(Windows Deployment Services)<o:p></o:p></span></font></div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 0cm; font-size: 12pt; font-family: Tahoma; "><font size=3D"2"=
 face=3D"Arial"><span lang=3D"EN-US" style=3D"font-size: 10pt; =
font-family: Arial; ">5) But when Windows 7 Setup asks for an =
installation destination, there are no hard =
drives=85<o:p></o:p></span></font></div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: =
12pt; font-family: Tahoma; "><font size=3D"2" face=3D"Arial"><span =
lang=3D"EN-US" style=3D"font-size: 10pt; font-family: Arial; =
"><o:p>&nbsp;</o:p></span></font></div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: =
12pt; font-family: Tahoma; "><font size=3D"2" face=3D"Arial"><span =
lang=3D"EN-US" style=3D"font-size: 10pt; font-family: Arial; ">I already =
tried to set the "KEEP-SAN" option (175 gPXE_options: 08 01 01 FF) in my =
MS-DHCP server, but without any positive =
change.<o:p></o:p></span></font></div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: =
12pt; font-family: Tahoma; "><font size=3D"2" face=3D"Arial"><span =
lang=3D"EN-US" style=3D"font-size: 10pt; font-family: Arial; =
"><o:p>&nbsp;</o:p></span></font></div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: =
12pt; font-family: Tahoma; "><font size=3D"2" face=3D"Arial"><span =
lang=3D"EN-US" style=3D"font-size: 10pt; font-family: Arial; ">My =
question to you guys is:<o:p></o:p></span></font></div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 0cm; font-size: 12pt; font-family: Tahoma; "><font size=3D"2"=
 face=3D"Arial"><span lang=3D"EN-US" style=3D"font-size: 10pt; =
font-family: Arial; ">Is it possible to use gPXE to mount an empty iSCSI =
disk and then proceed with installing an OS (e.g. Linux, Windows, =85) =
from network?<o:p></o:p></span></font></div><div style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; =
font-size: 12pt; font-family: Tahoma; "><font size=3D"2" =
face=3D"Arial"><span lang=3D"EN-US" style=3D"font-size: 10pt; =
font-family: Arial; "><o:p>&nbsp;</o:p></span></font></div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 0cm; font-size: 12pt; font-family: Tahoma; "><font size=3D"2"=
 face=3D"Arial"><span lang=3D"EN-US" style=3D"font-size: 10pt; =
font-family: Arial; ">Thanks,<o:p></o:p></span></font></div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 0cm; font-size: 12pt; font-family: Tahoma; "><font size=3D"2"=
 face=3D"Arial"><span lang=3D"EN-US" style=3D"font-size: 10pt; =
font-family: Arial; ">Bernhard<o:p></o:p></span></font></div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 0cm; font-size: 12pt; font-family: Tahoma; "><font size=3D"2"=
 face=3D"Arial"><span lang=3D"EN-US" style=3D"font-size: 10pt; =
font-family: Arial; =
"><o:p>&nbsp;</o:p></span></font></div></div>-----------------------------=
-------------------------------------------------<br><br>_________________=
______________________________<br>Etherboot-discuss mailing list<br><a =
href=3D"mailto:[email protected]" style=3D"color: =
blue; text-decoration: underline; =
">[email protected]</a><br><a =
href=3D"https://lists.sourceforge.net/lists/listinfo/etherboot-discuss" =
style=3D"color: blue; text-decoration: underline; =
">https://lists.sourceforge.net/lists/listinfo/etherboot-discuss</a><br></=
div></span></blockquote></div><br></div></div></blockquote></div><br></div=
></body></html>=

--Apple-Mail-3--380734009--


--===============3233097888317815971==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------


--===============3233097888317815971==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Etherboot-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/etherboot-discuss

--===============3233097888317815971==--