免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: zbxy
打印 上一主题 下一主题

grup 引导 [复制链接]

论坛徽章:
0
11 [报告]
发表于 2007-12-11 22:17 |只看该作者
谢谢阿 楼上的几位,下次遇到再试试吧

论坛徽章:
0
12 [报告]
发表于 2007-12-12 14:42 |只看该作者
用光盘引导,进入LINUX引导介面,按F2,输入linux rescue 进入LINUX修复模式

然后
语言及键盘都保持默认的

网络可以启用也可以不启用


模式选择
contiune
然后输入
mount -o
mount -a

输入: grub



grub> root (hd0,                            //这里按tab 键会帮你显示/分区所在的位置
Possible partitions are:
   Partition num: 0,  Filesystem type is ext2fs, partition type 0x83
   Partition num: 4,  Filesystem type unknown, partition type 0x82
   Partition num: 5,  Filesystem type is ext2fs, partition type 0x83
   Partition num: 6,  Filesystem type is ext2fs, partition type 0x83

grub> root (hd0,0)

grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  17 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+17 p (hd0,0)/boot/grub/stage2
/boot/grub/menu.lst"... succeeded
Done.

然后退出GRUB,reboot

重新启动电脑!

论坛徽章:
0
13 [报告]
发表于 2007-12-21 17:39 |只看该作者
多谢楼上的兄弟,挺仔细的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP