<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <tt>On 1/18/2011 10:42, Binh Thai wrote:</tt>
    <blockquote type="cite" cite="mid:88A6D980ACB96149856DEF1DFA18C8BA027518DB@va-mail4.ncst.com">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1"><tt>Hello Everyone,</tt></div>
    </blockquote>
    <br>
    <tt>Hello.</tt><br>
    <br>
    <blockquote type="cite" cite="mid:88A6D980ACB96149856DEF1DFA18C8BA027518DB@va-mail4.ncst.com">
      <div class="WordSection1"><tt><o:p></o:p></tt><br>
        <tt>It seems by default the iscsi boot drive initiated from gPXE
          has the drive number 0.</tt></div>
    </blockquote>
    <br>
    <tt>I think that you meant to type "BIOS drive 0x80" rather than
      "drive number 0".&nbsp; BIOS drive 0x00 would be the first floppy disk
      drive.</tt><br>
    <br>
    <blockquote type="cite" cite="mid:88A6D980ACB96149856DEF1DFA18C8BA027518DB@va-mail4.ncst.com">
      <div class="WordSection1"><tt>Is there any way to change this
          drive number to an arbitrary number? The reason is I want to
          keep the drive order and numbers of the internal hard drives
          intact.<br>
        </tt></div>
    </blockquote>
    <br>
    <tt>If you wish to change the drive number away from 0x80, what are
      you hoping to do with it?&nbsp; Boot it?&nbsp; I am under the impression
      that a lot of HDD boot-loader code expects to be run from drive
      0x80.</tt><br>
    <br>
    <tt>gPXE assigns a "natural" drive number to the SAN; the "natural"
      number would be the next number available.&nbsp; If you had 0x80 and
      0x81 already, then it would get 0x82.&nbsp; But then gPXE swaps that
      with the real 0x80 just for booting purposes, since 0x80 is
      traditionally the booting HDD.&nbsp; See
      gpxe/src/arch/i386/interface/pcbios/int13.c for some relevant
      source code.</tt><br>
    <br>
    <tt>- Shao Miller</tt><br>
  </body>
</html>