安装过linux系统的朋友,有过这样的经历,安装Grub的时候,把硬盘的MBR修改了,可是删除LINUX的时候,却连原来的WINDOWS系统也启动不了,怎么办? linux 写入MBR的方法,有两种比较简单 less 第1种方法:就是将Windows的安装盘放入计算机之后,重启计算机,进入Windows安装程序,随后,进入恢复控制台,输入命令fixmbr便可。 |
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. rest
Commands restorembr, fixmbr, generatesignature, writestate and clean will ask for confirmation unless /yes is included. code
If the /byte option is given for the readsignature command, the signature is returned as a byte array instead of as a DWORD. orm
附二:Mbr Fix下载(35KB) blog