System and method for booting alternate MBR in event of virus attack
First Claim
Patent Images
1. A computer medium storing logic comprising:
- receiving a boot interrupt signal to interrupt a boot loader invoking a current master boot record (MBR);
in response to the boot interrupt signal, determining whether a data structure listing plural backed-up MBRs is valid;
in response to a determination that the data structure is valid, backing up the current MBR and furthermore overwriting a current master boot record (MBR) with a service MBR;
using the service MBR, booting a service operating system; and
replacing the service MBR with a previously backed-up MBR, wherein the current MBR is overwritten with the service MBR only if the service MBR is first determined to be valid;
in response to a determination that the data structure is not valid, testing at least one backed-up MBR by accessing a partition using a partition table of the backed-up MBR;
determining whether the partition has a valid partition header partition boot record (PBR) to ensure that the partition is the partition indicated in the partition table;
comparing data found in the partition to data in a most recent backup of the partition, and if at least the data found in the partition and the data in the most recent backup of the partition agree, replacing the current MBR with the backed-up MBR.
2 Assignments
0 Petitions
Accused Products
Abstract
In the event of a virally infected MBR on a hard disk drive that might prevent booting, a service MBR in a hidden protected area (HPA) can be used to boot a service O.S., and then the service MBR can be replaced with a previously backed-up MBR, also in the HPA, to mount any missing partitions.
32 Citations
14 Claims
-
1. A computer medium storing logic comprising:
-
receiving a boot interrupt signal to interrupt a boot loader invoking a current master boot record (MBR); in response to the boot interrupt signal, determining whether a data structure listing plural backed-up MBRs is valid; in response to a determination that the data structure is valid, backing up the current MBR and furthermore overwriting a current master boot record (MBR) with a service MBR; using the service MBR, booting a service operating system; and replacing the service MBR with a previously backed-up MBR, wherein the current MBR is overwritten with the service MBR only if the service MBR is first determined to be valid; in response to a determination that the data structure is not valid, testing at least one backed-up MBR by accessing a partition using a partition table of the backed-up MBR; determining whether the partition has a valid partition header partition boot record (PBR) to ensure that the partition is the partition indicated in the partition table; comparing data found in the partition to data in a most recent backup of the partition, and if at least the data found in the partition and the data in the most recent backup of the partition agree, replacing the current MBR with the backed-up MBR. - View Dependent Claims (2, 3, 4)
-
-
5. A computer system, comprising:
-
at least one boot loader; at least one secondary storage storing at least a user operating system (UOS) and a service operating system (SOS); and at least one main memory, the boot loader being configured to execute a boot sequence at least in part by accessing a current master boot record (MBR) to load an operating system from the secondary storage into the main memory, the boot loader, at least in part in response to a boot interrupt signal, replacing the current MBR with a service MBR stored on the secondary storage only if a data structure listing backed-up MBRs is first determined to be valid, loading the SOS, replacing the service MBR with a previously backed-up MBR on the secondary storage, and then using the previously backed-up MBR to mount any unmounted partitions, wherein the previously backed-up MBR is one of plural previously backed-up MBRs listed in the data structure, the previously backed-up MBRs being stored on the secondary storage; in response to a determination that the data structure is not valid, testing at least one backed-up MBR by accessing a partition using a partition table of the backed-up MBR; determining whether the partition has a valid partition header partition boot record (PBR) to ensure that the partition is the partition indicated in the partition table; comparing data found in the partition to data in a most recent backup of the partition, and if at least the data found in the partition and the data in the most recent backup of the partition agree, replacing the current MBR with the backed-up MBR. - View Dependent Claims (6, 7, 8, 9, 10, 11)
-
-
12. A computer system, comprising:
-
means for replacing a virally infected current master boot record (MBR) with a service MBR stored in a hidden protected area (HPA) of a secondary storage but only if a data structure listing previously backed-up MBRs is first determined to be valid; means for mounting at least one partition into a main memory using the service MBR; means for overwriting the service MBR with a previously backed-up MBR; and means for using the previously backed-up MBR to mount at least one partition not mounted by using the service MBR, wherein the previously backed-up MBR is one of plural previously backed-up MBRs, the previously backed-up MBRs being stored on the secondary storage, a current MBR being backed up if the current MBR changes by overwriting an oldest one of the previously backed-up MBRs with the current MBR; in response to a determination that the data structure is not valid, testing at least one backed-up MBR by accessing a partition using a partition table of the backed-up MBR; determining whether the partition has a valid partition header partition boot record (PBR) to ensure that the partition is the partition indicated in the partition table; comparing data found in the partition to data in a most recent backup of the partition, and if at least the data found in the partition and the data in the most recent backup of the partition agree, replacing the current MBR with the backed-up MBR. - View Dependent Claims (13, 14)
-
Specification