Vmware虛擬機進入BIOS方法

在VMware裏面如何進入BIOS是個頭疼的問題,由於啓動界面一閃而過(下面兩個圖若是不設置bios.bootDelay,基本上很難抓到),即便你狂按F2或ESC鍵(ESC: 調整啓動順序;F2: 進入BIOS Setup) ,絕大部分都沒法進入BIOS。由於VMware啓動界面顯示時間過短、系統沒法識別按鍵而直接開啓了系統。 html

clip_image001

clip_image002

研究了一下,發現VMware的配置文件.vmx能夠控制這個過程, 網上提示有兩種參數能夠設置來解決這個問題: ios

    1. 加入一行:bios.forceSetupOnce = "TRUE" ;開機就自動進入BIOS! 服務器

       不過VMware啓動後,會將該參數由TRUE變爲FALSE,若是您還要繼續使用BIOS,就再手動改爲TRUE便可; app

    2. 延長啓動畫面時間:bios.bootDelay = "10000";10000爲10秒。 ide

特地在Vmware上測試了一下,以下所示,找到服務器GETTESTLX的Vmware的配置文件,具體內容以下所示,在配置文件末尾配置上面兩個參數都能順利進入BIOS。 svg

clip_image003

.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"
 

參考資料: 測試

http://www.xiazaiba.com/jiaocheng/881.html 動畫

相關文章
相關標籤/搜索