这个真的很难帮你~多多了解grub4dos自己帮自己、提高自己!grub4dos主要包括2个主程序grldr和grub.exe这里我不再多说了,自己看grub_for_dos-0.4.2pre11包里README和例子,或者在论坛里搜索不点(grub4dos作者)
下载地址http://sarovar.org/project/showfiles.php?group_id=320&release_id=670
下面例出几个纯dos下的grub的命令
Grub.exe --config-file="title 查找ntldr(即2000~XP系统)所在分区并启动;find --set-root /ntldr;chainloader /ntldr;"
Grub.exe --config-file="title 启动第一硬盘第一分区上的系统;root (hd0,0);chainloader +1"
引导(hd0,0)分区(即第一硬盘第一分区)中的系统
Grub.exe --config-file="title 启动第二硬盘第一分区上的系统;root (hd1,0);chainloader +1"
grub.exe --config-file="title 查找xxxx.img软盘镜像并启动;find --set-root /xxxx.img;map --mem /xxxx.img (fd0);map --hook;chainloader (fd0)+1;rootnoverify (fd0);"
Last edited by fastslz on 2006-11-7 at 09:30 PM ]
This is really difficult to help you~ Learn more about grub4dos by yourself and improve yourself! Grub4dos mainly includes two main programs, grldr and grub.exe. I won't say more here. Look at the README and examples in the grub_for_dos-0.4.2pre11 package by yourself, or search in the forum for Budian (the author of grub4dos).
Download address: http://sarovar.org/project/showfiles.php?group_id=320&release_id=670
The following lists several pure DOS commands for grub:
Grub.exe --config-file="title Find the partition where ntldr (that is, 2000~XP system) is located and start;find --set-root /ntldr;chainloader /ntldr;"
Grub.exe --config-file="title Start the system on the first partition of the first hard disk;root (hd0,0);chainloader +1"
Boot the system in the (hd0,0) partition (that is, the first partition of the first hard disk)
Grub.exe --config-file="title Start the system on the first partition of the second hard disk;root (hd1,0);chainloader +1"
grub.exe --config-file="title Find the xxxx.img floppy disk image and start;find --set-root /xxxx.img;map --mem /xxxx.img (fd0);map --hook;chainloader (fd0)+1;rootnoverify (fd0);"
Last edited by fastslz on 2006-11-7 at 09:30 PM ]