Please refer to http://grub4dos.sourceforge.net/wiki/ for DOCs on GRUB4DOS.
Main project page: https://gna.org/projects/grub4dos/
Download site: http://download.gna.org/grub4dos/
Download site: http://grub4dos.sourceforge.net/
Download site: http://sarovar.org/projects/grub4dos/
Download site: http://grub4dos.nufans.net/
Download site: http://sites.google.com/site/grubdos/
Download site: http://grub4dos.jot.com/
Get the latest source code by using anonymous svn in this way:
svn co svn://svn.gna.org/svn/grub4dos/trunk grub4dos
or in this way:
svn co http://svn.gna.org/svn/grub4dos/trunk grub4dos
View the source code online with your web browser at:
http://svn.gna.org/viewcvs/grub4dos/trunk/
GRUB4DOS mailing list:
grub4dos-devel@gna.org
Subscription page:
https://mail.gna.org/listinfo/grub4dos-devel/
Discussion forum(Official technical support site):
http://www.boot-land.net/forums/index.php?showforum=66
------------------------------------------------------------------------------
Usage:
GRUB [--bypass] [--time-out=T] [--hot-key=K] [--config-file=FILE]
The FILE, for example, can be (hd0,0)/menu.lst
In CONFIG.SYS, the line looks like:
install=c:\some\where\grub.exe --config-file=FILE
If no options present, GRUB.EXE simply uses
(hd0,0)/menu.lst
as the configure file, if it exists. (Notice! We finally
changed the default file from (hd0,0)/boot/grub/menu.lst to
(hd0,0)/menu.lst) (Changed 2006-12-23. See Update 3 below.)
The partition (hd0,0) can be of a Windows partition or a Linux
partition, or any other partition type supported by GRUB.
Only GRUB-style filename is acceptable here for FILE. A DOS
filename won't work(it is certain we should use GRUB-style
filenames because DOS-filenames won't access a file in a
Linux ext2 partition for example).(See Update 2 below)
Update: 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"
This command will boot the system in (hd0,0).
Another example:
GRUB --config-file="reboot"
This command will reboot the machine.
One more example:
GRUB --config-file="halt"
This command will halt the machine.
if --bypass is specified, GRUB will exit to DOS when
timeout reached.
The option `--time-out=T' specifies the timeout value in
seconds. T defaults to 5 if --bypass is specified and defaults
to 0 if --bypass is not specified.
The default hot key value is 0x3920(for space bar). If this
key is pressed, GRUB will boot normally. If another key is
pressed, GRUB will terminate immediately and return back to
DOS. See "int 16 keyboard scan codes" below.
Each option can be specified only once at most.
Update 2: DOS filenames have been supported(patched by John
Cobb). If the beginning two characters of FILE are "#@", then
the rest of FILE is taken as a DOS filename. Example:
GRUB --config-file="#@c:\menu.lst"
Only the beginning 4KB of the DOS file will be used. The file
should be an uncompressed text file.
Note: You may also use the `direct DOS file access' with the
SHELL or INSTALL line in CONFIG.SYS, but should not use it
with the DEVICE line. The DOS document said that a DOS device
driver should not call the `open file' DOS call.
Update 3(2006-12-23): By default, GRUB.EXE will locate its
config file in the following order:
(DOS file) .\menu.lst, the MENU.LST in the current dir.
(DOS file) \menu.lst, the MENU.LST in the root dir of
the current drive.
(GRUB file) /menu.lst, the MENU.LST in the root dir of
the boot device.
The default boot device is still (hd0,0).
--------------------------------------------------------
Update 1: Version 0.2.0 also brings out a new thing, GRUB for NTLDR,
which could be used to boot into GRUB from the boot menu
of Windows NT/2000/XP. Copy GRLDR to the root directory of
drive C: of Windows NT/2000/XP and append to C:\BOOT.INI
this line:
C:\GRLDR="Start GRUB"
That will be done. The GRLDR should be in the same directory
as BOOT.INI and NTLDR. Note that BOOT.INI is usually hidden
and you must unhide it before you can see it. The filename
GRLDR shouldn't be changed. If GRLDR is in a NTFS partition,
it should be copied to the root directory of another non-NTFS
partition(and likewise should the menu.lst file be). If GRLDR
is compressed, e.g., in a NTFS partition, it will not work.
Even if the drive letter of this disk has been changed to
other than C by the Windows device manager, it seems you still
have to use the letter C here in BOOT.INI, otherwise, NTLDR
will fail to locate the GRLDR file.
And what's more, if you are booting NTLDR from a floppy, you
will have to write the GRLDR line in A:\BOOT.INI like this:
C:\GRLDR="Start GRUB"
and shouldn't use the letter A like this:
A:\GRLDR="Start GRUB"
(Note that in the case when BOOT.INI is on floppy A, the
notation "C:\GRLDR" actually refer to the file A:\GRLDR).
Update 2: GRUB for Linux is also introduced along with 0.2.0. You can
boot grub using a linux loader KEXEC, LILO, SYSLINUX or another
GRUB. (GRUB4LIN has merged into GRUB.EXE)
To boot GRUB off Linux, use this pair of commands:
kexec -l grub.exe
kexec -e
To boot GRUB via GRUB, use commands like the following:
kernel (hd0,0)/grub.exe
boot
To boot GRUB via LILO, use these lines in lilo.conf:
image=/boot/grub.exe
label=grub.exe
To boot GRUB via SYSLINUX, use these lines in syslinux.cfg:
label grub.exe
kernel grub.exe
LOADLIN may encounter problems when loading grub.exe, because
grub.exe requires some unchanged original BIOS interrupt
vectors, but DOS has destroyed them, and loadlin does not
recover them before it transfers control to grub.exe.
Update 3: Beginning at version 0.4.0, GRUB for DOS supports memdrives.
Example:
# boot into a floppy image
map --mem (hd0,0)/floppy.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
map --floppies=1
boot
Because the image will be copied to a memory area, the image
itself can be non-contiguous and even gzipped.
Another Example:
map --mem=-2880 (hd0,0)/floppy.img (fd0)
This memdrive (fd0) will occupy at least 1440 KB of memory.
This is useful when the size of a 1.44M-floppy image is less
than 1440 KB.
One more example:
map --mem --read-only (hd0,0)/hd.img (hd1)
This memdrive is a hard drive, and read-only. That means you
will not be able to write data to the memdrive (hd1).
You can use many memdrives and many ordinary virtual emulated
disk-based drives at the same time.
If the BIOS does not support int15/EAX=e820h, you will not be
able to use any memdrives.
Update 4: For memdrive emulation, a single-partition image can be used
instead of a whole-harddrive image. Example:
map --mem (hd0,7)/win98.img (hd0)
map --hook
chainloader (hd0)+1
rootnoverify (hd0)
map --harddrives=1
boot
Here win98.img is a partition image without the leading MBR
and partition table in it. Surely GRUB for DOS will build an
MBR and partition table for the memdrive (hd0).
Update 5: Now GRLDR can be used as a no-emulation-mode bootable CD-ROM
boot image. Example for Linux users:
mkdir iso_root
cp grldr iso_root
mkisofs -R -b grldr -no-emul-boot -boot-load-seg 0x1000 -o bootable.iso iso_root
As an alternative, grldr can also be used the same way as
stage2_eltorito. The -boot-info-table option is allowed but you
can omit it:
mkdir iso_root
cp grldr iso_root
mki
没有合适的资源?快使用搜索试试~ 我知道了~
grub for dos 0.4.2下载
共238个文件
c:68个
h:64个
s:17个
4星 · 超过85%的资源 需积分: 9 13 下载量 125 浏览量
2011-03-03
19:56:25
上传
评论
收藏 1.36MB ZIP 举报
温馨提示
grub_for_dos-0.4.2应该是目前的最新版了,其实现在应该叫grub for all,各种平台都可以使的grub,这是最新版(非稳定)。
资源推荐
资源详情
资源评论
收起资源包目录
grub for dos 0.4.2下载 (238个子文件)
mbchk.1 837B
grub.8 1KB
grub-install.8 1KB
grub-md5-crypt.8 807B
grub-terminfo.8 772B
configure.ac 21KB
Makefile.am 14KB
Makefile.am 8KB
Makefile.am 2KB
Makefile.am 619B
Makefile.am 416B
Makefile.am 343B
Makefile.am 198B
Makefile.am 177B
AUTHORS 2KB
BUGS 182B
build 4KB
builtins.c 312KB
tlan.c 111KB
tulip.c 70KB
disk_io.c 50KB
stage2.c 44KB
fsys_reiserfs.c 39KB
fsys_ntfs.c 36KB
gunzip.c 35KB
char_io.c 35KB
main.c 32KB
sk_g16.c 32KB
via-rhine.c 31KB
3c90x.c 31KB
w89c840.c 30KB
getopt.c 29KB
boot.c 28KB
depca.c 27KB
sis900.c 27KB
fsys_ext2fs.c 27KB
asmstub.c 26KB
ns8390.c 26KB
i82586.c 25KB
cs89x0.c 25KB
common.c 23KB
device.c 21KB
natsemi.c 20KB
davicom.c 20KB
config.c 20KB
bios.c 20KB
eepro100.c 20KB
fsys_pxe.c 18KB
eepro.c 18KB
smp-imps.c 18KB
lance.c 18KB
tparm.c 16KB
3c509.c 16KB
rtl8139.c 15KB
smc9000.c 15KB
fsys_xfs.c 15KB
fsys_minix.c 15KB
fsys_fat.c 14KB
ni5010.c 14KB
graphics.c 14KB
pci.c 13KB
epic100.c 13KB
fa311.c 12KB
3c595.c 12KB
fsys_iso9660.c 12KB
otulip.c 12KB
fsys_tftp.c 11KB
fsys_jfs.c 10KB
serial.c 10KB
md5.c 9KB
fsys_ufs2.c 9KB
fsys_ffs.c 8KB
tiara.c 7KB
kernel.c 7KB
main.c 7KB
cmdline.c 6KB
fsys_vstafs.c 6KB
terminfo.c 6KB
mbchk.c 5KB
misc.c 5KB
getopt1.c 4KB
hercules.c 4KB
timer.c 3KB
console.c 2KB
stage1_5.c 2KB
ChangeLog 326KB
compile 4KB
configure 230KB
COPYING 18KB
default 2KB
depcomp 15KB
patch-chinese.diff 58KB
GNUmakefile 75B
grub4dos_version 6B
config.guess 42KB
autoconf.h 84KB
shared.h 39KB
ufs2.h 19KB
fs.h 18KB
xfs.h 18KB
共 238 条
- 1
- 2
- 3
资源评论
- Klin_Carlson2012-10-15很好的东西,我用它装了我的linux,网上有很详细的使用方法
th71233579a
- 粉丝: 0
- 资源: 16
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功