|
2#

楼主 |
发表于 2010-10-6 20:11:22
|
只看该作者
Grub4dos Device Allocation/NumberingDrives/devices are numbered using the following syntax in Grub4dos -
Hard DisksHard disks are numbered from zero - - (hd0) - first hard disk
- (hd1) - second hard disk
- (hd2) - third hard disk
- etc.
Hard Disk - Partition NumberingPrimary partitions are numbered from zero to three - - (hd#,0) - first primary partition (on hard disk #)
- (hd#,1) - second primary partition (on hard disk #)
- (hd#,2) - third primary partition (on hard disk #)
- (hd#,3) - fourth primary partition (on hard disk #)
Examples - - (hd0,0) - first primary partition on first hard disk
- (hd0,1) - second primary partition on first hard disk
- (hd2,3) - fourth primary partition on third hard disk
Logical partitions are numbered from four - - (hd#,4) - first logical partition (on hard disk #)
- (hd#,5) - second logical partition (on hard disk #)
- (hd#,6) - third logical partition (on hard disk #)
- (hd#,7) - fourth logical partition (on hard disk #)
- etc.
Examples - - (hd0,4) - first logical partition on first hard disk
- (hd2,10) - seventh logical partition on third hard disk
- (hd5,9) - sixth logical partition on sixth hard disk
Virtual CD/DVD DrivesVirtual CD/DVD drives are numbered from (hd32) to (0xFF) - - (hd32) - first virtual CD/DVD drive
- (hd33) - second virtual CD/DVD drive
- (hd34) - third virtual CD/DVD drive
- etc.
- (0xFF) - last virtual CD/DVD drive (try this if mapping as (hd32) doesn't work)
(hd32) is a grub drive number equivalent to (0xA0). If a virtual drive is specified with a drive number greater than or equal to 0xA0, then it will be treated as a cdrom (i.e. - with 2048-byte sectors).
CD/DVD DrivesPhysical/real CD/DVD drives are numbered from zero - - (cd0) - first CD/DVD drive
- (cd1) - second CD/DVD drive
- etc.
Floppy Disk DrivesFloppy disk drives are numbered from zero - - (fd0) - first floppy drive
- (fd1) - second floppy drive
- etc.
PXE Drive- (pd) - virtual device used to designate the root directory of a PXE boot server
RAM Disk Drive |
|