Results 1 to 10 of 10

Thread: Working out Disk device ID's for Windows Boot Loader

  1. #1
    Agent of the System ikonia's Avatar
    Join Date
    May 2004
    Location
    South West UK (Bath)
    Posts
    3,736
    Thanks
    39
    Thanked
    68 times in 51 posts

    Working out Disk device ID's for Windows Boot Loader

    Could someone please explain the method of working out disk id's to go in the boot.ini file for the windows boot loader.

    I installed XP and XP 64 on a system, due to a problem with the XP install I had to re-install it, and it didn't pick up the XP 64 install (which sits on a primary sata disk) xp 64 picked up the xp install on the ide disk, but not vice versa.

    I'm having problems working out how the disks devices align to the paths in the boot.ini

    for example the XP install on my primary ide disk

    default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS

    how can I work out what my first sata disk would be

    I appriciate it will be partition(1) again but how does multi and disk match up to bus and disk.

    thanks.
    It is Inevitable.....


  2. #2
    Ex-MSFT Paul Adams's Avatar
    Join Date
    Jul 2003
    Location
    %systemroot%
    Posts
    1,926
    Thanks
    29
    Thanked
    77 times in 59 posts
    • Paul Adams's system
      • Motherboard:
      • Asus Maximus VIII
      • CPU:
      • Intel Core i7-6700K
      • Memory:
      • 16GB
      • Storage:
      • 2x250GB SSD / 500GB SSD / 2TB HDD
      • Graphics card(s):
      • nVidia GeForce GTX1080
      • Operating System:
      • Windows 10 x64 Pro
      • Monitor(s):
      • Philips 40" 4K
      • Internet:
      • 500Mbps fiber
    From Windows Internals Fourth Edition:

    The multi() syntax follows this format:
    multi(W)disk(X)rdisk(Y)partition(Z)

    W is the disk controller number (also known as the ordinal number) and is typically 0. X is always 0 in the multi() syntax. Y specifies the physical hard disk attached to the controller W. For ATA controllers, this number is typically between 0 and 3. For SCSI controllers, the number is typically between 0 and 15. Z indicates the partition number on the physical disk that corresponds to the boot volume. The first partition is assigned the number 1.
    So I'd guess your SATA controller has a different value for W.

    You can add entries to BOOT.INI, so long as the file is valid and the original entries are left intact then you can build a multiboot system with debug, 3G and DEPswitches, for example (even the same partition).
    ~ I have CDO. It's like OCD except the letters are in alphabetical order, as they should be. ~
    PC: Win10 x64 | Asus Maximus VIII | Core i7-6700K | 16GB DDR3 | 2x250GB SSD | 500GB SSD | 2TB SATA-300 | GeForce GTX1080
    Camera: Canon 60D | Sigma 10-20/4.0-5.6 | Canon 100/2.8 | Tamron 18-270/3.5-6.3

  3. #3
    Agent of the System ikonia's Avatar
    Join Date
    May 2004
    Location
    South West UK (Bath)
    Posts
    3,736
    Thanks
    39
    Thanked
    68 times in 51 posts
    perfect.

    thank you
    It is Inevitable.....


  4. #4
    Agent of the System ikonia's Avatar
    Join Date
    May 2004
    Location
    South West UK (Bath)
    Posts
    3,736
    Thanks
    39
    Thanked
    68 times in 51 posts
    despite Pauls clean explination, I find I'm still unable to get my XP 64 installation to boot again.

    I'm trying to avoid re-installing XP64 again - but will if I have to, as when I did this the first time, it saw the 32bit install and added it to the boot list for me.

    Is there way of actually working out the correct device ID or away of scanning all buses to get the correct options for the boot loader.

    I've gone through 0-6 on the multi option, which should work in some way, as Pauls advice suggestets.

    I've got 4 channels of 2 IDE buses populated which sould be multi1/2
    I've got both the Sata disks populated which should see multi3/4

    so as I see it

    first sata disk should be

    multi(3)disk(0)rdisk(0)partition(1)

    or

    multi(4)disk(0)rdisk(0)partition(1)

    depending on if the sata bus is seen as 1 bus or 2 (1 per disk)

    I'm not sure why my install is suggesting that the first partition is partition 1 - I can only assume this is the MS format for partitions.

    thanks for the input
    It is Inevitable.....


  5. #5
    Ex-MSFT Paul Adams's Avatar
    Join Date
    Jul 2003
    Location
    %systemroot%
    Posts
    1,926
    Thanks
    29
    Thanked
    77 times in 59 posts
    • Paul Adams's system
      • Motherboard:
      • Asus Maximus VIII
      • CPU:
      • Intel Core i7-6700K
      • Memory:
      • 16GB
      • Storage:
      • 2x250GB SSD / 500GB SSD / 2TB HDD
      • Graphics card(s):
      • nVidia GeForce GTX1080
      • Operating System:
      • Windows 10 x64 Pro
      • Monitor(s):
      • Philips 40" 4K
      • Internet:
      • 500Mbps fiber
    I would be tempted to boot off the x64 XP CD/DVD and try a repair option, after backing up my current BOOT.INI - possibly need to F6 to load the SATA drivers, mind...
    ~ I have CDO. It's like OCD except the letters are in alphabetical order, as they should be. ~
    PC: Win10 x64 | Asus Maximus VIII | Core i7-6700K | 16GB DDR3 | 2x250GB SSD | 500GB SSD | 2TB SATA-300 | GeForce GTX1080
    Camera: Canon 60D | Sigma 10-20/4.0-5.6 | Canon 100/2.8 | Tamron 18-270/3.5-6.3

  6. #6
    Agent of the System ikonia's Avatar
    Join Date
    May 2004
    Location
    South West UK (Bath)
    Posts
    3,736
    Thanks
    39
    Thanked
    68 times in 51 posts
    good advice.

    I'll do this tonight.
    It is Inevitable.....


  7. #7
    Seething Cauldron of Hatred TheAnimus's Avatar
    Join Date
    Aug 2005
    Posts
    17,168
    Thanks
    803
    Thanked
    2,152 times in 1,408 posts
    erm, forgive my plain ignorance, as i've never used IDE on my dual booting systems, but wouldn't multi be a max of 1, 0 for primary IDE, 1 for secondary IDE.

    my SCSI was always 2. or 1 (i think it was one when i disabled the IDE channel that wasn't in use by the cd drive).
    throw new ArgumentException (String, String, Exception)

  8. #8
    Agent of the System ikonia's Avatar
    Join Date
    May 2004
    Location
    South West UK (Bath)
    Posts
    3,736
    Thanks
    39
    Thanked
    68 times in 51 posts
    I'm trying to boot from sata which is treated as SCSI from what I've read, hence the 3 or 4 id.

    I'll see what the repair options shows as Paul suggested.
    It is Inevitable.....


  9. #9
    Seething Cauldron of Hatred TheAnimus's Avatar
    Join Date
    Aug 2005
    Posts
    17,168
    Thanks
    803
    Thanked
    2,152 times in 1,408 posts
    okay, one more time to try n explain.

    0, primary IDE
    1, secondary IDE
    2, ???
    3, ATA ?

    surely it would be two not 3?
    throw new ArgumentException (String, String, Exception)

  10. #10
    Seething Cauldron of Hatred TheAnimus's Avatar
    Join Date
    Aug 2005
    Posts
    17,168
    Thanks
    803
    Thanked
    2,152 times in 1,408 posts
    just done some checking, multi is determined by your boot order BIOS:

    Theoretically, this syntax could be used to start Windows NT on any drive in the system. However, this would require that all drives are correctly identified through the standard INT 13 interface; since support for this varies from disk controller to disk controller and most system BIOS only identify a single disk controller through INT 13, in practice it is only safe to use this syntax to start Windows NT from the first two drives connected to the primary disk controller, or the first four drives in the case of a dual-channel EIDE controller.

    you could try the SCSI sytnax, as if you've got an addin card BIOS for the SATA it might not work enless a driver is specifically loaded (this is what SCSI makes it do!)
    throw new ArgumentException (String, String, Exception)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 27-06-2005, 09:21 PM
  2. Help :)
    By Thanos in forum Help! Quick Relief From Tech Headaches
    Replies: 15
    Last Post: 03-01-2005, 08:29 PM
  3. Another Disk Boot Failure
    By SwiftEdge in forum Help! Quick Relief From Tech Headaches
    Replies: 5
    Last Post: 02-01-2005, 11:38 AM
  4. Disk Boot Failure
    By r1zeek in forum PC Hardware and Components
    Replies: 7
    Last Post: 08-06-2004, 08:16 PM
  5. Is my 3DMark2001 score a bit low?
    By quarryman in forum Graphics Cards
    Replies: 81
    Last Post: 10-12-2003, 02:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •