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 05:06
中国DOS联盟论坛 » GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » [Help] grub4dos can't find the file View 1,832 Replies 2
Original Poster Posted 2007-08-06 09:30 ·  中国 广东 佛山 电信
新手上路
Credits 4
Posts 1
Joined 2007-08-06 09:05
18-year member
UID 94711
Gender Male
Status Offline
Help: grub4dos can't find the file

I studied the application section of lianjiang2004's tutorial and planned to make a boot disk myself.
1. Download grub4dos-0.4.3-2007-08-04.zip, extract the chinaese grldr, and rename it to grldr。bif.
2. Use UltraISO to create a new ISO file, then do "Bootable CD/DVD" - "Load Boot File", and select the grldr.bif file. Then do "File" - "Properties", check the "Allow Lowercase Names" option, and save the ISO file.
3. Put menu.lst, grldr, and the folder boot (lowercase) in the CD root directory. Under it is the folder grub (lowercase), and inside it are fonts, grldr, memdisk.gz, wingrub.gz, 123.img (all lowercase)
4. The menu.lst file is as follows:】

timeout 30
default 1
root (cd)
fontfile (cd)/grub/fonts
splashimage (cd)/grub/wingrub.gz

title Boot from my imgDisk
map --mem (cd)/boot/grub/123.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

title Boot from Hard Disk
root (hd0,0)
chainloader +1

title 重启
reboot

title 关机
halt
========
After burning the disc, the result was that there was no background image, only a black-and-white menu. Choosing the first option gives error17, saying it can't find the file. I don't know what's going on, please give me some advice. Thanks~~

After that I tried changing it to TOOLS.IMG (that is, uppercase), and modified the corresponding menu.lst file, but it was still the same error
Floor 2 Posted 2007-09-06 19:55 ·  中国 甘肃 兰州 电信
新手上路
Credits 12
Posts 6
Joined 2006-08-09 10:09
19-year member
UID 60139
Status Offline
default 1
root (cd)
fontfile (cd)/boot/grub/fonts
splashimage (cd)/grub/wingrub.gz

ok

As for not being able to find the file, sometimes it really is because of letter case!!! I've run into that before.

That is to say, menu.lst uppercase /boot/grub may possibly be lowercase(:()

[ Last edited by duyapy802 on 2007-9-6 at 08:01 PM ]
Floor 3 Posted 2007-10-03 12:03 ·  中国 甘肃 兰州 电信
新手上路
Credits 12
Posts 6
Joined 2006-08-09 10:09
19-year member
UID 60139
Status Offline
I agree with the poster above

I've run into it before too

Newbies especially need to pay attention to the case of file and directory names if you're really booting from a CD


Then just give the absolute path directly in menu.lst, for example


chanloader (cd)/boot/grub/win98.ima
Forum Jump: