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 ]