Results 1 to 5 of 5

Thread: How to protect the whole GRUB2 boot menu?

  1. #1
    Join Date
    Apr 2006
    Location
    Regnum Utriusque Siciliæ
    Beans
    89
    Distro
    Kubuntu 14.04 Trusty Tahr

    How to protect the whole GRUB2 boot menu?

    Hi all.
    I've already read and tested the various guides for pasword portecting the menu items.
    What I need is a little bit different.
    I need to protect the whole boot menu so normal users cannot select any entry at all and only let the default entry boot.
    Any idea?
    Sent as ripples into the electromagnetic field.
    No single photon has been harmed in the process.

  2. #2
    Join Date
    Aug 2006
    Beans
    13,354
    Distro
    Ubuntu Mate 20.04 Focal Fossa

    Re: How to protect the whole GRUB2 boot menu?

    Disable showing the menu altogether. Since the selection is made long before the user is identified, there is no way to tell if the user is normal or not.

  3. #3

    Re: How to protect the whole GRUB2 boot menu?

    The answer is grub customizer. Its fantastic.

    Its a bit of pain to install. Instructions here http://ubuntuforums.org/showthread.php?p=10340183

  4. #4
    Join Date
    Mar 2011
    Beans
    29
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: How to protect the whole GRUB2 boot menu?

    You want to modify these settings to -1 or 0 then use grub-mkconfig

    These lines are located in /etc/grub.d/00_header
    Code:
    if [ "x${GRUB_DEFAULT}" = "x" ] ; then GRUB_DEFAULT=0 ; fi
    if [ "x${GRUB_TIMEOUT}" = "x" ] ; then GRUB_TIMEOUT=5 ; fi

  5. #5
    Join Date
    Mar 2011
    Beans
    29
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: How to protect the whole GRUB2 boot menu?

    Another solution is to use micheal gorvens luks patches. Then encrypt the boot partition so grub requires a password before being able to load the grub.cfg

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •