删除linux后无法启动windows的解决办法

转自[http://hi.baidu.com/chenliangzzu/item/fe14ac060efe346bd45a11dd]

 

出于学习的需要在原来windows的基础上安装了linux 系统。。昨天想把linux系统删掉。。直接把linux系统所在盘格式化了,结果再次启动的时候就进不去windows系统了出现以下情况:

GNU GRUB VERSION 0.95 (638Klower/195520K upper momory) [Minimal BASH-like line editing is supported.For the first word,TAB lists possibble completions of a device/filename.] grub>
按下TAB键后有如下提示: Possible commands are:blocklist boot cat chainloader cmp color configfile debug displayapm displaymem embed find fstest geometry halt help hide impsprobe in initrd install ioprbe kernel lock makeactive map md5crupt module modlenounzip pager partnew parttype password pause reboot root rootnoverify savedefault serial setkey setup terminal terminfo testload testrbe unhide uppermem vbprobe grub>

-----------------------------------------------------------------------------------------------------------------------------------

解决方案:

GNU是程序开放协定,也就是一种反版权协定,可以不管他
Grub是Linux操作系统自带的系统加载程序,也可以用在其他操作系统的加载上,比如Windows,特点是可以管理和加载多个系统
Grub出错了就需要手动用grub命令的形式加载系统 启动windows的命令是
grub> rootnoverify   (hd0,0) grub> makeactive grub> chainloader +1
grub> boot

注:这里的hd0,0可能会根据你的硬盘分区情况不同而不同,hd0是指第一块硬盘,后边的0是指第一个分区。 恢复Windows的启动菜单的话还要这么输入一遍命令:
grub> title windows grub> root (hd0,0) grub> chainloader +1

或者把c盘格式化后重新安装系统,不用输入什么代码直接解决问题。。所以以后装完系统做个备份遇到问题恢复还是很方便的

posted on 2012-11-13 20:12  GloriousOnion  阅读(3697)  评论(0编辑  收藏  举报