中国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-11 23:46
47,811 topics / 349,897 posts / today 0 new / 48,256 members
GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » [Help] About the batch script for loading floppy disk images with Grub.exe under DOS
Printable Version  3,067 / 3
Floor1 adiwdmd Posted 2005-10-11 14:25
初级用户 Posts 15 Credits 50
I want to use batch processing under DOS to load a floppy disk image with GRUB.exe, but it never works. The readme.txt says: FILE can be the contents of a menu. Use semi-colon to delimitate the embedded commands here in FILE. The FILE can be enclosed with a pair of double-quotes. For example: GRUB --config-file="root (hd0,0);chainloader +1" But I created dos.bat with the content: GRUB --config-file="map --mem (hd0,0)/boot/dos.img (fd0);map --hook;chainloader (fd0)+1;rootnoverify (fd0);boot" It doesn't seem to work. Please give guidance.
Floor2 tinybit Posted 2005-10-12 21:52
初级用户 Posts 57 Credits 137
It seems that this command itself is not wrong. The key is that other errors may occur. You can type the commands one by one under the GRUB command line and see which command goes wrong. For example, reading the DOS.IMG file under NTFS may go wrong, which is a publicly announced BUG. You can also test commands like --config-file="help;pause Press any key to continue" and compare why others are successful while this situation you encountered fails? Also, when encountering problems, the first thing is to "save oneself", that is, try to solve it by yourself, explore from different perspectives, and if you really can't, then come to ask for help.
Floor3 adiwdmd Posted 2005-10-13 19:05
初级用户 Posts 15 Credits 50
Thanks
Floor4 fairsky007 Posted 2010-09-01 18:39
初级用户 Posts 8 Credits 21
I also want to solve the same problem. Which expert can give an example?

Everyone help to top it!!!1

Thanks a million!!!!!!!!!!!!!!!!!!!!!!!!!!
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023