China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-25 01:29
中国DOS联盟论坛 » GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » Please clarify the specific context or the relevant content related to "求grub password md5具体用法" to provide an accurate translation. As it is now, it directly translates to "Ask for the specific usage of grub password md5". But if there is more detailed content attached, please provide it for a more precise translation. View 1,655 Replies 6
Original Poster Posted 2007-06-15 21:34 ·  中国 广东 广州 电信
新手上路
Credits 14
Posts 5
Joined 2007-05-01 13:41
19-year member
UID 87186
Gender Male
Status Offline
I saw some articles on the Internet about setting the GRUB boot password, but no matter how I set it, it didn't work.
I wrote it like this:
default 2
timeout 5
color green/black light-gray/blue

title Rescue Windows XP Environment
password=123456
lock
find --set-root /ldrxpe
chainloader /ldrxpe
boot
After restarting, when entering GRUB boot, there is no prompt to enter the password. Does this actually have any effect?

I used md5 to generate the password, but the password was always incorrect:
I did it like this:
grub> md5crypt
password:123456
$1$7uDL20$eSB.XRPG2A2Fv8AeH56nYI

After writing down "$1$7uDL20$eSB.XRPG2A2Fv8AeH56nYI", I re-entered and typed it in menu.lst under Windows. I wrote it like this:

default 2
timeout 5
color green/black light-gray/blue

title Rescue Windows XP Environment
password --md5 $1$7uDL20$eSB.XRPG2A2Fv8AeH56nYI
lock
find --set-root /ldrxpe
chainloader /ldrxpe
boot

After saving, when entering GRUB boot, it always prompts that the password is incorrect when entering "Rescue Windows XP Environment"?
Why is that? What else do I need to do to make it correct?
Floor 2 Posted 2007-06-15 22:23 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
Incorrect usage, please refer to the official documentation.
Windows 一键还原
http://www.yjhy.com
Floor 3 Posted 2007-06-15 22:25 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
You can also refer to my "grub4dos Beginner's Tutorial"
Windows 一键还原
http://www.yjhy.com
Floor 4 Posted 2007-06-16 00:00 ·  中国 广东 广州 电信
新手上路
Credits 14
Posts 5
Joined 2007-05-01 13:41
19-year member
UID 87186
Gender Male
Status Offline
Specifically how to write, can you write an example for me? I have read many, all are incorrect, where did I go wrong, I can correct it.
Floor 5 Posted 2007-06-16 06:43 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
"grub4dos初级教程" has specific usage and examples. Don't be too eager for quick success, heh. Be good at learning.
Windows 一键还原
http://www.yjhy.com
Floor 6 Posted 2007-06-16 06:49 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
Since you only want the result, just search the following article online.
How to add a password to the GRUB system boot manager
Windows 一键还原
http://www.yjhy.com
Floor 7 Posted 2007-06-16 14:06 ·  中国 广东 深圳 联通
新手上路
Credits 14
Posts 5
Joined 2007-05-01 13:41
19-year member
UID 87186
Gender Male
Status Offline
Hehe, I'm a newbie. Thanks for everyone's help and guidance
Forum Jump: