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.

How to set grub password in Debian Squeeze? How to configure the grup entries in Squeeze, I saw few entries in /etc/default/grub

share|improve this question

migrated from stackoverflow.com Oct 20 '11 at 6:16

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

2 Answers 2

up vote 1 down vote accepted

Don't touch menu.lst anymore, since it's Grub2 now.

Answer to your question is can be read in chapter 5:
http://ubuntuforums.org/showthread.php?t=1369019

Grub2 have difference interaction way and configures through scripts which lies in /etc/grub.d/. Inside you will find some awesome examples) After change scripts just type update-grub and reboot.

share|improve this answer
    
Welcome to Super User! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. –  Tom Wijsman Oct 31 '11 at 21:10

The grub configuration resides in /boot/grub/menu.lst, and already contains documentation on how to set a password:

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
share|improve this answer
    
There is no file in /boot/grub/menu.lst, Note I'am using squeeze, I saw the above configuration in debian lenny. –  ungalnanban Oct 19 '11 at 14:59

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.