Want to take the next generation of Windows for a free test drive? Of course you do; it’s still got that new car smell. Read on to see how you can combine the Windows 8 developer release with VirtualBox for free next-gen OS exploration.
是否想将下一代Windows免费试用? 当然可以仍然有新车的气味。 继续阅读以了解如何将Windows 8开发人员版本与VirtualBox结合使用以进行免费的下一代OS探索。
你需要什么 (What You’ll Need)
You only need a few things for this tutorial and all of them—the price of good hardware aside!—are free and readily available. Before we get started you’ll need to do:
您只需要本教程的几件事,并且所有这些都是免费的,并且随时可用,所有这些东西-除了优质硬件的价格! 在我们开始之前,您需要执行以下操作:
-
Download and install and/or update VirtualBox.
下载并安装和/或更新VirtualBox 。
-
Download a copy of the Windows 8 Developer Preview.
On the hardware side of things you’ll need a computer with a processor that supports Virtualization Technology (common on modern processors, you can check the documentation for your processor or use this Microsoft tool to check), a decent amount of memory and some spare hard drive space (we’ll be devoting 2GB of RAM and 20GB of HDD space to the our Windows 8 virtual machine). You could attempt it with lower specs, but we’d recommend against it.
在硬件方面,您需要一台带有支持虚拟化技术的处理器的计算机(在现代处理器中很常见,您可以查看处理器的文档或使用此Microsoft工具进行检查),大量的内存和一些备用硬盘空间(我们将为Windows 8虚拟机分配2GB的RAM和20GB的HDD空间)。 您可以尝试使用较低规格的产品,但建议您不要使用它。
We’ll also be using the 32-bit (x86) English Developer Preview. Once you’ve installed VirtualBox (or updated your current install) and you’ve downloaded the .ISO file, it’s time to proceed.
我们还将使用32位(x86)English Developer Preview。 一旦安装了VirtualBox(或更新了当前安装)并下载了.ISO文件,就可以继续了。
为Windows 8创建和配置新的VirtualBox虚拟机 (Creating and Configuring a New VirtualBox Virtual Machine for Windows 8)
VirtualBox makes virtual machine creation easy; just make sure to follow along so you don’t miss a step. Fire up VirtualBox and navigate to Machine –> New. Click next on the new virtual machine notice window and then, as seen in the screenshot below, name your new virtual machine and select the OS type. We named ours Windows 8 Dev (to distinguish it from the future Windows 8 Beta and Final we’re bound to install) and set the OS type to Microsoft Windows / Windows 7.
VirtualBox使虚拟机的创建变得容易。 请确保一定要遵守,否则您不会错过任何一个步骤。 启动VirtualBox并导航到Machine-> New 。 在新的虚拟机通知窗口上单击“下一步”,然后如下面的屏幕快照所示,为新的虚拟机命名并选择操作系统类型。 我们将其命名为Windows 8 Dev(以区别于将来必须安装的Windows 8 Beta和Final),并将操作系统类型设置为Microsoft Windows / Windows 7。
In the next step you’ll select the system RAM you’ll allocate to the machine. We’d recommend allocating, at minimum, 2GB of RAM. You can squeeze by with only 1GB but unless your system specs absolutely constrain you to that size you should go bigger for better performance.
在下一步中,您将选择要分配给计算机的系统RAM。 我们建议至少分配2GB的RAM。 您只能压缩1GB,但除非您的系统规格完全将您限制为该大小,否则您应该将其增大以获得更好的性能。
Once you’ve selected the amount of memory you wish to allocate, you’ll be prompted to load or create a Virtual Hard Disk. The default settings are the ones we want (Boot Hard Disk and Create new hard disk selected).
选择了要分配的内存量后,系统将提示您加载或创建虚拟硬盘。 默认设置是我们想要的设置(选择“启动硬盘”和“创建新硬盘”)。
Click Next and the Virtual Disk Wizard will launch. The first step in the wizard is to select your disk storage type. Your options are dynamic or fixed storage. We’re going to go with Fixed-size storage for two reasons—one, this is a development build and we’re not sure if it will play nice with dynamic storage and two, the fixed size ensures it won’t balloon up if anything goes wrong.
单击下一步,虚拟磁盘向导将启动。 向导的第一步是选择磁盘存储类型。 您的选择是动态或固定存储。 我们将使用固定大小的存储有两个原因-一个是开发构建,我们不确定它是否可以与动态存储配合使用;另外两个,固定大小可确保在以下情况下不会膨胀一切都出错了。
The Microsoft spec sheet for the Windows 8 Development Release indicates you need at least 16 GB of hard drive space. That’s a tad on the small side and we hate running low on space. Since we’re using a 500GB drive in our machine exclusively for virtual machines and software testing, we can easily allocate 30GB to play it safe. We’d recommend you set the size to 20GB at minimum.
Windows 8开发版本的Microsoft规格表指示您至少需要16 GB的硬盘空间。 这是一个小问题,我们讨厌空间不足。 由于我们在计算机中专用于虚拟机和软件测试,所以使用的是500GB驱动器,因此我们可以轻松分配30GB的磁盘以安全运行。 我们建议您将大小最小设置为20GB。
After you pick the drive size, double check the summary before clicking Finish. Sit back and relax while your new Virtual Hard Drive is generated—now might be a good time for a cup of coffee.
选择驱动器大小后,在单击“完成”之前,请仔细检查摘要。 坐下来放松一下,然后生成新的虚拟硬盘-现在可能是喝咖啡的好时机。
When your new Virtual Hard Drive is complete, click Finish to return to the main VirtualBox interface. Now it’s time to move onto the next step, installing Windows 8 Developer Preview onto our freshly minted Virtual Hard Disk.
新的虚拟硬盘驱动器完成后,单击“完成”以返回到VirtualBox主界面。 现在是时候进行下一步了,将Windows 8 Developer Preview安装到我们新创建的虚拟硬盘上。
Installing Windows 8 Developer Preview
安装Windows 8 Developer Preview
Back in the main VirtualBox window you should see the entry you created, such as Windows 8 Dev—ignore the multitude of other installations in our screenshot, we’re huge Virtualization fans.
回到VirtualBox主窗口中,您应该看到创建的条目,例如Windows 8 Dev,而忽略了屏幕截图中的许多其他安装,我们是虚拟化的忠实拥护者。
Highlight your new Windows 8 machine and click the Settings icon (or press CTRL+S). Let’s work down the sidebar menu.
突出显示新的Windows 8计算机,然后单击“设置”图标(或按CTRL + S)。 让我们研究侧边栏菜单。
First stop in the System menu. Start with the Motherboard sub-menu and check Enable IO APIC to improve performance for your virtual machine. In the Processor sub-menu check Enable PAE/NX (again, to boost performance). Finally under the Acceleration sub-menu make sure both of the hardware virtualization boxes are checked—VT-x/AMD-V and Nested Paging, respectively.
首先在系统菜单中停止。 从“主板”子菜单开始,然后选中“启用IO APIC”以提高虚拟机的性能。 在“处理器”子菜单中,选中“启用PAE / NX” (同样可以提高性能)。 最后,在“加速”子菜单下,确保同时选中了两个硬件虚拟化框-分别为VT-x / AMD-V和Nested Paging 。
Now it’s time to attach our boot disk to the virtual machine so we can install Windows 8. While still in the greater Settings menu navigate to the Storage options via the sidebar. Inside the storage menu, click on the IDE Controller\Empty entry in the Storage Tree. In the pane next to the storage tree labeled Attributes, click on the CD icon next to the CD/DVD Drive entry.
现在是时候将启动磁盘连接到虚拟机了,这样我们就可以安装Windows 8了。仍然在“设置”菜单中,通过侧栏导航到“存储”选项。 在存储菜单内,单击“存储树”中的IDE Controller \ Empty条目。 在标签为“属性”的存储树旁边的窗格中,单击CD / DVD Drive条目旁边的CD图标。
A context menu will pop up. The first option on that context menu is Choose a virtual CD/DVD disk file. Select that option and, when the file select box opens, navigate to and select the Windows 8 .ISO file you downloaded at the beginning of this tutorial. You should now see, instead of Empty under the IDE Controller, the name of the Windows 8 .ISO file you selected.
将会弹出一个上下文菜单。 该上下文菜单上的第一个选项是“选择虚拟CD / DVD磁盘文件” 。 选择该选项,然后在打开文件选择框时,导航到并选择在本教程开始时下载的Windows 8 .ISO文件。 现在,您应该看到的是您选择的Windows 8 .ISO文件的名称,而不是IDE控制器下的Empty。
There are no more tweaks necessary in the Settings menu. Click OK in the lower right corner to return to the main VirtualBox interface.
“设置”菜单中没有其他必要的调整。 单击右下角的“确定”以返回到VirtualBox主界面。
安装Windows 8 (Installing Windows 8)
Back in main VirtualBox interface, click on the Windows 8 virtual machine. Quickly double check that the Windows 8 .ISO is listed under the storage options—as it is in the screenshot above—then click Start in the right-click context menu or double click the entry to launch the machine.
返回VirtualBox主界面,单击Windows 8虚拟机。 快速仔细检查Windows 8 .ISO是否已在存储选项下列出(如上面的屏幕快照所示),然后在右键单击上下文菜单中单击“启动” ,或双击该条目以启动计算机。
If everything goes right, you’ll see a sequence of boot screens, and then this blue installation screen:
如果一切正常,您将看到一系列的启动屏幕,然后是蓝色的安装屏幕:
Select the appropriate language, time, and input settings, and then click next. On the following screen click Install Now. The whole installation, now that the VirtualBox configuration is out of the way, is very straight forward. Accept the developer’s license, select Custom installation (instead of upgrade), the HDD you want to install to (the only one available, the disk you created) and you’re on your way:
选择适当的语言,时间和输入设置,然后单击下一步。 在以下屏幕上,单击立即安装。 现在,VirtualBox配置已成问题,整个安装非常简单。 接受开发人员的许可,选择“自定义安装(而不是升级)”,要安装到的HDD(唯一可用的HDD,创建的磁盘),然后就可以使用:
When it finishes and reboots you’ll have a few last customizations to make (such as picking a computer name, login, and choosing to link your fresh Windows 8 install to a Windows Live account or use an off-line account. When you’re done, it’ll take a moment to finish preparing everything and then you’ll be greeted with the new Windows 8 Metro UI:
完成并重新启动后,您将需要进行一些最后的自定义设置(例如,选择计算机名称,登录名以及选择将新的Windows 8安装链接到Windows Live帐户或使用脱机帐户。)完成后,需要花一点时间来完成所有准备工作,然后您会得到新的Windows 8 Metro UI的欢迎:
Congratulations! You’re running Windows 8 Developer Preview in VirtualBox. Have fun playing around and, if you discover something new, interesting, or fun, sound off in the comments so your fellow readers can discover and play with it too.
恭喜你! 您正在VirtualBox中运行Windows 8 Developer Preview。 玩得开心,如果您发现新的,有趣的或有趣的东西,请在评论中取消提示,以便您的其他读者也可以发现并使用它。
翻译自: https://www.howtogeek.com/74515/how-to-test-drive-windows-8-in-virtualbox/