用slax的Syslinux引导的grub找不到menu.lst呢
发表于 : 2009-09-13 14:53
优盘上已经有slax,但准备用grub 引导其他的ISO文件。 于是先用了slax的Syslinux引导grub。〈grub文件夹的东西都拷到了slax的boot文件夹〔grub单独一个目录时引导不了grub〕。〉但是系统启动后却找不到menu.lst,直接进了grub命令行。怎么回事呢?
对我的来说最重要的是这句LABEL GRUB
MENU LABEL GRUB
kernel /grub/grub.exe
append --config-file="configfile (fd2)/grub/menu.lst;configfile (fd1)/grub/menu.lst;configfile (fd0)/grub/menu.lst;configfile (hd0,0)/grub/menu.lst;configfile (hd1,0)/grub/menu.lst;configfile (sd0,0)/grub/menu.lst"
,没它的话也找不到menu.lst。configfile (sd0,0)/grub/menu.lst
。找到是(hd0,0)就写(hd0,0),是(fd0)就写(fd0),可能不同的机器不同。find /xxx.iso
代码: 全选
LABEL GRUB
MENU LABEL 7) GRUB Load other OS
kernel /grub/grub.exe
append --config-file="configfile (hd0,0)/grub/menu.lst"
TEXT HELP
Boot other OS like tiny core or freedos etc.
ENDTEXT
代码: 全选
title Return System Rescue CD
map (hd0,0)+1 (fd0)
map --hook
root (fd0)
chainloader +1
boot