打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
在Windows下删除Linux系统的方法(附修复MBR的工具下载)
在Windows下删除Linux系统的方法(附修复MBR的工具下载)
2008年06月23日 星期一 9:18 A.M.

   我的电脑安装了双系统,Windows和Linux,不过由于Linux在最近一段时间内不会使用,所以我打算删除Linux。
   删除Linux最需要注意的地方,就是MBR(Master Boot Record)。在删除Linux分区前,我们需要将启动Windows的引导信息写入MBR,否则,MBR中的Linux引导信息,当然就不能启动Windows系统了。

一:将Windows的引导信息写入MBR
   写入MBR的方法,有两种比较简单
   第1种方法:就是将Windows的安装盘放入计算机以后,重启计算机,进入Windows安装程序,随后,进入恢复控制台,输入命令fixmbr即可。
   第2种方法是为没有Windows安装盘的朋友准备的,就是使用MBRFix工具进行修复。
   MBRFix工具修复MBR很方便,先进入cmd命令窗口,然后进入mbrfix工具所在的目录(用cd命令),然后输入命令 MbrFix /drive 0 fixmbr ,再确认一下即可。重启以后你会发现,没有了Linux,直接可以进入Windows了。

二:删除Linux分区
   最后一件事情,就是删除Linux所在的分区,这个很简单,您可以使用patition的分区工具,将该分区格式化成fat32或ntfs格式,就可以在Windows下使用了。
   请不要使用Windows自带的分区工具进行分区,因为Windows自带的分区工具不能识别Linux分区。如果您使用了Windows自带的分区工具,那么您的硬盘数据极有可能被破坏(我有过惨痛经历)。如果您的硬盘数据被破坏了,那么请用能够修复分区的数据恢复软件进行修复,不过不一定成功喔,看人品了~




附一:MbrFix命令

Commands:

MbrFix /drive <num> driveinfo              Display drive information
MbrFix /drive <num> listpartitions Display partition information
MbrFix /drive <num> savembr <file> Save MBR and partitions to file
MbrFix /drive <num> restorembr <file> Restore MBR and partitions from file
MbrFix /drive <num> fixmbr Update MBR code to W2K/XP/2003
MbrFix /drive <num> clean Delete partitions in MBR
MbrFix /drive <num> readsignature {/byte} Read disk signature from MBR
MbrFix /drive <num> generatesignature Generate disk signature in MBR
MbrFix /drive <num> readstate Read state from byte 0x1b0 in MBR
MbrFix /drive <num> writestate <state> Write state to byte 0x1b0 in MBR

Drive numbering <num> starts on 0.

Commands restorembr, fixmbr, generatesignature, writestate and clean will ask for confirmation unless /yes is included.

If the /byte option is given for the readsignature command, the signature is returned as a byte array instead of as a DWORD.

附二:Mbr Fix下载(35KB)

http://www.cnitblog.com/Files/CoffeeCat/MbrFix.rar

转自:http://www.cnitblog.com/CoffeeCat/archive/2007/10/11/34673.aspx
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
Windows与Linux双系统共存,完整卸载Linux系统
mbrfix工具的用法
双系统时如何正确删除Linux系统
Windows下修复mbr的软件:MbrFix.exe
Windows、Ubuntu双系统正确卸载Ubuntu系统
XP/Win7/Vista和Linux(Ubuntufedora等)双系统下完美卸载Linux | Seth's Blog by hekai
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服