<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<tt>On 1/18/2011 11:42, Binh Thai wrote:</tt>
<blockquote type="cite" cite="mid:88A6D980ACB96149856DEF1DFA18C8BA0275191C@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;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
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;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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><span style="color: rgb(31, 73,
125);">Hi Shao,<o:p></o:p></span><br>
</tt><tt><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span><br>
</tt><tt><span style="color: rgb(31, 73, 125);">Thanks for your
reply.<o:p></o:p></span><br>
</tt><tt><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span><br>
</tt><tt><span style="color: rgb(31, 73, 125);">I forgot to
mention that I meant “drive 0” in the context of Windows
disk drive numbering.</span></tt></div>
</blockquote>
<tt><br>
</tt><tt>Oh, ok.<br>
<br>
</tt>
<blockquote type="cite" cite="mid:88A6D980ACB96149856DEF1DFA18C8BA0275191C@va-mail4.ncst.com">
<div class="WordSection1"><tt><span style="color: rgb(31, 73,
125);">My goal is to boot a system from an iscsi target
without disrupting the disk drive numbers of the internal
hard drives. For example, if I have one internal hard drive,
I want to see it detected as Disk 0 whether I boot from it
or from the iscsi target. If I boot from the iSCSI target, I
want to see the iscsi target as drive 1, not 0. Currently,
the iSCSI drive would become Disk 0 and push the internal
drive to Disk 1.<o:p></o:p></span><br>
</tt><tt><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span><br>
</tt><tt><span style="color: rgb(31, 73, 125);">I think the PnP
enumeration process in Windows has some relationship with
the BIOS drive numbering. Could you please point me to some
in-depth documentation regarding the BIOS drive numbering
and how int13 is used?</span><br>
</tt></div>
</blockquote>
<tt><br>
</tt><tt>I do not believe that BIOS drive numbers and Windows drive
numbers have any correlation. Use Microsoft's SysInternals'
LoadOrd.exe to check your driver load order. If you ensure that
the drivers responsible for the internal storage adapters are
loaded before the iSCSI driver, then I think your odds are better
for the iSCSI HDD getting a higher number than the internal
HDD(s).<br>
<br>
</tt><tt>However, it might be the case that the startup protocol
hands an MBR signature from boot-up to the drive number assignment
routine; in this case, whatever drive is used for booting (your
iSCSI HDD) will be drive 0 no matter what. You can use
Microsoft's SysInternals' WinObj.exe to check the mapping of the
ARC names (\ArcName\) to the drive numbers (\Device\HarddiskX).<br>
<br>
</tt><tt>I can only think of a convoluted way to push the boot drive
up and away from Windows drive number 0:<br>
</tt><tt>- Boot the iSCSI drive<br>
</tt><tt>- Have GRUB4DOS on the drive<br>
</tt><tt>- Have GRUB4DOS remap the drive number from 0x80 to 0x81<br>
</tt><tt>- Chain-load the Windows boot-loader<br>
</tt><tt>- Have BOOT.INI/BCD attempt to boot
multi(0)disk(0)rdisk(1)partition(1) instead of rdisk(0) (0x81
instead of 0x80)<br>
- If the iSCSI drive is \Device\Harddisk1 then hopefully Windows
would also further connect it as </tt><tt>multi(0)disk(0)rdisk(1).
ARC _and_ HDD numbers would then be 1 instead of 0. (Untested.)<br>
<br>
</tt><tt>So having said that, I'd like to ask: _why_ do you want the
drive numbers numbered in this way?<br>
<br>
</tt><tt>- Shao Miller<br>
<br>
</tt>
</body>
</html>