中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-12 07:06
47,811 topics / 349,897 posts / today 0 new / 48,256 members
GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » Problems with GRUB failing to boot a 4M CD image file
Printable Version  1,590 / 6
Floor1 cxfaa Posted 2007-06-21 08:56
初级用户 Posts 23 Credits 64
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......
Floor2 barton Posted 2007-06-21 09:18
中级用户 Posts 197 Credits 480 From 黄冈
The path is incorrect.
map --mem (hd0,0)/boot/grub/5.img (fd0)
Floor3 lianjiang2004 Posted 2007-06-21 12:35
金牌会员 Posts 1,884 Credits 3,946
Grammar error, as for whether it is (hd0,0), it depends on the partition situation of your computer. Generally, C:\ is (hd0,0).
Floor4 cxfaa Posted 2007-06-21 17:03
初级用户 Posts 23 Credits 64
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)
Floor5 不点 Posted 2007-06-21 17:18
银牌会员 Posts 1,115 Credits 2,491
The GRUB version you are using is too old and does not support the --mem parameter.
Floor6 cxfaa Posted 2007-06-22 15:18
初级用户 Posts 23 Credits 64
I changed to 0.42 and it still doesn't work. I don't know where the problem is.
Floor7 不点 Posted 2007-06-22 19:01
银牌会员 Posts 1,115 Credits 2,491
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.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023