• Image Management Service

ims
  1. Help Center
  2. Image Management Service
  3. User Guide
  4. FAQs
  5. OS
  6. What Can I Do If an ECS Starts Slowly?

What Can I Do If an ECS Starts Slowly?

If an ECS requires a long period of time to start, you can change the default timeout to speed up the startup.

  1. You have logged in to the Linux ECS.
  2. Run the following command to switch to user root:

    sudo su

  3. Run the following command to query the version of the GRUB file:

    rpm -qa | grep grub

    Figure 1 Querying the GRUB file version

  1. Set timeout in the GRUB file to 0.
    • If the GRUB file version is earlier than 2:

      Open /boot/grub/grub.cfg or /boot/grub/menu.lst and set timeout to 0.

    • If the GRUB file version is 2:

      Open /boot/grub2/grub.cfg and set the value of timeout to 0.

      Figure 2 Modifying the timeout duration