Discovering boot.ini's rdisk setting from within Windows

Posted on 2011-04-27
Last Modified: 2012-06-21
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.
Question by:Barthax
    LVL 30

    Accepted Solution

    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.
    LVL 19

    Author Closing Comment

    Thanks. :D

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Join & Write a Comment

    We have adopted the strategy to use Computers in Student Labs as the bulletin boards. The same target can be achieved by using a Login Notice feature in Group policy but it’s not as attractive as graphical wallpapers with message which grabs the att…
    One of the features I've come to appreciate about Windows 7 and Windows Server 2008 R2 is the ability to pin applications to the task bar. As useful a feature as I've found this, it does have some quirks.  For example, have you ever tried pinning an…
    This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
    The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now