LinuxSir.cn,穿越时空的Linuxsir!

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

如何改成GRUB引导????

[复制链接]
发表于 2003-7-4 01:46:37 | 显示全部楼层 |阅读模式
偶在安装MDK9.1时安装了以GRUB引导系统,一直很顺得,前几天偶修改

了/etc/lilo.conf 并用/sbin/lilo重新生成了,(因为当时找不到gurb.conf)


之后发现以lilo引导系统了,偶想回到以grub引导,所以偶在MDK控制中心修改引导,


将lilo换为grub,但再次引导发现仍然以lilo引导,请教各位,应该如何修改啊??


还有,忘记了备份,没有将原来的grub记录下来,所以可不可以将默认的文件写一份给偶,谢谢了先……………………
发表于 2003-7-4 07:42:19 | 显示全部楼层
用你的方法,在MDK控制中心修改引导,我的可以改呀,改了几次,都没问题。
发表于 2003-7-4 10:27:24 | 显示全部楼层
grub-install
 楼主| 发表于 2003-7-4 13:58:09 | 显示全部楼层
[root@192 binbin]# gru
grub            grub-md5-crypt
grub-install    grub-terminfo
[root@192 binbin]# grub-install
install_device not specified.
Usage: grub-install [OPTION] install_device
Install GRUB on your drive.

  -h, --help              print this message and exit
  -v, --version           print the version information and exit
  --root-directory=DIR    install GRUB images under the directory DIR
                          instead of the root directory
  --grub-shell=FILE       use FILE as the grub shell
  --force-lba             force GRUB to use LBA mode even for a buggy
                          BIOS
  --recheck               probe a device map even if it already exists

INSTALL_DEVICE can be a GRUB device name or a system device filename.

Report bugs to <bug-grub@gnu.org>.
发表于 2003-7-4 19:57:44 | 显示全部楼层
grub-install /dev/hda   

最初由 斌斌无理 发表
[root@192 binbin]# gru
grub            grub-md5-crypt
grub-install    grub-terminfo
[root@192 binbin]# grub-install
install_device not specified.
Usage: grub-install [OPTION] install_device
Install GRUB on your drive.

  -h, --help              print this message and exit
  -v, --version           print the version information and exit
  --root-directory=DIR    install GRUB images under the directory DIR
                          instead of the root directory
  --grub-shell=FILE       use FILE as the grub shell
  --force-lba             force GRUB to use LBA mode even for a buggy
                          BIOS
  --recheck               probe a device map even if it already exists

INSTALL_DEVICE can be a GRUB device name or a system device filename.

Report bugs to <bug-grub@gnu.org>.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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