LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 828|回复: 9

grub 怎么装???

[复制链接]
发表于 2004-10-26 18:30:26 | 显示全部楼层 |阅读模式
grub_install /dev/hda
等了好长时间 但是没有装上 还没有提示....
grub 到底是怎么装...???
请指教......
发表于 2004-10-26 18:39:44 | 显示全部楼层
grub_install (hd0)
发表于 2004-10-26 19:26:22 | 显示全部楼层
如果/boot/grub内没文件,需将
/usr/share/grub/i386-pc
的文件拷贝到该文件夹下
 楼主| 发表于 2004-10-26 20:00:21 | 显示全部楼层
thanks
 楼主| 发表于 2004-10-26 21:00:24 | 显示全部楼层
请问 menu.lst
要自己写吗???
我没找到deamon
发表于 2004-10-26 21:34:09 | 显示全部楼层
我的menu.lst
# general configuration:
timeout   5
default   0
color light-blue/black light-cyan/blue

# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
# TIP: To use udev, add "devfs=nomount" to your kernel line.
#
#-*

#(0) slackware
title  slackware-2.6.7  
        root   (hd0,4)
        kernel /boot/vmlinuz-generic-2.6.7  root=/dev/hda5 ro vga=791
        initrd /boot/initrd.gz


# (1) Windows
title Windows
        root  (hd0,0)
        makeactive
        chainloader +1
发表于 2004-10-27 00:41:16 | 显示全部楼层
装了grub了吗?如果装了就运行
grub-install
然后会跳出个界面。。按照提示做就行了
 楼主| 发表于 2004-10-27 12:34:26 | 显示全部楼层
不好意识
run grub-install
没有跳出什么界面...
发表于 2004-10-27 14:06:06 | 显示全部楼层
q
发表于 2004-10-27 14:08:45 | 显示全部楼层
两种方法:
方法1:
[PHP]
# grub-instrall hd0[/PHP]
方法2:[PHP]
# grub[/PHP]
进入grub界面:[PHP]
    GNU GRUB  version 0.95  (640K lower / 3072K upper memory)

[ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename. ]

grub> root (hd0,4)   《----你的boot所在分区
grub> setup (hd0)      《----装到MBR

[/PHP]
最初由 athlon_r 发表
不好意识
run grub-install
没有跳出什么界面...
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表