固态硬盘Vmware上安装Win7虚拟机

我的笔记本是固态硬盘,要安装个win7操作系统做一些测试,刚开始怎么将光驱加载下载的ISO文件,启动时总是失败。

大概是下面这样的显示。

vsphere client 安装centos 光驱启动 vsphere安装win7_盘符


我尝试过修改启动时从CDROM加载,还是从UEFI启动都不行。

后来终于发现原因:

固态硬盘,需要从UFEI启动,并且在创建分区时要创建ESP和MSR分区,详细参考下文

以下是记录具体的可行性方案的步骤。

解决办法

(1)使用PE盘引导加载
(2)在PE盘中格式化分配的硬盘,并创建esp和msr分区。
(3)将光驱盘中的PE盘更换为下载的WIN7的ISO盘。
(4)在PE系统中,看到加载的win7盘后,使用PE的安装工具从硬盘安装。
(5)重启PE系统,这时候可以看到win7系统已经在安装好进入配置界面了。

准备软件

(1)PE盘的ISO文件,如果没有PE盘的ISO文件,也可以使用U盘PE盘,使用USB接口启动加载。
(2)各大网站上(比如系统之家)上下载的win7操作系统,可以是原生的,也可以是ghost镜像版本的,都可以的。

新建虚拟机

vsphere client 安装centos 光驱启动 vsphere安装win7_加载_02

vsphere client 安装centos 光驱启动 vsphere安装win7_加载_03

vsphere client 安装centos 光驱启动 vsphere安装win7_linux_04

vsphere client 安装centos 光驱启动 vsphere安装win7_盘符_05

这里一定要选择 UEFI

vsphere client 安装centos 光驱启动 vsphere安装win7_运维_06


vsphere client 安装centos 光驱启动 vsphere安装win7_服务器_07


vsphere client 安装centos 光驱启动 vsphere安装win7_盘符_08


vsphere client 安装centos 光驱启动 vsphere安装win7_盘符_09


vsphere client 安装centos 光驱启动 vsphere安装win7_linux_10


vsphere client 安装centos 光驱启动 vsphere安装win7_运维_11


vsphere client 安装centos 光驱启动 vsphere安装win7_linux_12

这里给60G,待会一定要分2个盘,我是一个盘40G用来装系统,一个盘20G放文件
主要是ghost系统需要将部分备份文件拷贝到第二个盘中。

vsphere client 安装centos 光驱启动 vsphere安装win7_服务器_13


vsphere client 安装centos 光驱启动 vsphere安装win7_服务器_14


vsphere client 安装centos 光驱启动 vsphere安装win7_加载_15

设置光驱,选择准备好的PE的ISO文件。

vsphere client 安装centos 光驱启动 vsphere安装win7_linux_16

启动虚拟机

vsphere client 安装centos 光驱启动 vsphere安装win7_加载_17


我这里直接可以加载了,如果没有加载,在虚拟机关机状态下,选择[打开电源时进入固件]。

vsphere client 安装centos 光驱启动 vsphere安装win7_加载_18

这时候启动进入BootMananger界面,用光标上下翻,选择第二个CDROM驱动,按回车。

vsphere client 安装centos 光驱启动 vsphere安装win7_运维_19


vsphere client 安装centos 光驱启动 vsphere安装win7_加载_20

vsphere client 安装centos 光驱启动 vsphere安装win7_盘符_21

然后就可以看到Window BootManager加载PE系统的菜单了,回车进入:

vsphere client 安装centos 光驱启动 vsphere安装win7_盘符_22

vsphere client 安装centos 光驱启动 vsphere安装win7_盘符_23

这时候进入非常重要的一个步骤,打开分区工具DiskGenius:

vsphere client 安装centos 光驱启动 vsphere安装win7_盘符_24


选择硬盘,点击上面的 快速分区

vsphere client 安装centos 光驱启动 vsphere安装win7_linux_25

再强调一次,分区表类型选择GUID,选择GUID后,默认下面的2个勾是勾选上的,一定不能去掉
右边的每个盘分区大小自己填,使用默认的NTFS格式即可,但是最少保留2个盘

vsphere client 安装centos 光驱启动 vsphere安装win7_运维_26


确定好后,会自动创建如上面的分区。

再次点开光驱,选择准备好的win7系统盘。

vsphere client 安装centos 光驱启动 vsphere安装win7_运维_27

vsphere client 安装centos 光驱启动 vsphere安装win7_服务器_28


vsphere client 安装centos 光驱启动 vsphere安装win7_盘符_29

确定后,就可以看到WIN7系统盘加载到C盘目录了,此时的盘符是乱序的,不用管。
待会会将系统安装到盘符D中。

双击打开光驱盘。

vsphere client 安装centos 光驱启动 vsphere安装win7_加载_30


双击硬盘安装。

vsphere client 安装centos 光驱启动 vsphere安装win7_盘符_31


系统安装盘符默认就是D,因为这里又数据备份,而且是必选项,备份目录是E盘。这也是之前为什么强调要创建2个分区盘的原因,否则这里过不了。

vsphere client 安装centos 光驱启动 vsphere安装win7_加载_32


点击立即重装,再点击确定。

vsphere client 安装centos 光驱启动 vsphere安装win7_linux_33

这时候开始拷贝系统文件。

vsphere client 安装centos 光驱启动 vsphere安装win7_服务器_34


点击确定,开始安装。

vsphere client 安装centos 光驱启动 vsphere安装win7_linux_35

等待中。。。。。。。。。。。。。。。。。。。。。。。。。

安装好后,开始自动重启

vsphere client 安装centos 光驱启动 vsphere安装win7_服务器_36


vsphere client 安装centos 光驱启动 vsphere安装win7_linux_37

这时候,需要禁用光盘,或者将光盘修改为PE启动盘。否则会出现无限循环重启的情况。

vsphere client 安装centos 光驱启动 vsphere安装win7_linux_38

vsphere client 安装centos 光驱启动 vsphere安装win7_加载_39

vsphere client 安装centos 光驱启动 vsphere安装win7_服务器_40

这时候可以进入系统了,这时候我很想不点那个360,但是他是自动安装的,等会就卸载掉。

vsphere client 安装centos 光驱启动 vsphere安装win7_linux_41


执行最后的优化。

vsphere client 安装centos 光驱启动 vsphere安装win7_盘符_42


vsphere client 安装centos 光驱启动 vsphere安装win7_linux_43


我们看安装好的系统盘时,他的盘符已经自动调整为C盘和D盘了。

最后,使用360软件管家把所有的预装软件都卸载掉,包括360,整个世界都清静了。

vsphere client 安装centos 光驱启动 vsphere安装win7_加载_44

大功告成。