Linux VM's - increase boot menu delay time to select different kernel


  1. Posts : 11,247
    Windows / Linux : Arch Linux
       #1

    Linux VM's - increase boot menu delay time to select different kernel


    Hi there

    For those running Linux VM's especially with VMware where you have several kernels installed - the default is often TOO quick to be able to select the kernel you want to use

    Note this is AFTER the VM starts booting - it's the VM boot screen not the "Virtual Bios" where you can select the boot device.

    Easy trick

    edit the defaults file in etc/default/grub

    GRUB_TIMEOUT=10
    GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
    GRUB_DEFAULT=0
    GRUB_DISABLE_SUBMENU=true
    GRUB_TERMINAL_OUTPUT="console"
    GRUB_CMDLINE_LINUX="rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet"
    GRUB_DISABLE_RECOVERY="true

    set the TIMEOUT to the value you want - 10 is usually plenty long enough

    If you want your specific kernel to be top of the list then starting with 0 look at the entries in the boot and set GRUB_DEFAULT = n (starting with 0) so if your kernel is 2nd in the list set GRUB_DEFAULT=1).

    then re-generate grub and reboot

    grub2-mkconfig -o /boot/grub2/grub.cfg

    Cheers
    jimbo
      My Computer


  2. Lee
    Posts : 4,793
    OS X, Win 10
       #2

    Thanks for the info Jimbo . . .:)
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:19.
Find Us




Windows 10 Forums