| 
 
cxfaa 
初级用户
 
  
 
  
  
积分 64 
发帖 23 
注册 2007-1-16 
状态 离线
 | 
『楼 主』:
 grub 无法引导4M的光盘镜像文件的问题
 
使用 LLM 解释/回答一下
  
我有一个名为5.img的光盘镜像文件约4.3M在光驱中可能正常使用,现我把他放在c盘的boot\grub的文件夹中通过grub来引导启动,在但是menu.lst中加入以下代码启动进入后提示错误,请问我错在哪里该如何修正,请高手给与多多指点 
 
title 中文启动盘 
map --mem/boot/grub/5.img (fd0) 
map --hook 
chainloader (fd0)+1 
rootnoverify (fd0) 
 
提示错误的内容 
error 1: filename must be either an absolute pathname or blocklist 
press any key to continue...... 
I have an optical disc image file named 5.img, about 4.3M, which may work normally in the optical drive. Now I put it in the boot\grub folder of the C drive and use grub to boot it. But after adding the following code in menu.lst to boot, an error is prompted. Where did I go wrong and how to correct it? Please give more guidance from the experts. 
 
title Chinese Boot Disk 
map --mem /boot/grub/5.img (fd0) 
map --hook 
chainloader (fd0)+1 
rootnoverify (fd0) 
 
Error content prompted 
error 1: filename must be either an absolute pathname or blocklist 
press any key to continue...... 
    
 
  
 |   
 | 
  2007-6-21 08:56 | 
  
 | 
 | 
 
barton 
中级用户
 
   
 
  
  
积分 480 
发帖 197 
注册 2006-9-20 来自 黄冈 
状态 离线
 | 
『第 2 楼』:
 
 
使用 LLM 解释/回答一下
  
提示路径不对 
 
map --mem (hd0,0)/boot/grub/5.img (fd0) 
The path is incorrect. 
map --mem (hd0,0)/boot/grub/5.img (fd0) 
    
 
  
 |   
 | 
  2007-6-21 09:18 | 
  
 | 
 | 
 
lianjiang2004 
金牌会员
 
      
 
  
  
积分 3946 
发帖 1884 
注册 2006-1-20 
状态 离线
 | 
『第 3 楼』:
 
 
使用 LLM 解释/回答一下
  
语法错误,至于是不是(hd0,0),要看你机子分区情况,一般C:\是(hd0,0)。 
Grammar error, as for whether it is (hd0,0), it depends on the partition situation of your computer. Generally, C:\ is (hd0,0). 
    
 
  
  |  
                  
  
                    Windows 一键还原 
http://www.yjhy.com |   
 | 
  2007-6-21 12:35 | 
  
 | 
 | 
 
cxfaa 
初级用户
 
  
 
  
  
积分 64 
发帖 23 
注册 2007-1-16 
状态 离线
 | 
『第 4 楼』:
 
 
使用 LLM 解释/回答一下
  
文件是在c盘,可是改成以下这样是还是提示同样的错误 
map --mem (hd0,0)/boot/grub/5.img (fd0) 
The file is on the C drive, but changing it to the following still prompts the same error 
map --mem (hd0,0)/boot/grub/5.img (fd0) 
    
 
  
 |   
 | 
  2007-6-21 17:03 | 
  
 | 
 | 
 
不点 
银牌会员
 
      不甘寂寞的人
  
 
积分 2491 
发帖 1115 
注册 2003-9-24 
状态 离线
 | 
『第 5 楼』:
 
 
使用 LLM 解释/回答一下
  
你用的 GRUB 版本太老,不支持 --mem 参数。 
The GRUB version you are using is too old and does not support the --mem parameter. 
    
 
  
  |  
                  
  
                    因为我们亲手创建,这个世界更加美丽。 |   
 | 
  2007-6-21 17:18 | 
  
 | 
 | 
 
cxfaa 
初级用户
 
  
 
  
  
积分 64 
发帖 23 
注册 2007-1-16 
状态 离线
 | 
『第 6 楼』:
 
 
使用 LLM 解释/回答一下
  
我换成0.42的也不行。不知哪里出问题 
I changed to 0.42 and it still doesn't work. I don't know where the problem is. 
    
 
  
 |   
 | 
  2007-6-22 15:18 | 
  
 | 
 | 
 
不点 
银牌会员
 
      不甘寂寞的人
  
 
积分 2491 
发帖 1115 
注册 2003-9-24 
状态 离线
 | 
『第 7 楼』:
 
 
使用 LLM 解释/回答一下
  
低级错误:--mem 和 /boot/grub/5.img 之间缺少空格。或者文件不存在,或者文件路径写错了。 
Low-level error: There is a missing space between --mem and /boot/grub/5.img. Or the file does not exist, or the file path is miswritten. 
    
 
  
  |  
                  
  
                    因为我们亲手创建,这个世界更加美丽。 |   
 | 
  2007-6-22 19:01 | 
  
 |