将 VHD 导入 Mac 上的 Parallels Desktop 6

发布于 2024-09-30 04:54:00 字数 349 浏览 3 评论 0原文

我到处寻找这个但找不到答案,所以:

我有一个客户为我创建的 VHD 映像 - 他在计算机上安装了 Win7,然后使用 SysInternals 的工具创建了他共享的 VHD与我和一位同事。

我可以使用 Parallels Mounter 在 Mac 上安装 VHD 并查看内容,但我无法了解如何导入 VHD 以从 VHD 文件创建新的 Parallels VM。 Parallels Transporter 似乎想要从实时 Windows 机器创建虚拟机,但事实并非如此。

我的同事能够使用 VirtualBox 从 VHD 创建虚拟机,我想使用 Parallels Desktop 6 执行同样的操作。

有什么想法吗?

I've looked everywhere for this but can't find an answer, so:

I have a VHD image created for me by a client -- he installed Win7 on a machine and then used a tool from SysInternals to create a VHD which he shared with me and a colleague.

I can mount the VHD on my Mac using Parallels Mounter and see the contents, but I can't for the life of me see how to import the VHD to create a new Parallels VM from the VHD file. Parallels Transporter seems to want to create a VM from a live Windows box, which this isn't.

My colleague is able to use VirtualBox to create a VM from the VHD and I want to do the same using Parallels Desktop 6.

Any ideas?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

嘴硬脾气大 2024-10-07 04:54:00

Parallels 旨在导入虚拟机而不是虚拟硬盘。 VHD 只是硬盘,不指定有关计算机的任何信息。

所以答案是您需要创建一个使用 VHD 的简单虚拟机;然后,Parallels 可以导入它(对于 Parallels 7,请参阅下面 ftt 的回答)。为此,请创建一个扩展名为 .vmc 的简单 UTF-8 文本文件,其中包含以下内容:

<?xml version="1.0" encoding="UTF-8"?>
<preferences>
<version type="string">2.0</version>
<hardware>
<pci_bus>
<ide_adapter>
<ide_controller id="0">
<location id="0">
<drive_type type="integer">1</drive_type>
<pathname>
<absolute type="string">/Users/Shared/VirtualPC/BaseDrive.vhd</absolute>
<relative type="string">BaseDrive.vhd</relative>
</pathname>
</location>
</ide_controller>
</ide_adapter>
</pci_bus>
</hardware>
</preferences>    

确保将上面的 .vhd 引用更改为您的实际位置。 VHD 文件。

上述代码来自 Parallels 团队成员在 Parallels 论坛上的推荐。

Parallels is designed to import virtual machines rather than virtual hard disks. A VHD is just the hard disk, and doesn't specify anything about the machine.

So the answer is that you need to create a simple virtual machine that uses the VHD; Parallels can then import that (for Parallels 7 see ftt's answer below). To do that, create a simple UTF-8 text file with an extension .vmc containing the following:

<?xml version="1.0" encoding="UTF-8"?>
<preferences>
<version type="string">2.0</version>
<hardware>
<pci_bus>
<ide_adapter>
<ide_controller id="0">
<location id="0">
<drive_type type="integer">1</drive_type>
<pathname>
<absolute type="string">/Users/Shared/VirtualPC/BaseDrive.vhd</absolute>
<relative type="string">BaseDrive.vhd</relative>
</pathname>
</location>
</ide_controller>
</ide_adapter>
</pci_bus>
</hardware>
</preferences>    

Make sure you change the .vhd references above to the actual location of your VHD file.

The above code is from a recommendation by a Parallels team member on Parallels forum.

爱殇璃 2024-10-07 04:54:00

对于 Parallels 7,请尝试以下操作:

$ /Library/Parallels/Parallels\ Service.app/Contents/PlugIns/Parallels\ VM\ Converter.app/Contents/MacOS/prl_convert your_disk_image.vhd

找到 在这里。最初的帖子是关于 Parallels 6 的,所以它也应该适用于 Parallels 6。

For Parallels 7, try this:

$ /Library/Parallels/Parallels\ Service.app/Contents/PlugIns/Parallels\ VM\ Converter.app/Contents/MacOS/prl_convert your_disk_image.vhd

Found here. The original post was about Parallels 6, so it should work there, too.

硪扪都還晓 2024-10-07 04:54:00

您需要将 HDD 转换为 ISO - 如果您有备用的 Win 机器来运行转换过程,则可以轻松完成此操作。您将需要名为 GImageX 的软件。

观看此视频,您也可以如果您愿意,请阅读此内容

祝你好运,请发布你的结果。

You need to convert the HDD into an ISO - this can easily be done if you have a spare Win machine to run the conversion process. You will need software named GImageX.

Check out this video and also you can read this if you like.

Good Luck, and please post your results.

昔日梦未散 2024-10-07 04:54:00

这对我有用:

使用 Microsoft VHD 和 Parallels 6 在 Mac 上测试 Internet Explorer

从以下位置下载所需的 Win/IE 组合: http://www.microsoft.com/en-us/download/details.aspx?id=11575

要在 Mac 上提取 *.exe 文件,请使用 http://www.unrarx.com/

cd Download

/Library/Parallels//Parallels\ Service.app/Contents/PlugIns/Parallels \ VM\ Converter.app/Contents/MacOS/prl_convert "Windows 7.vhd"

运行 Parallels。使用密码登录:Password1

http://www.ericmichaelstone.com/?p=5962

This works for me:

Testing Internet Explorer on Mac with Microsoft VHD and Parallels 6

Download desired Win/IE combo from: http://www.microsoft.com/en-us/download/details.aspx?id=11575

For extracting *.exe files on Mac use http://www.unrarx.com/

cd Download

/Library/Parallels//Parallels\ Service.app/Contents/PlugIns/Parallels\ VM\ Converter.app/Contents/MacOS/prl_convert "Windows 7.vhd"

Run Parallels. Login with password: Password1

http://www.ericmichaelstone.com/?p=5962

不离久伴 2024-10-07 04:54:00

查看 http://www.modern.ie/en-us/virtualization-tools #下载。有特定于并行的下载以及许多其他格式。

Check out http://www.modern.ie/en-us/virtualization-tools#downloads. There are parallels-specific downloads, along with many other formats.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文