• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 534
  • Last Modified:

Discovering boot.ini's rdisk setting from within Windows

Hi all,

I have a simple thing I would like to discover instead of good old "trial and error" method of discovering the boot.ini's required rdisk() for a hard drive.  Scenario: a customer has purchased and installed a new hard drive, installed Windows Vista onto the second hard drive (Windows XP on the first).  The customer then discovers that if left alone, the first hard drive is used to boot up (they haven't changed the BIOS boot order) and it doesn't know about the second hard drive's install.

The customer has got into the habit of waiting for the POST and hitting the relevant key to select the boot device, then selecting the second hard drive.  I have no physical access to the machine but have determined both drives are IDE.  My one and ONLY question I have from this set up is:

As the rdisk() property is physically related, once booted into Windows Vista or Windows XP, how would I determine which rdisk number is the second drive (so that I can alter the boot.ini of the first hard drive).  Presumably, this discover process would translate to Windows 7, 2003, 2008, etc?

Please do not post about altering the BIOS - I know that stuff but I am not going to talk something through it over the phone.  Please do not post about figuring our the multi(), disk() or partition() settings - I know how to figure those out & the drives are IDE so there's no need to discuss scsi() options.
0
Barthax
Asked:
Barthax
1 Solution
 
flubbsterCommented:
Have you seen this? Describes going into the registry to determine rdisk number. Look in the section for IDE drives. It is written for W2000, but I believe it still applies.

http://support.microsoft.com/kb/159865
0
 
BarthaxAuthor Commented:
Thanks. :D
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Tackle projects and never again get stuck behind a technical roadblock.
Join Now