下载Virtualbox,并安装

选择安装系统,win7_64bit

注意修改 bios 之后要关闭电源一下!重启有时候还是不行


This virtual machine is configured for 64-bit guest operating systems. However, 64-bit operation is not possible.

This host supports Intel VT-x, but Intel VT-x is disabled.

Intel VT-x might be disabled if it has been disabled in the BIOS/firmware settings or the host has not been power-cycled since changing this setting.

(1) Verify that the BIOS/firmware settings enable Intel VT-x and disable 'trusted execution.'

(2) Power-cycle the host if either of these BIOS/firmware settings have been changed.

(3) Power-cycle the host if you have not done so since installing VMware Workstation.

(4) Update the host's BIOS/firmware to the latest version.

For more detailed information, see http://vmware.com/info?id=152.

Setting中System中boot order

Optical光驱的位置应该放在第一位,这样才能从iso中进行windows装机!

boot order

安装扩展

Virtualbox Extension

File>Preferences>Extensions>add

先下载好,再直接安装

Virtualbox Guest Extension

Devices>Install Guest Additions

device

设置共享文件夹

share1

share2

添加USB2.0支持

  1. 安装扩展Extension,前文已说过
  1. 添加ubuntu的host用户到vbox用户组中

安装完扩展之后就可以在vbox系统配置中添加usb扩展支持

添加当前用户到vbox的用户组(vboxusers)

这个用户组是vbox自己生成的,但是没有添加用户


#查看当前用户名

$ whoami

mars

#查看vbox用户组,偶尔显示没有,多试试

$ cat /etc/group | grep vbox

vboxusers❌125:

#添加当前用户到vbox用户组

# sudo usermod -a -G vboxusers mars XXXXXXX 害的我的mars从root用户组删除了!

gpasswd -a mars vboxusers #这样说不定可行

# 重启电脑

$ reboot

进入vbox win7

Devices>USB>选择你的USB设备就可以查看了