红联Linux门户
Linux帮助

linux硬盘安装之通用引导

发布时间:2008-01-08 20:42:28来源:红联作者:Storedata
下载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是定义启动画面的持续时间,这几句不是主要的。主要的是最后的四句,倒数第四句定义启动的名字,随便起;倒数第三句定义启动的内核文件的存放位置;倒数第二句定义启动的初始化文件的存放位置;最后几句就是启动了!记住两个位置一定要与你实际存放的位置一致。
文章评论

共有 7 条评论

  1. dhtustmqj 于 2013-05-14 19:50:37发表:

    no

  2. libing2006 于 2013-05-14 14:57:40发表:

    可能简单了点。

  3. dream100 于 2009-11-30 13:54:12发表:

    多谢

  4. yuchao668 于 2009-11-08 02:18:13发表:

    我装系统一般就是用硬盘安装的,grubdos经常会用到

  5. yuchao668 于 2009-11-08 02:16:00发表:

    我装系统一般就是用硬盘安装的,grubdos经常会用到

  6. haiya820 于 2009-11-08 00:44:44发表:

    感觉很好用,正在想办法试呢

  7. relaaxx 于 2008-01-08 20:49:52发表:

    可能简单了点,对于不同的镜象放置点,硬盘安装可能会不一样