实用技巧:Linux系统硬盘安装的通用引导

上一篇 / 下一篇  2008-01-10 10:09:00

 

下载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是定义启动画面的持续时间,这几句不是主要的。主要的是最后的四句,倒数第四句定义启动的名字,随便起;倒数第三句定义启动的内核文件的存放位置;倒数第二句定义启动的初始化文件的存放位置;最后几句就是启动了!记住两个位置一定要与你实际存放的位置一致


TAG:

 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

我的栏目

日历

« 2008-08-14  
     12
3456789
10111213141516
17181920212223
24252627282930
31      

数据统计

  • 访问量: 3157
  • 日志数: 87
  • 建立时间: 2007-04-09
  • 更新时间: 2008-07-21

RSS订阅

Open Toolbar