今天打算在 CentOS下装一个 windows7
以下是步骤
1.准备 windows 7安装介质
2. 在centos里安装virtualbox
3.新加虚拟机
vboxmanage createvm --name "w7" --ostype Windows7 --register#新增存储文件VBoxManage createhd --filename w7 --size 20000#设置系统存储控制器VBoxManage storagectl "w7" --name "IDE Controller" --add ide --controller PIIX4VBoxManage storageattach "w7" --storagectl "IDE Controller" --port 0 --device 0 --type hdd --medium "w7.vdi"
4.修改虚拟机配置
#修改内存vboxmanage modifyvm w7 --memory 1024 --acpi class="shell">vboxmanage storageattach "w7" --storagectl "IDE Controller" --port 0 --device 1 --type dvddrive --medium /path/to/windows7.iso
6. 启动系统
vboxmanage startvm w7 --type headless
7. 打开远程桌面工具连接到虚拟机所在主机
以下是步骤
1.准备 windows 7安装介质
2. 在centos里安装virtualbox
3.新加虚拟机
vboxmanage createvm --name "w7" --ostype Windows7 --register#新增存储文件VBoxManage createhd --filename w7 --size 20000#设置系统存储控制器VBoxManage storagectl "w7" --name "IDE Controller" --add ide --controller PIIX4VBoxManage storageattach "w7" --storagectl "IDE Controller" --port 0 --device 0 --type hdd --medium "w7.vdi"
4.修改虚拟机配置
#修改内存vboxmanage modifyvm w7 --memory 1024 --acpi class="shell">vboxmanage storageattach "w7" --storagectl "IDE Controller" --port 0 --device 1 --type dvddrive --medium /path/to/windows7.iso
6. 启动系统
vboxmanage startvm w7 --type headless
7. 打开远程桌面工具连接到虚拟机所在主机
本文提供了一套完整的指南,在CentOS操作系统中安装并配置Windows 7虚拟机的方法,包括准备安装介质、安装VirtualBox、创建虚拟机、设置配置和启动系统等关键步骤。

被折叠的 条评论
为什么被折叠?



