| 
 | 
4#
 
 
 楼主 |
发表于 2012-1-5 12:25:30
|
只看该作者
 
 
 
我使用的menu.lst如下: 
------------------------------------------------------------------------------------------------- 
debug 0 
errorcheck off 
checkrange 0x21 read 0x8280 && pxe detect NotExist 
terminal graphics 
graphicsmode -1 640:800 
find --set-root --ignore-floppies /grub/unifont.hex.gz 
font /grub/unifont.hex.gz 
timeout 8 
iftitle [if exist (hd1,0)/boot/grub/core.img] ◆ [1] 启动 Ubuntu  64位 ◆ \n 引导内核core.img 
      checkrange 0x00 parttype (hd1,0) && reboot  
      checkrange 0x05,0x0F,0x85 parttype (hd0,0) || checkrange 0x07 parttype (hd0,0) && hide (hd0,0) 
      checkrange 0x05,0x0F,0x85 parttype (hd0,1) || checkrange 0x07 parttype (hd0,1) && hide (hd0,1) 
      checkrange 0x05,0x0F,0x85 parttype (hd0,3) || checkrange 0x07 parttype (hd0,3) && hide (hd0,3) 
      checkrange 0x07 parttype (hd0,4) && hide (hd0,4) 
      checkrange 0x07 parttype (hd0,5) && hide (hd0,5) 
      checkrange 0x17 parttype (hd0,6) && unhide (hd0,6) 
      checkrange 0x17 parttype (hd0,7) && unhide (hd0,7) 
      checkrange 0x07 parttype (hd0,8) && hide (hd0,8) 
      checkrange 0x93 parttype (hd0,2) && unhide (hd1,0) 
      find --ignore-floppies --ignore-cd --set-root /boot/grub/core.img 
      kernel  /boot/grub/core.img 
      boot 
iftitle [if exist (hd1,0)/boot/grub/boot.img] ◆ [2] 启动 Ubuntu  64位 ◆ \n 引导内核boot.img 
      checkrange 0x00 parttype (hd1,0) && reboot  
      checkrange 0x05,0x0F,0x85 parttype (hd0,0) || checkrange 0x07 parttype (hd0,0) && hide (hd0,0) 
      checkrange 0x05,0x0F,0x85 parttype (hd0,1) || checkrange 0x07 parttype (hd0,1) && hide (hd0,1) 
      checkrange 0x05,0x0F,0x85 parttype (hd0,3) || checkrange 0x07 parttype (hd0,3) && hide (hd0,3) 
      checkrange 0x07 parttype (hd0,4) && hide (hd0,4) 
      checkrange 0x07 parttype (hd0,5) && hide (hd0,5) 
      checkrange 0x17 parttype (hd0,6) && unhide (hd0,6) 
      checkrange 0x17 parttype (hd0,7) && unhide (hd0,7) 
      checkrange 0x07 parttype (hd0,8) && hide (hd0,8) 
      checkrange 0x93 parttype (hd0,2) && unhide (hd1,0) 
      find --ignore-floppies --ignore-cd --set-root /boot/grub/boot.img 
      kernel /boot/grub/lnxboot.img 
      initrd /boot/grub/core.img 
      chainloader /boot/grub/boot.img 
      boot 
------------------------------------------------------------------------------------------------- 
使用grub4dos-0.4.5b-2011-12-06\chinese及grub4dos-0.4.6a两个版本的Grub4dos测试: 
1. grub4dos-0.4.5b-2011-12-06版本,两项菜单均能启动GRUB2引导菜单 
2. grub4dos-0.4.6a版本,[1]项只有显示一直闪烁的光标而再没有反应,[2]项能启动GRUB2引导菜单。 
请问grub4dos-0.4.6a版本的Grub4dos是否对core.img不支持? 
 
[ 本帖最后由 fsWolfer 于 2012-1-5 12:27 编辑 ] |   
 
 
 
 |