有需要用grub for dos的朋友,请下载。
这是目前最新的版本,支持中文菜单;
就一般应用来说,grub for dos的用法极其简单,只要把grub4dos文件夹下的grldr复制到C盘,然后再C盘根目录下建一个menu.lst文件(格式基本上与grub.conf相同),然后再修改一下boot.ini就行了,就是在boot.ini中添加一句:
c:\grldr="你想要的菜单名称"
就行了。
举个例子:
boot.ini文件内容:
[boot loader]
timeout=10
default=C:\grldr
[operating systems]
C:\grldr="Grub for DOS"
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /usepmtimer
menu.lst文件内容:
timeout 5
default 2
color black/cyan yellow/cyan
title Windows XP Professional
root(hd0,0)
chainloader +1
title Red Hat Enterprise Linux Server
root (hd0,2)
kernel (hd0,2)/vmlinuz-2.6.18-92.el5 ro root=LABEL=/ rhgb quiet
initrd (hd0,2)/initrd-2.6.18-92.el5.img
title Ubuntu
root (hd0,6)
kernel (hd0,6)/vmlinuz-2.6.24-16-generic root=/dev/sda9 ro quiet splash locale=zh_CN
initrd (hd0,6)/initrd.img-2.6.24-16-generic
下面的压缩包中有一个grub.txt是redhat里面的grub的info帮助文件,若是想对grub了解请看一下(英文的)。
Kesirst 于 2009-03-23 18:20:12发表:
这上面的是不是老了,2.6.18
ireed 于 2009-03-23 18:06:32发表:
do not forget that you have to specify a root partition to the kernel.
我一次就是忘了,呵呵……
在这里,再次向“相思爱文”同志致谢,向红联的同志们致谢!!!