红联Linux门户
Linux帮助

修复grub,让linux and windows共存

发布时间:2007-09-09 00:19:22来源:红联作者:soepmbcket
grub损坏后,只能进入一个系统,最后用以下命令实现了linux and windows共存:

1、光盘引导,出现boot:时输入linux rescue , continue

2、参照提示做相应操作,进入提示符界面后运行:chroot /mnt/sysimage;

3、在grub.conf中加入:
title windows xp
rootnoverify (hd0,1)
makeactive
chainloader +1;

再运行:grub-install /dev/had;
restart computer;
文章评论

共有 1 条评论

  1. tearring 于 2007-09-09 10:18:36发表:

    了解
    谢LZ了