China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-25 01:27
中国DOS联盟论坛 » GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » Problems with GRUB failing to boot a 4M CD image file View 1,469 Replies 6
Original Poster Posted 2007-06-21 08:56 ·  中国 福建 南平 电信
初级用户
Credits 64
Posts 23
Joined 2007-01-16 05:01
19-year member
UID 76643
Gender Male
Status Offline
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......
Floor 2 Posted 2007-06-21 09:18 ·  中国 福建 厦门 电信
中级用户
★★
Credits 480
Posts 197
Joined 2006-09-20 00:40
19-year member
UID 63115
From 黄冈
Status Offline
The path is incorrect.
map --mem (hd0,0)/boot/grub/5.img (fd0)
Floor 3 Posted 2007-06-21 12:35 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
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
Floor 4 Posted 2007-06-21 17:03 ·  中国 福建 南平 电信
初级用户
Credits 64
Posts 23
Joined 2007-01-16 05:01
19-year member
UID 76643
Gender Male
Status Offline
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)
Floor 5 Posted 2007-06-21 17:18 ·  中国 河南 南阳 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
The GRUB version you are using is too old and does not support the --mem parameter.
因为我们亲手创建,这个世界更加美丽。
Floor 6 Posted 2007-06-22 15:18 ·  中国 福建 南平 电信
初级用户
Credits 64
Posts 23
Joined 2007-01-16 05:01
19-year member
UID 76643
Gender Male
Status Offline
I changed to 0.42 and it still doesn't work. I don't know where the problem is.
Floor 7 Posted 2007-06-22 19:01 ·  中国 河南 南阳 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
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.
因为我们亲手创建,这个世界更加美丽。
Forum Jump: