设置VMware启动进入BIOS以及对UEFI的支持
cnblogs 发布时间:2015-10-20 10:15:10 作者:潇湘隐者 我要评论
这篇文章主要介绍了设置VMware启动进入BIOS以及对UEFI的支持的方法,通过修改配置文件即可实现,需要的朋友可以参考下
Vmware虚拟机进入BIOS方法
在VMware里面如何进入BIOS是个头疼的问题,因为启动界面一闪而过(下面两个图如果不设置bios.bootDelay,基本上很难抓到),即使你狂按F2或ESC键(ESC: 调整启动顺序;F2: 进入BIOS Setup) ,绝大部分都无法进入BIOS。因为VMware启动界面显示时间太短、系统无法识别按键而直接开启了系统。
研究了一下,发现VMware的配置文件.vmx可以控制这个过程, 网上提示有两种参数可以设置来解决这个问题:
1. 加入一行:
不过VMware启动后,会将该参数由TRUE变为FALSE,如果您还要继续使用BIOS,就再手动改成TRUE即可;
2. 延长启动画面时间:
特意在Vmware上测试了一下,如下所示,找到服务器GETTESTLX的Vmware的配置文件,具体内容如下所示,在配置文件末尾配置上面两个参数都能顺利进入BIOS。
所以一般的配置文件范例大约是:
.encoding = "UTF-8"
config.version = "8"
virtualHW.version = "8"
nvram = "GETTESTLX.nvram"
pciBridge0.present = "TRUE"
svga.present = "TRUE"
pciBridge4.present = "TRUE"
pciBridge4.virtualDev = "pcieRootPort"
pciBridge4.functions = "8"
pciBridge5.present = "TRUE"
pciBridge5.virtualDev = "pcieRootPort"
pciBridge5.functions = "8"
pciBridge6.present = "TRUE"
pciBridge6.virtualDev = "pcieRootPort"
pciBridge6.functions = "8"
pciBridge7.present = "TRUE"
pciBridge7.virtualDev = "pcieRootPort"
pciBridge7.functions = "8"
vmci0.present = "TRUE"
hpet0.present = "TRUE"
displayName = "GETTESTLX"
extendedConfigFile = "GETTESTLX.vmxf"
virtualHW.productCompatibility = "hosted"
memSize = "1024"
scsi0.virtualDev = "lsilogic"
scsi0.present = "TRUE"
ide1:0.deviceType = "cdrom-image"
ide1:0.fileName = "/vmfs/volumes/4f38d1b9-9720c09c-38a5-782bcb6ee1e6/ISO/OracleLinux-R5-U7-Server-x86_64-dvd.iso"
ide1:0.present = "TRUE"
floppy0.startConnected = "FALSE"
floppy0.clientDevice = "TRUE"
floppy0.fileName = "vmware-null-remote-floppy"
ethernet0.virtualDev = "e1000"
ethernet0.networkName = "IP27"
ethernet0.addressType = "vpx"
ethernet0.generatedAddress = "00:50:56:b3:c0:f7"
ethernet0.present = "TRUE"
scsi0:0.deviceType = "scsi-hardDisk"
scsi0:0.fileName = "GETTESTLX.vmdk"
scsi0:0.present = "TRUE"
guestOS = "rhel5-64"
toolScripts.afterPowerOn = "TRUE"
toolScripts.afterResume = "TRUE"
toolScripts.beforeSuspend = "TRUE"
toolScripts.beforePowerOff = "TRUE"
uuid.bios = "42 33 d1 9c 71 9c 24 d8-82 e0 84 22 ae f7 e5 9a"
vc.uuid = "50 33 09 82 fa 29 14 fc-e0 4c 34 78 f6 56 a7 a2"
sched.scsi0:0.throughputCap = "off"
sched.swap.derivedName = "/vmfs/volumes/54e2da83-530edd90-a073-842b2b58e01d/GETTESTLX/GETTESTLX-a452f717.vswp"
uuid.location = "56 4d f0 82 ff e1 99 25-75 92 bc 2c 02 0a 59 af"
replay.supported = "FALSE"
replay.filename = ""
scsi0:0.redo = ""
pciBridge0.pciSlotNumber = "17"
pciBridge4.pciSlotNumber = "21"
pciBridge5.pciSlotNumber = "22"
pciBridge6.pciSlotNumber = "23"
pciBridge7.pciSlotNumber = "24"
scsi0.pciSlotNumber = "16"
ethernet0.pciSlotNumber = "32"
vmci0.pciSlotNumber = "33"
vmci0.id = "-1359485542"
hostCPUID.0 = "0000000b756e65476c65746e49656e69"
hostCPUID.1 = "000206c220200800029ee3ffbfebfbff"
hostCPUID.80000001 = "0000000000000000000000012c100800"
guestCPUID.0 = "0000000b756e65476c65746e49656e69"
guestCPUID.1 = "000206c200010800829822030fabfbff"
guestCPUID.80000001 = "00000000000000000000000128100800"
userCPUID.0 = "0000000b756e65476c65746e49656e69"
userCPUID.1 = "000206c220200800029822030fabfbff"
userCPUID.80000001 = "00000000000000000000000128100800"
evcCompatibilityMode = "FALSE"
vmotion.checkpointFBSize = "4194304"
cleanShutdown = "TRUE"
softPowerOff = "FALSE"
sched.scsi0:0.shares = "normal"
ide1:0.allowGuestConnectionControl = "TRUE"
tools.remindInstall = "TRUE"
让VMware虚拟机支持UEFI BIOS
第一步、新建虚拟机,在虚拟机工作目录下找到.vmx格式文件,使用记事本程序,打开该文件,在文件中添加:firmware = "efi"
第二步、开启虚拟机电源后,按下ESC键,稍等一会儿,会进入UEFI设置界面,包括三个选项:
(1)、Continue:继续,系统会自动选择UEFI设备,如果没有的话,会出现提示错误界面
(2)、Boot Manager:启动管理,用于指定UEFI启动设备
(3)、Boot Maintenance Manager:开机维护管理员,用于管理启动设备、启动文件、屏幕大小等
在VMware里面如何进入BIOS是个头疼的问题,因为启动界面一闪而过(下面两个图如果不设置bios.bootDelay,基本上很难抓到),即使你狂按F2或ESC键(ESC: 调整启动顺序;F2: 进入BIOS Setup) ,绝大部分都无法进入BIOS。因为VMware启动界面显示时间太短、系统无法识别按键而直接开启了系统。
研究了一下,发现VMware的配置文件.vmx可以控制这个过程, 网上提示有两种参数可以设置来解决这个问题:
1. 加入一行:
复制代码
代码如下:bios.forceSetupOnce = "TRUE" ;
开机就自动进入BIOS! 不过VMware启动后,会将该参数由TRUE变为FALSE,如果您还要继续使用BIOS,就再手动改成TRUE即可;
2. 延长启动画面时间:
复制代码
代码如下:bios.bootDelay = "10000";
10000为10秒。 特意在Vmware上测试了一下,如下所示,找到服务器GETTESTLX的Vmware的配置文件,具体内容如下所示,在配置文件末尾配置上面两个参数都能顺利进入BIOS。
所以一般的配置文件范例大约是:
复制代码
代码如下:.encoding = "UTF-8"
config.version = "8"
virtualHW.version = "8"
nvram = "GETTESTLX.nvram"
pciBridge0.present = "TRUE"
svga.present = "TRUE"
pciBridge4.present = "TRUE"
pciBridge4.virtualDev = "pcieRootPort"
pciBridge4.functions = "8"
pciBridge5.present = "TRUE"
pciBridge5.virtualDev = "pcieRootPort"
pciBridge5.functions = "8"
pciBridge6.present = "TRUE"
pciBridge6.virtualDev = "pcieRootPort"
pciBridge6.functions = "8"
pciBridge7.present = "TRUE"
pciBridge7.virtualDev = "pcieRootPort"
pciBridge7.functions = "8"
vmci0.present = "TRUE"
hpet0.present = "TRUE"
displayName = "GETTESTLX"
extendedConfigFile = "GETTESTLX.vmxf"
virtualHW.productCompatibility = "hosted"
memSize = "1024"
scsi0.virtualDev = "lsilogic"
scsi0.present = "TRUE"
ide1:0.deviceType = "cdrom-image"
ide1:0.fileName = "/vmfs/volumes/4f38d1b9-9720c09c-38a5-782bcb6ee1e6/ISO/OracleLinux-R5-U7-Server-x86_64-dvd.iso"
ide1:0.present = "TRUE"
floppy0.startConnected = "FALSE"
floppy0.clientDevice = "TRUE"
floppy0.fileName = "vmware-null-remote-floppy"
ethernet0.virtualDev = "e1000"
ethernet0.networkName = "IP27"
ethernet0.addressType = "vpx"
ethernet0.generatedAddress = "00:50:56:b3:c0:f7"
ethernet0.present = "TRUE"
scsi0:0.deviceType = "scsi-hardDisk"
scsi0:0.fileName = "GETTESTLX.vmdk"
scsi0:0.present = "TRUE"
guestOS = "rhel5-64"
toolScripts.afterPowerOn = "TRUE"
toolScripts.afterResume = "TRUE"
toolScripts.beforeSuspend = "TRUE"
toolScripts.beforePowerOff = "TRUE"
uuid.bios = "42 33 d1 9c 71 9c 24 d8-82 e0 84 22 ae f7 e5 9a"
vc.uuid = "50 33 09 82 fa 29 14 fc-e0 4c 34 78 f6 56 a7 a2"
sched.scsi0:0.throughputCap = "off"
sched.swap.derivedName = "/vmfs/volumes/54e2da83-530edd90-a073-842b2b58e01d/GETTESTLX/GETTESTLX-a452f717.vswp"
uuid.location = "56 4d f0 82 ff e1 99 25-75 92 bc 2c 02 0a 59 af"
replay.supported = "FALSE"
replay.filename = ""
scsi0:0.redo = ""
pciBridge0.pciSlotNumber = "17"
pciBridge4.pciSlotNumber = "21"
pciBridge5.pciSlotNumber = "22"
pciBridge6.pciSlotNumber = "23"
pciBridge7.pciSlotNumber = "24"
scsi0.pciSlotNumber = "16"
ethernet0.pciSlotNumber = "32"
vmci0.pciSlotNumber = "33"
vmci0.id = "-1359485542"
hostCPUID.0 = "0000000b756e65476c65746e49656e69"
hostCPUID.1 = "000206c220200800029ee3ffbfebfbff"
hostCPUID.80000001 = "0000000000000000000000012c100800"
guestCPUID.0 = "0000000b756e65476c65746e49656e69"
guestCPUID.1 = "000206c200010800829822030fabfbff"
guestCPUID.80000001 = "00000000000000000000000128100800"
userCPUID.0 = "0000000b756e65476c65746e49656e69"
userCPUID.1 = "000206c220200800029822030fabfbff"
userCPUID.80000001 = "00000000000000000000000128100800"
evcCompatibilityMode = "FALSE"
vmotion.checkpointFBSize = "4194304"
cleanShutdown = "TRUE"
softPowerOff = "FALSE"
sched.scsi0:0.shares = "normal"
ide1:0.allowGuestConnectionControl = "TRUE"
tools.remindInstall = "TRUE"
让VMware虚拟机支持UEFI BIOS
第一步、新建虚拟机,在虚拟机工作目录下找到.vmx格式文件,使用记事本程序,打开该文件,在文件中添加:firmware = "efi"
第二步、开启虚拟机电源后,按下ESC键,稍等一会儿,会进入UEFI设置界面,包括三个选项:
(1)、Continue:继续,系统会自动选择UEFI设备,如果没有的话,会出现提示错误界面
(2)、Boot Manager:启动管理,用于指定UEFI启动设备
(3)、Boot Maintenance Manager:开机维护管理员,用于管理启动设备、启动文件、屏幕大小等
相关文章
Win8系统中UEFI/BIOS切换选择启动引导方式中英对照图文详解
多系统电脑选择启动引导方式,长远来看uefi是比较先进的,传统的bios目前共存,不论你是想在旧电脑中尝试UEFI启动(如果支持的话),还是想将预装的Win8/8.1系统换成其他操2016-05-17Win10系统BMR模式怎么无损转换为UEFI+GPT【图文教程】
有用户为了能够体验win10新系统,就在BMR分区的磁盘上手动安装了Win10正式版系统,之后又想要转换为UEFI+GPT模式。而Win10系统BMR模式怎么无损转换为UEFI+GPT?本文将提供W2015-10-13- 今天,微软将正式面向全球用户推送Windows 10。但对于很多用户来说,一个Windows安装盘还是非常有必要。下面小编就为大家带来制作支持UEFI PC的Win10安装U盘图文教程,来看2015-07-29
- 启动方式分为BIOS启动和UEFI启动,如果电脑加入了Win10 UEFI启动机制,那么有可能因此无法更新升级,这时如果不知道怎么办,可以看看本教程2015-07-02
- Windows启动方式可以分为UEFI和BIOS两种,许多用户并不知道自己的Win8系统是UEFI启动还是BIOS启动的,因此确定类型还是很重要的,下面为大家介绍几种方法2015-06-24
- win10传统启动怎么无损转换成uefi+mbr启动?这篇文章主要为大家介绍win10不需要转换gpt格式就能uefi启动的方法,需要的朋友可以参考下2015-04-02
- 这篇文章主要介绍了win7系统使用命令查看是否为UEFI快速启动模式的方法,本文用图文教程讲解了查看硬盘启动模式的方法,需要的朋友可以参考下2015-03-30
在安装win10预览版10041的时候提示uefi硬盘问题导致不能安装解决教程
很多用户在安装win10预览版10041的时候都出现了不能安装的提示,这该怎么办呢?下面就和小编一起去看下uefi硬盘问题导致不能安装的解决教程吧2015-03-22- Win10系统怎么进入UEFI界面?Windows系统采用的是全新UEFI,而不再是传统的BIOS。预装Win8以上的系统就能够进入UEFI界面,UEFI电脑比BIOS电脑拥有更快的启动速度。很多Win12015-03-19
- win10最新版怎么安装?本经验通过 UEFI 方式,使用 U 盘安装 Windows 10。支持 UEFI 启动的计算机,安装有正常运行的 Windows 7,硬盘上有50G以上的未使用空间(或空白分区2015-01-25
最新评论