下载Grub for dos,提取grldr复制到系统根目录,然后再载系统根目录建立文件夹Grub,在文件夹里面建立menu.lst文件,用记事本打开,复制粘贴一下内容:
# This is a sample menu.lst file. You should make some changes to it.
# The old install method of booting via the stage-files has been removed.
# Please install GRLDR boot strap code to MBR with the bootlace.com
# utility under DOS/Win9x or Linux.
color black
timeout 30
default /default
title linux install
kernel (hd0,5)/vmlinuz root=/dev/ram ramdisk_size=20000 devfs=mount,dall
initrd (hd0,5)/initrd
boot
|
大概解释下,color black定义了启动画面得颜色,timeout 30是定义启动画面的持续时间,这几句不是主要的。主要的是最后的四句,倒数第四句定义启动的名字,随便起;倒数第三句定义启动的内核文件的存放位置;倒数第二句定义启动的初始化文件的存放位置;最后几句就是启动了!记住两个位置一定要与你实际存放的位置一致。
(责任编辑:A6)
本站文章仅代表作者观点,本站仅传递信息,并不表示赞同或反对.转载本站点内容时请注明来自www.linuxeden.com-Linux伊甸园。如不注明,www.linuxeden.com将根据《互联网著作权行政保护办法》追究其相应法律责任。
来源:赛迪网 作者:sixth 时间: 2008-01-18 10:57:31 评论0条 点击:阅读次数:
次
把开源带在你的身边-精美linux小纪念品
评论加载中…