Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a Linux guest on a Win7 VMWare Workstation host. I route physical drives from the host directly into the VM. I've noticed in the vmdk for these disks that the mapping in the vmdk to a physical drive is done by drive identity (i.e., a number from 0-6). This number matches what you see in disk manager on the host.

I would like to not use drive number, and instead use the ID for the drive (UUID), so that if the ordering of the drives changes, the correct mapping is maintained.

The motivation for this type of solution comes from the problem stated in this post: SATA Drive Order Scrambled on Reboot; Windows 7 / Asus P5Q MB

Is there a way to edit this section of he vmdk file in order for this to happen?

# Extent description
RW 1953525168 FLAT "\\.\PhysicalDrive2" 0

I would like to change PhysicalDrive2 to PhysicalDrive{UUID}, or something VMWare Workstation interprets to mean this.

EDIT: Also posted the question on VMWare Communities: http://communities.vmware.com/message/1986851#1986851

share|improve this question
    
THose names are decide by Microsoft... (It is the Windows equivalent to Linux's /dev/sda)... It might be that VMware provides a different way to address the disk than by its device file, or that Windows have some aliases for them which is less likely to change... –  Gert van den Berg Jan 9 '13 at 5:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.