if [ -s /vboot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
if loadfont /vboot/fonts/unicode.pf2 ; then
set gfxmode=1024x768
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod jpeg
background_image /vboot/grub/vmlite-logo.jpg
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
set menu_color_normal=white/black
set menu_color_highlight=red/white
menuentry "XP VHD" {
vboot harddisk="(UUID=98e0683de06823aa)/WINXP.VHD"
}
menuentry "XP Install Step 2" {
vboot harddisk="(UUID=98e0683de06823aa)/WINXP.VHD" cdrom=(hd0,1)/winxp-sp2.iso boot=harddisk
}
menuentry "XP Install Step 1" {
vboot harddisk="(UUID=98e0683de06823aa)/WINXP.VHD" floppy=(hd0,1)/vboot/vboot.img cdrom=(hd0,1)/winxp-sp2.iso boot=cdrom
}作者: 2012ctyfrank 时间: 2013-4-12 07:20
不用加密太复杂,太复杂的我也看不懂,就明文保存的密码就可以。作者: 2012ctyfrank 时间: 2013-4-12 07:26
还有 我在\vboot\grub\ 目录下找到一个password.mod的文件,还是说设置密码需要用它?打开看是乱码啊。