Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I do as the following

  1. run grub-mkpasswd-pbkdf2 to get a string
  2. nano /boot/grub/grub.cfg
  3. add tow lines
  4. set superusers="putyourusernamehere"
  5. password putyourusernamehere grub.pbkdf2 (omitted)

When i reopen my computer,it can't work,how can i take grub 2 Password Protection in debian ?

share|improve this question

migrated from stackoverflow.com Oct 16 '12 at 4:41

This question came from our site for professional and enthusiast programmers.

1 Answer 1

Read this. Official documentation from the debian-based OS: Ubuntu. Maybe it can help

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.