VanguardLH wrote:
> Spin wrote:
>
>
>>Running Windows XP Pro 64-bit edition. I notice that my primary hard drive
>>is Disk 0. If I add another hard disk to the system, the primary hard drive
>>becomes Disk 1! And still works!!! I thought the hard and fast rule was
>>that disk 0 ALWAYS stays disk 0 REGARDLESS of whether or not an additional
>>hard drive gets installed. The additional drive in my case is a removable
>>drive which sits inside a drive bay which replaces the CD-ROM. Am I missing
>>something?
>
>
> NT-based versions of Windows do not rely on the physical detect order of
> hard drives by the BIOS in a computer. They rely on a signature placed
> in the MBR of each hard drive. Then when you move drives around between
> different controllers on the motherboard or to daughercard controller
> cards the OS can still locate the appropriate partitions on wherever the
> drives got moved. However, moving the drives around can screw up the
> BIOS bootup sequence since the BIOS only looks for the bootstrap code in
> the MBR on the first physically detected hard disk.
>
> http://en.wikipedia.org/wiki/Master_..._disk_identity
>
> Hard to know what really happened because you did not describe your
> physical hardware configuration before and after adding the new hard
> disk.
Actually, there is another layer (underneath the signature mechanism)
that creates the Harddisk# directory, this is done by the Disk Class
driver and the I/O manager when NT is in the early booting stage. These
disk objects such as \device\harddisk0 are created before the I/O
Manager calls the IoAssignDriveLetters function which in turn reads the
registry and assigns drive letters to the NT disk Objects created
earlier by the Disk Class Driver. It is not unconceivable that the disk
ordinal number be different in the Disk Manager and that the
partition(s) on the disk still retain their assigned drive letters.
John