How to increase the vmware boot screen delay

Increasing the boot delay in VMware is imperative if you wish to boot from the host computer’s CD-ROM or have access to the BIOS. I never understood why WMware made it so difficult to access the virtual machine’s BIOS or select a different boot device. In order to do any of these tasks, you have to start your virtual machine, click on its screen (or press ctrl-g) to change control from your computer to the virtual machine and then press F2 to access the BIOS, or ESC to select your boot device. By the time you grab your mouse to click on the screen, the opportunity to access the BIOS is long gone. In this tutorial I will teach you how to increase the insignificant delay given by VMware to something more logical.

Instructions

Go to the folder that contains your virtual machine. In Windows it is usually located under My documents\My Virtual Machines\ .

Right-click on the file bearing the name of your virtual machine; the one with the vmx extension.

How to increase the vmware boot screen delay

Add the following text as a new line anywhere on the list; this will give you a boot delay of 30 seconds:

How to increase the vmware boot screen delay

Start your virtual machine and click on its screen to take control (or click ctrl+g). Now you have 30 seconds to select whether you want to press DEL to choose boot device, press F2 to access the BIOS or press F12 to boot from network.

How to increase the vmware boot screen delay

Now you can access the nice Phoenix BIOS included in all your virtual machines.

Increase the VMWare Boot Screen Delay

If you’ve wanted to try out a bootable CD or USB flash drive in a virtual machine environment, you’ve probably noticed that VMWare’s offerings make it difficult to change the boot device. We’ll show you how to change these options.

You can do this either for one boot, or permanently for a particular virtual machine.

How to increase the vmware boot screen delay

Even experienced users of VMWare Player or Workstation may not recognize the screen above – it’s the virtual machine’s BIOS, which in most cases flashes by in the blink of an eye.

If you want to boot up the virtual machine with a CD or USB key instead of the hard drive, then you’ll need more than an eye’s-blink to press Escape and bring up the Boot Menu. Fortunately, there is a way to introduce a boot delay that isn’t exposed in VMWare’s graphical interface – you have to edit the virtual machine’s settings file (a .vmx file) manually.

Editing the Virtual Machine’s .vmx

Find the .vmx file that contains the settings for your virtual machine. You chose a location for this when you created the virtual machine – in Windows, the default location is a folder calledMy Virtual Machines in your My Documents folder.

In VMWare Workstation, the location of the .vmx file is listed on the virtual machine’s tab.

How to increase the vmware boot screen delay

If in doubt, search your hard drive for .vmx files. If you don’t want to use Windows default search, an awesome utility that locates files instantly is Everything.

Open the .vmx file with any text editor.

How to increase the vmware boot screen delay

Somewhere in this file, enter in the following line… save the file, then close out of the text editor:

How to increase the vmware boot screen delay

This will introduce a 20 second delay when the virtual machine loads up, giving you plenty of time to press the Escape button and access the boot menu. The number in this line is just a value in milliseconds, so for a five second boot delay, enter 5000, and so on.

Change Boot Options Temporarily

Now, when you boot up your virtual machine, you’ll have plenty of time to enter one of the keystrokes listed at the bottom of the BIOS screen on boot-up.

How to increase the vmware boot screen delay

Press Escape to bring up the Boot Menu. This allows you to select a different device to boot from – like a CD drive.

How to increase the vmware boot screen delay

Your selection will be forgotten the next time you boot up this virtual machine.

Change Boot Options Permanently

When the BIOS screen comes up, press F2 to enter the BIOS Setup menu.

How to increase the vmware boot screen delay

Switch to the Boot tab, and change the ordering of the items by pressing the “+” key to move items up on the list, and the “-” key to move items down the list. We’ve switched the order so that the CD-ROM Drive boots first.

How to increase the vmware boot screen delay

Once you make this change permanent, you may want to re-edit the .vmx file to remove the boot delay.

Hvis du har villet prøve en bootbar cd eller et USB-flashdrev i et virtuelt maskinmiljø, har du sikkert bemærket, at VMWares tilbud gør det vanskeligt at ændre boot-enheden. Vi viser dig hvordan du ændrer disse muligheder.

Du kan gøre det enten for en boot eller permanent for en bestemt virtuel maskine.

How to increase the vmware boot screen delay

Selv erfarne brugere af VMWare Player eller Workstation kan muligvis ikke genkende skærmen ovenfor – det er den virtuelle maskine BIOS, som i de fleste tilfælde blinker i blinke i øjet.

Hvis du vil starte den virtuelle maskine med en cd eller en USB-nøgle i stedet for harddisken, skal du bruge mere end et øje-blink for at trykke på Escape og hente Boot Menu. Heldigvis er der en måde at introducere en opstartsforsinkelse på, som ikke er eksponeret i VMWares grafiske grænseflade – du skal manuelt redigere den virtuelle maskinens indstillingsfil (en .vmx-fil).

Redigering af den virtuelle maskinens .vmx

Find .vmx-filen, der indeholder indstillingerne til din virtuelle maskine. Du valgte et sted til dette, da du oprettede den virtuelle maskine – i Windows er standardplaceringen en mappe kaldet Mine virtuelle maskiner i mappen Mine dokumenter.

I VMWare Workstation er placeringen af ​​.vmx-filen angivet på den virtuelle maskinens fane.

How to increase the vmware boot screen delay

Hvis du er i tvivl, søg din harddisk for .vmx-filer. Hvis du ikke vil bruge Windows standard søgning, er et fantastisk værktøj, der lokaliserer filer med det samme, Alt.

Åbn .vmx-filen med ethvert tekstredigeringsprogram.

How to increase the vmware boot screen delay

Et sted i denne fil skal du indtaste i den følgende linje.

gem filen, og luk derefter ud af teksteditoren:

How to increase the vmware boot screen delay

Dette vil introducere en forsinkelse på 20 sekunder, når den virtuelle maskine fylder op, hvilket giver dig masser af tid til at trykke på Escape-knappen og få adgang til bootmenuen. Nummeret i denne linje er kun en værdi i millisekunder, så i en fem sekunders opstart forsinkelse, indtast 5000, og så videre.

Skift Boot Options midlertidigt

Nu, når du starter din virtuelle maskine, har du masser af tid til at indtaste en af ​​tastetrykene i bunden af ​​BIOS-skærmen ved opstart.

How to increase the vmware boot screen delay

Tryk på Escape for at hente Boot Menu. Dette giver dig mulighed for at vælge en anden enhed til at starte fra – som et cd-drev.

How to increase the vmware boot screen delay

Dit valg vil blive glemt næste gang du starter denne virtuelle maskine.

Skift Boot Options permanent

Når BIOS-skærmen kommer op, skal du trykke på F2 for at åbne BIOS Setup-menuen.

How to increase the vmware boot screen delay

Skift til fanen Boot, og ændrer ordren af ​​elementer ved at trykke på “+” tasten for at flytte elementer op på listen og “-” tasten for at flytte elementer ned på listen. Vi har skiftet ordren, så cd-rom-drevet starter først.

How to increase the vmware boot screen delay

Når du har foretaget denne ændring permanent, skal du måske ændre filen .vmx for at fjerne opstartsforsinkelsen.

Boot fra en USB Flash Drive

En ting, der mangler mærkbar fra listen over boot-muligheder, er en USB-enhed. VMWares BIOS tillader det bare ikke, men vi kan komme omkring den begrænsning ved hjælp af PLoP Boot Manager, som vi tidligere har skrevet om. Og som en bonus, da alt er virtuelt alligevel, er der ingen grund til faktisk at brænde PLoP til en cd.

Åbn indstillingerne for den virtuelle maskine, du vil starte med et USB-drev. Klik på Tilføj.

nederst på indstillingsskærmen, og vælg CD / DVD-drev. Klik på Næste.

How to increase the vmware boot screen delay

Klik på knappen Brug ISO Image, og klik på Næste.

How to increase the vmware boot screen delay

Gennemse for at finde plpbt.iso eller plpbtnoemul.iso fra PLoP zip-filen. Sørg for, at Tilslut ved Strøm er tjekket, og klik derefter på Udfør.

How to increase the vmware boot screen delay

Klik på OK på siden Hovedmaskineindstillinger.

How to increase the vmware boot screen delay

Nu, hvis du bruger ovenstående trin til at starte med dette cd / dvd-drev, vil PLoP indlæses, så du kan starte fra et USB-drev!

How to increase the vmware boot screen delay

Konklusion

Vi er store fans af VMWare Player og Workstation, da de får os til at prøve et væld af geeky ting uden at bekymre os om at skade vores systemer. Ved at introducere en bootforsinkelse kan vi tilføje bootable cd’er og USB-drev til listen over geeky ting, vi kan prøve.

Recent Posts

Archives

Statistics

How to Increase the Boot Delay in a VMware VM

Increasing the boot delay in VMware is imperative if you wish to boot from the host computer’s CD-ROM or have access to the BIOS. I never understood why WMware made it so difficult to access the virtual machine’s BIOS or select a different boot device. In order to do any of these tasks, you have to start your virtual machine, click on its screen (or press ctrl-g) to change control from your computer to the virtual machine and then press F2 to access the BIOS, or ESC to select your boot device. By the time you grab your mouse to click on the screen, the opportunity to access the BIOS is long gone. In this tutorial I will teach you how to increase the insignificant delay given by VMware to something more logical.

Instructions

Go to the folder that contains your virtual machine. In Windows it is usually located under My documents\My Virtual Machines\.

Right-click on the file bearing the name of your virtual machine; the one with the vmx extension.

Add the following text as a new line anywhere on the list; this will give you a boot delay of 30 seconds:
bios.bootdelay = 30000

How to increase the vmware boot screen delay

Start your virtual machine and click on its screen to take control (or click ctrl+g). Now you have 30 seconds to select whether you want to press DEL to choose boot device, press F2 to access the BIOS or press F12 to boot from network.

Now you can access the nice Phoenix BIOS included in all your virtual machines.

By Vladan SEGET | Last Updated: October 20, 2017

This is a quick tip to Increase Startup Delay to Edit the BIOS of a VM. We will show you that it can be done different ways as we have multiple tools from VMware for managing their virtual infrastructure. A very easy tip everyone knows already, for this Friday. Check our Tips or How-to categories for other tips for IT, VMware and Microsoft.

We can use either of those tools depending if we’re within a vCenter server management environment or within an environment with only unmanaged ESXi hosts. We’ll show both cases in this post.

Why would one need to increase a boot delay for a virtual machine (VM)? Change of settings such as boot order where you need to force the VM to boot from CD-ROM or ISO image. Or you might want to change settings in BIOS when you’re optimizing your virtual hardware for performance.

Those settings were easy to find within the old Windows client, but this client is now phased out as VMware is pushing Web-based clients only. Despite the performance problems with the Flash client, after several years of transition, we might see the end of the tunnel and get a nice HTML5 client (currently with partial functionality only).

Let’s get started and show where we can find it within vSphere Web Client

We show the steps via HTML 5 based web client. VMware calls it H5 Web Client. This is the upcoming new standard as the vSphere Web client (Flash-based) will be phased out. Note that currently, it is the only way to manage VMware virtual infrastructure and that at the moment the Flash plugin has an issue which causes a crash of the Flash plugin completely.

TIP: There is a workaround from VMware which you’ll find at this VMware KB: Shockwave Flash crashes with vSphere Web Client 6.x

Shut down the VM > Do a Right-click on the VM > Edit Settings > VM Options > Boot Options.

Here you can change Firmware if you wish (if it’s supported by the OS), and it is within this section where you can set the boot options. The value is in milliseconds.

By entering a high value (example 5000), it will give you an additional time before the VM boots up.

How to increase the vmware boot screen delay

If you’re troubleshooting just need to reboot into BIOS to change something once, you can check the Force BIOS setup checkbox which will force the VM boot directly into BIOS. But only single time. The next time VM will boot normally.

If ESXi Hosts are managed via ESXi host client (Free ESXi)

Now let’s find out how we can do this for an ESXi free version, which is not managed by vCenter server. In this case, connect using VMware Host client. Again, use your web browser. Go to this URL:

replace the IP_of_Your_ESXi by the real IP number of your host.

Click and Expand Virtual Machines > Within the list Click the VM you want to change settings for > And hit the Edit icon > You’ll end up on Virtual Hardware TAB, but change TAB and click Edit Options TAB.

And here again, you have the same options as above. Enter the value in milliseconds and every time the VM will reboot, the time before the boot process will start will be added to the boot delay.

How to increase the vmware boot screen delay

As you can see, very simple and very easy to find this out.

Any other ways to Increase Boot Delay to Edit the BIOS of a VM?

You might ask if there are other ways to do that. Scripting, a manual edit of VMX? Yes, both. In fact, if you go to VMware communities forums and do a quisk search there, you’ll find multiple answers and solutions.

However, when editing the VMX manually, you must first unregister the VM from vCenter > edit the VMX > register the VM through vSphere client back to your vCenter.

Wrap Up:

The boot delay specifies a time interval between virtual machine power on or restart and the beginning of the boot sequence. Today we show a tip which you might be looking at when working with VMware infrastructure. This is also handy when you trying to connect a CD-ROM or ISO image from your local computer and you don’t have enough time to catch the VM’s boot sequence and to hit the “F2” key to enter the BIOS settings for changing the boot sequence.

For those reasons, knowing a manual way, and finding it quickly without losing time, it is essential. Once you remember those steps it will be pretty quick. The PowerCLI way might be interesting for folks willing to modify boot delay on many VMs. Someone at VMware communities was interested in doing it for 700 VMs within his environment.

More from ESX Virtualization:

  • How to Configure Statistics Collection Intervals in vCenter
  • What is VMware CEIP Program And How It Helps An IT Admin With Troubleshooting vSphere
  • What is VMware Hot-Add RAM and How to use it?
  • How To Reset ESXi Root Password via Microsoft AD
  • What is VMware Instant Clone Technology?

Stay tuned through RSS, and social media channels (Twitter, FB, YouTube)

  • VMware Technology Network
  • :
  • Cloud & SDDC
  • :
  • Automation
  • :
  • VMware PowerCLI Discussions
  • :
  • PowerCLI boot a VM into the automatically Boot Men.
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

I’m looking for a PowerCLI command to get a VM to boot into the Boot Menu on the next restart (I’m referring to the Boot Menu that you have to push the ESC key on to enter when a VM’s BIOS is on the POST screen). I’ve found a method to change the boot order of the devices so the CD is the first device through PowerCLI, but I would prefer to be able to boot into the Boot Menu through a cmdlet as I don’t want it booting to CD without me initiating that step.

I don’t want the VM to boot into the CD immediately, but want to be able select to boot off the CD in my own time in the quickest way possible (booting into the BIOS itself requires too many manual key presses to boot into CD).

A workaround that has been suggested is to increase the Boot Delay setting to a ludicrously high time. Is there a limit with the bootDelay property of “VirtualMachineBootOptions”? If there is, I see you can set the “bootRetryEnabled” property to “true” to retry again if that BootDelay limit is hit).

  • VMware Technology Network
  • :
  • Desktop Hypervisor
  • :
  • VMware Fusion
  • :
  • VMware Fusion Discussions
  • :
  • Delay on boot. screen goes blank for over a min.
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

When I boot up windows on my MBP it starts normally but after the XP logo and the moving blue blocks go accross a few times the screen goes blank for well over a minute before the logon screen comes up. I’ve been reading some posts about delay’s but haven’t found any that have a resolution for the same problem.

I’m using VM Fusion ver. 1.0

  • All forum topics
  • Previous Topic
  • Next Topic
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

When I boot up windows on my MBP it starts normally but after the XP logo and the moving blue blocks go accross a few times the screen goes blank for well over a minute before the logon screen comes up. I’ve been reading some posts about delay’s but haven’t found any that have a resolution for the same problem. Any ideas?

How to increase the vmware boot screen delay

The fast boot time in vmware often doesn’t lets user access the BIOS or Boot Menu. Here is Guide How to Delay the boot time in VMWARE to access BIOS

Edit the virtual machine’s configuration ( .vmx ) for the already creaed virtual machine, Open the file with Notepad and add or edit one of these options:

  • bios.forceSetupOnce = “TRUE” This forces entry to the BIOS setup at startup.
  • bios.bootDelay = “xxxx” This adds a delay to the initial POST screen, showing it for longer and giving you more time to access the BIOS setup, where xxxx is the number of milliseconds to show the POST screen. (There are 1000 milliseconds in a second.) The maximum value for the boot delay is 10000 milliseconds or 10 seconds.
  • How to increase the vmware boot screen delay

Fusion

To make changes to the . vmx (virtual machine configuration file):

  1. Shutdown the virtual machine.
  2. Edit your .vmx file to include one of the two options above.

Player

To make changes to the .vmx (virtual machine configuration file):

  1. Shut down the virtual machine.
  2. Edit the .vmx file to add one of the two options above.

ESXi/ESX

To make changes to the configuration file:

  1. Shutdown the virtual machine.
  2. Connect to the service console of the ESX host.
  3. Enter this command to unregister the virtual machine you want to modify:vmware-cmd -s unregister /vmfs/volumes/ VMname/ vm.vmxwhere VMname and vm.vmx are the working directory and virtual machine configuration file name on your system. Note: A return status of 1 indicates the virtual machine was unregistered successfully.
  4. Modify the virtual machine’s configuration file using either of the options detailed above.
  5. Type the following command to register the virtual machine:vmware-cmd -s register /vmfs/volumes/ VMname/ vm.vmxwhere VMname and vm.vmx are the working directory and virtual machine configuration file name on your system. Note: A return status of 1 signals the virtual machine was registered successfully.

vCenter Server/VirtualCenter

To make these changes using the graphical interface:

  1. Connect to vCenter Server/VirtualCenter using the VMware Infrastructure/vSphere Client.
  2. Right-click on the virtual machine you want to edit in the Inventory view.
  3. Click Edit Settings>Options>Boot Options.
  4. Set the Power-on Boot Delay or select Force BIOS Setup.

Workstation 7.x and later

To enter the BIOS setup for the guest operating system, click VM>Power >Power On to BIOS.

Nếu bạn muốn dùng thử ổ đĩa CD hoặc USB có thể khởi động trong môi trường máy ảo, có lẽ bạn đã nhận thấy rằng các dịch vụ của VMWare gây khó khăn cho việc thay đổi thiết bị khởi động. Chúng tôi sẽ chỉ cho bạn cách thay đổi các tùy chọn này.

Bạn có thể làm điều này cho một lần khởi động hoặc vĩnh viễn cho một máy ảo cụ thể.

How to increase the vmware boot screen delay

Ngay cả những người dùng có kinh nghiệm về VMWare Player hoặc Workstation cũng có thể không nhận ra màn hình ở trên – đó là BIOS của máy ảo, trong hầu hết các trường hợp sẽ nhấp nháy trong chớp mắt.

Nếu bạn muốn khởi động máy ảo bằng phím CD hoặc USB thay vì ổ cứng, thì bạn sẽ cần nhiều hơn một cái chớp mắt để nhấn Escape và hiển thị Menu Boot. May mắn thay, có một cách để giới thiệu độ trễ khởi động không bị lộ trong giao diện đồ họa của VMWare – bạn phải chỉnh sửa tệp cài đặt của máy ảo (tệp .vmx) theo cách thủ công.

Chỉnh sửa .vmx của Máy ảo

Tìm tệp .vmx chứa các cài đặt cho máy ảo của bạn. Bạn đã chọn một vị trí cho điều này khi bạn tạo máy ảo – trong Windows, vị trí mặc định là một thư mục có tên Máy ảo của tôi trong thư mục Tài liệu của tôi.

Trong VMWare Workstation, vị trí của tệp .vmx được liệt kê trên tab của máy ảo.

How to increase the vmware boot screen delay

Nếu nghi ngờ, hãy tìm kiếm ổ cứng của bạn để tìm tập tin .vmx. Nếu bạn không muốn sử dụng tìm kiếm mặc định của Windows, một tiện ích tuyệt vời giúp định vị tệp ngay lập tức là Mọi thứ.

Mở tệp .vmx bằng bất kỳ trình soạn thảo văn bản nào.

How to increase the vmware boot screen delay

Ở đâu đó trong tệp này, nhập vào dòng sau đây, lưu tệp, sau đó đóng trình soạn thảo văn bản:

How to increase the vmware boot screen delay

Điều này sẽ giới thiệu độ trễ 20 giây khi máy ảo tải lên, cho bạn nhiều thời gian để nhấn nút Escape và truy cập menu khởi động. Số trong dòng này chỉ là một giá trị tính bằng mili giây, do đó, để trì hoãn khởi động năm giây, hãy nhập 5000, v.v..

Thay đổi tùy chọn khởi động Tạm thời

Bây giờ, khi bạn khởi động máy ảo của mình, bạn sẽ có nhiều thời gian để nhập một trong những tổ hợp phím được liệt kê ở cuối màn hình BIOS khi khởi động.

How to increase the vmware boot screen delay

Nhấn Escape để hiển thị Menu Boot. Điều này cho phép bạn chọn một thiết bị khác để khởi động – như ổ đĩa CD.

How to increase the vmware boot screen delay

Lựa chọn của bạn sẽ bị lãng quên vào lần tới khi bạn khởi động máy ảo này.

Thay đổi tùy chọn khởi động vĩnh viễn

Khi màn hình BIOS xuất hiện, nhấn F2 để vào menu Cài đặt BIOS.

How to increase the vmware boot screen delay

Chuyển sang tab Khởi động và thay đổi thứ tự của các mục bằng cách nhấn phím + + để di chuyển các mục lên trong danh sách và phím Thủ – Lỗi để di chuyển các mục xuống danh sách. Chúng tôi đã chuyển thứ tự để Ổ đĩa CD-ROM khởi động trước.

How to increase the vmware boot screen delay

Khi bạn thực hiện thay đổi này vĩnh viễn, bạn có thể muốn chỉnh sửa lại tệp .vmx để xóa độ trễ khởi động.

Khởi động từ ổ USB

Một thứ đáng chú ý bị thiếu trong danh sách các tùy chọn khởi động là một thiết bị USB. BIOS của VMWare không cho phép điều này, nhưng chúng ta có thể khắc phục giới hạn đó bằng Trình quản lý khởi động PLoP mà chúng ta đã viết trước đây. Và như một phần thưởng, vì dù sao mọi thứ đều là ảo, nên thực sự không cần phải ghi PLoP vào đĩa CD.

Mở cài đặt cho máy ảo bạn muốn khởi động bằng ổ USB. Nhấp vào Thêm vào ở cuối màn hình cài đặt và chọn Ổ đĩa CD / DVD. Nhấn tiếp.

How to increase the vmware boot screen delay

Nhấn vào Sử dụng hình ảnh ISO nút radio và nhấp vào Tiếp theo.

How to increase the vmware boot screen delay

Duyệt để tìm plpbt.iso hoặc plpbtnoemul.iso từ tệp zip PLoP. Đảm bảo rằng Kết nối khi bật nguồn được chọn, rồi bấm Kết thúc.

How to increase the vmware boot screen delay

Bấm OK trên trang Cài đặt Máy ảo chính.

How to increase the vmware boot screen delay

Bây giờ, nếu bạn sử dụng các bước trên để khởi động bằng ổ đĩa CD / DVD đó, PLoP sẽ tải, cho phép bạn khởi động từ ổ USB!

How to increase the vmware boot screen delay

Phần kết luận

Chúng tôi là những người hâm mộ lớn của VMWare Player và Workstation, vì họ cho phép chúng tôi thử rất nhiều thứ táo bạo mà không lo làm hại hệ thống của chúng tôi. Bằng cách giới thiệu độ trễ khởi động, chúng tôi có thể thêm các đĩa CD và ổ đĩa USB có thể khởi động vào danh sách những thứ táo bạo mà chúng tôi có thể thử.