Which rdisk value in boot.ini maps to which disk?
Posted
by MA1
on Super User
See other posts from Super User
or by MA1
Published on 2010-03-09T07:25:07Z
Indexed on
2010/03/15
9:10 UTC
Read the original article
Hit count: 171
Following are the contents of a sample boot.ini:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /NOEXECUTE=OPTIN /FASTDETECT
multi(0)disk(0)rdisk(0)partition(2)\WINNT="Windows 2000 Professional" /fastdetect
multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /NOEXECUTE=OPTIN /FASTDETECT
The rdisk
value tells the physical disk number.
So, if I have three hard disks say:
/dev/sda
/dev/sdb
/dev/sdc
Then how to know which disk (/dev/sda or /dev/sdb or /dev/sdc) is rdisk(0) and which disk is rdisk(1), etc.?
© Super User or respective owner