Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 6580  / 2 Years ago, wed, february 9, 2022, 11:08:10

With GRUB 2, you seem to be able to hide the startup menu (unless someone presses a certain button). But unfortunately grub disables this for multi-OS systems, I've looked up a few other pages.



But after one which made me have to re-install Ubuntu, I gave up. Does anyone know how this can be done on Ubuntu 12.04?


More From » boot

 Answers
7

I was trying to do the same and I found great help in the Ubuntu Forums, particularly in this thread.



Assuming you did the right thing with /etc/default/grub, correctly setting GRUB_TIMEOUT and #GRUB_HIDDEN_TIMEOUT (I'd say respectively to 0 and 5) and even GRUB_DEFAULT to specify the default image to boot, here's the procedure to have it work the right way.




  1. Add those lines



    GRUB_FORCE_HIDDEN_MENU="true"
    export GRUB_FORCE_HIDDEN_MENU


    to the end of /etc/default/grub


  2. Backup your /etc/grub.d/30_os-prober and overwrite it with the version found here.


  3. Run the command: sudo update-grub to update the settings.


  4. Test it! To show the menu you have to hold the SHIFT key at startup.




This problem is related to the multi OS setup and editing the script is one of the way to correct that.



PS: This answer is exatcly the same given to another identical question


[#38283] Friday, February 11, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ntlesslving

Total Points: 123
Total Questions: 109
Total Answers: 113

Location: South Korea
Member since Fri, Sep 11, 2020
4 Years ago
;