By harrisonuhl
I’m working on creating a Custom Droplet Boot Image – with the image being created in a standard droplet running Debian. I need to create custom Grub Menu Entries. In anticipation of debugging, I’m trying to discover how to be presented the droplets main grub boot selection menu (i.e. on main console, not Rescue Console.
How can I tell droplet spinup to present the grub menu instead of blowing past?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
If you want to customize the Grub Menu Entries on your Droplet, you can edit the /etc/default/grub configuration file. To display the Grub boot menu during the Droplet’s startup, you should modify the following options:
GRUB_TIMEOUT: Set the time (in seconds) that the menu will be displayed before automatically booting the default entry. For example, GRUB_TIMEOUT=10 shows the menu for 10 seconds.
GRUB_HIDDEN_TIMEOUT: Set this to a non-zero value if you want the menu to be hidden unless the Shift key is pressed during the startup.
GRUB_HIDDEN_TIMEOUT_QUIET: Set this to false if you want to show a countdown while waiting for the Shift key to be pressed.
After modifying the configuration, you should run sudo update-grub to apply your changes. Note that making changes to these settings may increase the risk of making your Droplet unbootable, so proceed with caution.
Don’t forget to create a snapshot of your customized Droplet to create your Custom Droplet Boot Image. For more information about custom images, visit the DigitalOcean documentation: https://docs.digitalocean.com/products/images/custom-images
Hope that this helps!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.