15468 发表于 2015-4-14 09:43:54

install win7 on linux via virtualbox

  NOTE:如果你不能全屏看到win7,你需要执行“Install Guest Additions” in Devices of virtual menu(after guest started)

  

  

  在VirtualBox下安装并体验Windows 7
VirtualBox是Sun公司一款非常优秀的桌面虚拟化工具, 简单易用,深受很多用户的喜爱。与VMware相比,VirtualBox在一些方面虽然存在不足,但还是有许多VMware不及的优点。第一,免费使 用,它属于对开源生态系统贡献最大的Sun公司,可以免费下载和使用;第二,跨平台,VirtualBox不仅仅支持Windows操作系统,还支持 Solaris、Linux、Mac等其他一些主流的操作系统,有许多用户使用很大一部分原因也在于此;第三,小巧、简单、易用。如果仅仅是个人想使用虚 拟机来学习、工作或做一些中小型的开发工作,VirtualBox完全可以胜任这些工作,是一种非常好的选择。

VirtualBox目前有两个版本,包括标准版和OSE版。如果仅仅是个人使用和评估,那么标准版是免费的,但是不带源代码。 VirtualBox OSE(Open Source Edition)是免费、开源的,并且包括一些企业级的特性,比如对RDP(远程显示协议)服务器和USB的支持。在这两个版本上都能跑Windows 7。

    一般来说,你需要至少1G的内存来跑VirtualBox和虚拟机,内存大当然更好。安装后你会发现Windows7确实能在512M的内存下跑,而Vista却需要至少1G的内存。

    VirtualBox能够跑在任何最新的CPU上,并且在支持硬件虚拟化技术的高端处理器(比如Intel的VT-x和AMD-V技术)上有很高的性能。

Windows 7是目前呼声非常高的一款操作系统,在其beta版发布之后也得到了各界用户的好评,下面将以如何在VirtualBox下安装Window 7 beta来介绍一下VirtualBox的使用过程。

1.下载并安装VirtualBox

第一步,去http://www.virtualbox.org下 载一个VirtualBox。如果想成功使用Windows 7,你需要安装VirtualBox 2.1.0以上的版本,目前最新的版本是2.1.4。如果你使用的是OpenSolaris或Linux,你可以使用软件管理程序来安 装,VirtualBox目前支持OpenSolaris、Windows、openSUSE、Fedora、Ubuntu等绝大多数的操作系统。

2. 建一个虚拟机
第二步就是建一个用来安装windows7的虚拟机。通过单击新建按钮完成这个操作,然后会询问你想为这个虚拟机分配多大的硬盘。在缺省情况下是分配一个 20GB的虚拟硬盘。但是对于windows7,你可以为它多分配一些硬盘。当然你同样可以让VirtualBox为一个操作系统动态地分配硬盘空间。
接下来就是为winows 7分配内存和显存。最好给Windows 7分配1GB的内存和128MB的显存这样的话系统的性能可能会更好。
VirtualBox也能通过它的接口为你实现3D图像加速、对光驱的访问、USB驱动等。当然,这些操作你也可以在安装完Window 7后再进行。

3. 安装Windows 7

你可以使用DVD或者ISO镜像文件来安装Windows 7,VirtualBox可以通过网络和本地光驱两种方式来载入ISO文件。

在Linux和Windows系统上,Windows 7的安装过程都是自动的。它大概要花半个小时,唯一要做的事就是设置合适的时区和输入Windows 7 beta的序列号。

win7_vb

在VirtualBox里还可以安装一些增强工具,可以让你直接将鼠标在虚拟机和宿主操作系统的桌面来回移动,而不需要按右边的Ctrl键,并且能让你的 虚拟机即使在宽屏下也能适应全屏。要安装这些附加工具,你只需要在启动虚拟机后在主菜单里选择Device,然后点击Install Guest Additions就可以了。

   在安装并体验Windows7后,你会发现Windows 7和VirtualBox是一个完美的结合。你可能不会发现自己的Windows 7是安装在VirtualBox的虚拟机上,除非你正在玩一个需要高端配置的游戏。都来体验一下吧。
  
  
  
How To Install Windows 7 On VirtualBox
In case, if you are not ready use it as primary OS for some reasons, you can still use this beautiful operating system with your present operating system (XP or Vista) using virtual applications like Microsoft Virtual PC 2007, Virtual Box, and VM Ware. Into Windows has already showed how to install Windows 7 on Microsoft Virtual PC (VPC) 2007.
In this guide, we will show you how to install Windows 7 on your XP or Vista using Virtual Box.
How to install Windows 7 on VirtualBox:
1. First, you need to download Virtual Box (it’s free) and also Windows 7 RC (download Windows 7 RC).
2. Just follow the onscreen instructions to install Virtual Box (it’s very simple).
3. Run the Virtual Box program to see the Virtual Box Registration dialog. Here you can enter your name and e-mail if you wish. If you don’t like to provide your name and e-mail, just click Cancel button.

4. In Sun VirtualBox window, click on New button to launch the New Virtualization Machine Wizard.
5. Click Next and enter a name for the new virtual machine, select the type of the operating system as Microsoft Windows, and select the version as Windows 7. Click Next to proceed further.

6. Here you need to allocate the memory to the new (Windows 7) virtual machine. Depending on the amount of RAM installed on your system, you need to select the memory size. Since Microsoft recommends minimum of 1GB RAM for Windows 7, enter 1024 MB in the right-side box. Again, click Next.

7. On the following screen, you need to create a new hard disk by selecting Create new hard disk option. Clicking on Next button will open Create New Virtual Disk Wizard. Click Next. Select Dynamically expanding storage as this storage initially occupies a very small amount of space on your physical hard disk. It will grow dynamically (up to the size specified) as the Guest OS claims disk space.

Alternatively, you can also select Fixed-size storage. As the name indicates, fixed size storage doesn’t grow. Once again, click Next button.
8. Select the size of the virtual hard disk. By default 20 GB is allocated. Since Microsoft recommends 16 GB of free disk space for 32-bit & 20 GB for 64-bit Windows 7, let’s use the default 20 GB as the virtual disk size. However, you can change it if you don’t have enough free space. But make sure that you have allocated 16+ GB. Click Next and then Finish to finish virtual disk setup.

9. To begin the next step, make sure that you have downloaded Windows 7 RC ISO.
10. Select Windows 7 RC in the left pane, & click Settings to start configuring Windows 7 settings like RAM and disk space further.

11. Click Start button to begin Windows 7 RC installation on Virtual Box. You will see a message about the host key. Just read it carefully and click ok to see the First Run Wizard.

12. Select the media you would like to use for installation purpose. Select Image file option as media source as you are using Windows 7 ISO file to install. If you have Windows 7 DVD, select Host Drive letter as your DVD drive. Click Next and then finish to begin the installation procedure.

13. Windows 7 installation process will start in a few seconds. Just follow the onscreen instruction to finish the installation procedure.

14. You have now installed Windows 7 on VirtualBox. Have fun with Windows 7!
页: [1]
查看完整版本: install win7 on linux via virtualbox