安裝過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