Adjusting the virtual SCSI adapter type in a VMDK file (1006621)
After converting a physical or virtual machine using VMware Converter, you experience these symptoms:
You are unable to boot the virtual machine
Windows boots to a blue screen error
You see one or more entries similar to:
- STOP 0x7B INACCESSIBLE_BOOT_DEVICE
STOP 0x0000007B INACCESSIBLE_BOOT_DEVICE
Mount: error No such device or address mounting /dev/root on /sysroot as ext3
Setuproot: moving /dev failed: No such file or directory
Setuproot: error mounting /proc: No such file or directory
Setuproot: error mounting /sys: No such file or directory
Switchroot: mount failed: No such file or directory
Kernel panic – not syncing: Attempted to kill init!
- Adisk read error occurred
This article provides steps to modify the virtual disk adapter type to match the guest operating system.
To correct the adapter type after the conversion or creation of a virtual machine using the command line:
Power off the virtual machine that is using the virtual hard disk file (VMDK).
If the virtual machine is located on an ESX/ESXi host, use the service console to access the file. For more information on accessing the service console, see:
Locate the smallest VMDK file (about 340 bytes), which will typically be in a folder labeled /vmfs/volumes/volume id/virtual machine name on an ESX/ESXi host. If not accessing a host, locate the file on your local drive.
After the virtual machine is located, open the .vmdk file using a text editor or vi (nameofvm).vmdk command.
The file appears similar to:
# Disk DescriptorFile
# Extent description
RW num_sectors TYPE "filename"
# The Disk Data Base
ddb.virtualHWVersion = "version"
ddb.geometry.cylinders = "cylinders"
ddb.geometry.heads = "heads"
ddb.geometry.sectors = "sectors"
ddb.adapterType = "adapter_type"
Locate the line ddb.adapterType.
Specify one of these parameters: lsilogic or buslogic.
This table shows the adapter type for the guest operating system:
Guest Operating SystemAdapter TypeWindows 2003, 2008, Vista, Windows 7lsilogicWindows NT, 2000, XPbuslogicLinuxlsilogic
Note: If the desired setup is for the virtual machine to use the PVSCSI controller, the ddb.adapterType should be set to lsilogic. If the ddb.adapterType is set to PVSCSI, storage vMotion fails.
Save the changes to the .vmdk file.
Power on the virtual machine. If you are prompted to change the adapter type assigned to the virtual machine, allow the changes.
For information on changing the SCSI controller using the GUI option, see Change the virtual SCSI controller of a virtual machine (1002149).
- Troubleshooting a virtual machine converted with VMware Converter that fails to boot with the error: STOP 0x0000007B INACCESSIBLE_BOOT_DEVICE (1006295)
- Cannot power on a virtual machine because the virtual disk cannot be opened (1004232)
- Converting a GSX Server virtual IDE disk To a virtual SCSI disk (1881)
- Guest Operating System Installation Guide