裏日記:2007年9月9日

Parallels for Mac の ディスクイメージが壊れてしまったようで、

http://kb.parallels.com/entry/26/459/
Error message "Hdd file is missing, corrupted, or used by other application" appears upon virtual machine startup
Print
Link to this article

Views: 1702
Votes: 14
The problem may arise when you are using Parallels Desktop 3.0 build 4128 or later. It doesn't apply to Parallels Desktop 2.x. The solution is applicable to virtual machines that don't have snapshots.
Desired Result:
Restoring the corrupted virtual hard disk image file.
Actions to Take:
First you should add new hard disk drive to your virtual machine:
1. Start Parallels Desktop.
2. Click the Hard Drive link on the Configuration Page.
3. Click the Add button in the lower part of the Configuration Editor window.
4. in Add Hardware Assistant, select Hard Disk, and click Next.
5. In the next window select Create a new virtual hard disk image, and click Next.
6. Set the virtual hard disk capacity value (in MB) equal (VERY IMPORTANT) to the capacity of the corrupted virtual hard disk, and click Finish.
Now, you should edit the HDD file of the corrupt virtual hard disk:
1. In the Finder, open your VM folder (By default, Documents/Parallels/ folder).
2. Right-click the disk2.hdd file, and choose Show Package Contents from the shortcut menu.
3. Right-click the DiskDescriptor.xml file, and choose Copy "DiskDescriptor.xml" from the shortcut menu.
4. Close the disk2.hdd package.
5. Right-click the .hdd file (For example, windowsxp.hdd), and choose Show Package Contents from the shortcut menu.
6. Place the DiskDescriptor.xml into this package.
7. Ctrl-click the DiskDescriptor.xml file, and choose Open with > Other...
8. Select Applications > TextEdit to open the file.
9. Find the disk2.hdd.0 line, and change it to your hard drive name.hdd.0
For example, if the hard disk is nsmed disk2.hdd.0, change its name to windowsxp.hdd.0
10. Close TextEdit. Save the changes, when prompted.
After that, make sure that the virtual hard disk was succesfully restored:
1. Launch Parallels Desktop, and start your virtual machine
2. If you successfully start Windows, from the Windows Start menu choose Shut down.
3. Click the Hard Disk 2 link in Configuration Editor.
4. Make sure that the Hard Disk 2 is selected, and click the Remove button. Click OK.
5. Start your virtual machine once more.
NOTES:
Alternative solution - error message "Hdd file is missing, corrupted, or used by other application" appears upon virtual machine startup [HowTo]

↑これを試してみたがうまくいかなかったので再導入。