发明名称 Computer and computer control method
摘要 When a shutdown is detected, a master boot record (MBR) or a backup MBR are read. When the data of the MBR is not identical to the data of the backup MBR, the MBR is copied to the backup MBR. When the backup MBR cannot normally be read or is improper, the MBR is copied to the backup MBR. When the backup MBR cannot normally be read or is improper while the power of the computer is turned on, the MBR is copied to the backup MBR.
申请公布号 US9152431(B2) 申请公布日期 2015.10.06
申请号 US201114119770 申请日期 2011.09.22
申请人 NEC INFRONTIA CORPORATION 发明人 Watanabe Masahisa
分类号 G06F12/00;G06F9/44;G06F11/14;G06F3/06 主分类号 G06F12/00
代理机构 Sughrue Mion, PLLC 代理人 Sughrue Mion, PLLC
主权项 1. A method for controlling a computer comprising a storage unit storing a master boot record (MBR), a backup MBR to which the MBR is copied, an operating system (OS), and a memory storing a BIOS, the method comprising: reading, by the OS, the MBR and the backup MBR from the storage unit when detecting a shutdown, and determining, by the OS, whether the MBR and the backup MBR are capable of normally being read or are improper and whether data of the MBR is identical to data of the backup MBR;performing either one of first copying of the MBR to the backup MBR and second copying of the backup MBR to the MBR without a user's operation, the first copying being performed if the MBR and the backup MBR are capable of normally being read and data of the MBR is not identical to data of the backup MBR or the MBR is capable of normally being read and the backup MBR is not capable of normally being read or is improper, and the second copying being performed if the backup MBR is capable of normally being read and the MBR is not capable of normally being read or is improper;reading, by the BIOS, the MBR and the backup MBR from the storage unit when a power of the computer is turned on;determining whether the MBR and the backup MBR are capable of normally being read or are improper and whether data of the MBR is identical to data of the backup MBR;if the MBR is capable of normally being read and the backup MBR is not capable of normally being read or is improper, then performing first copying of the MBR to the backup MBR;if the MBR and the backup MBR are capable of normally being read and data of the MBR is not identical to data of the backup MBR, then performing second copying in of the backup to the MBR; andif the backup MBR is capable of normally being read and the MBR is not capable of normally being read or is improper; whereinwhen the first copying is performed, if a writing error occurs, then the load of the MBR is completed without creation of the backup MBR and if the writing error does not occur, then the load of the MBR is completed after creation of the backup MBR, the creation of the backup MBR including initial creation of the backup MBR, andwhen the second copying is performed, if a writing error occurs, then neither of the MBR and the backup MBR is loaded, and if the writing error does not occur, then the backup MBR is loaded as the MBR.
地址 Kawasaki JP
您可能感兴趣的专利