Hard disk bootstrap redirection
First Claim
1. A method for booting a computer system from a selected disk, where the selected disk is one of two or more disks connected to the computer system, the method for booting comprising:
- reading into memory a first boot select code;
reading into memory master boot record (MBR) sector data from an MBR sector location of a primary disk of the computer system;
merging partition table information of the MBR sector data with the first boot select code to produce boot select MBR sector data;
writing the boot select MBR sector data into the MBR sector location to replace the MBR sector data;
loading a second boot select code; and
writing the second boot select code into one or more sectors of the primary disk, the boot select MBR sector data being configured to work with the second boot select code to provide a user the ability to select booting from any one of the disks connected to the computer system.
6 Assignments
0 Petitions
Accused Products
Abstract
A method for booting a computer system from a selected disk is provided. The selected disk is one of two or more disks that may be connected to the computer system. The method includes reading into memory a first boot select code and reading into memory master boot record (MBR) sector data from an MBR sector location of a primary disk of the computer system. The method then proceeds to merging partition table information of the MBR sector data with the first boot select code to produce boot select MBR sector data. Then, the method moves to where the boot select MBR sector data is written into the MBR sector location to replace the MBR sector data. The method now proceeds to read a second boot select code into memory and then write it to one or more sectors of the primary disk. The boot select MBR sector data is configured to work with the second boot select code to provide a user the ability to boot from any one of the disks connected to the computer system.
-
Citations
16 Claims
-
1. A method for booting a computer system from a selected disk, where the selected disk is one of two or more disks connected to the computer system, the method for booting comprising:
-
reading into memory a first boot select code;
reading into memory master boot record (MBR) sector data from an MBR sector location of a primary disk of the computer system;
merging partition table information of the MBR sector data with the first boot select code to produce boot select MBR sector data;
writing the boot select MBR sector data into the MBR sector location to replace the MBR sector data;
loading a second boot select code; and
writing the second boot select code into one or more sectors of the primary disk, the boot select MBR sector data being configured to work with the second boot select code to provide a user the ability to select booting from any one of the disks connected to the computer system. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
assigning each of the disks connected to the computer system a disk number, starting with the assignment of designating the primary disk with 80h;
loading the boot select MBR sector data from the primary disk into memory, the boot select MBR sector data being configured to load the second boot select code into memory;
executing the second boot select code.
-
-
5. A method for booting a computer system from a selected disk as recited in claim 4, wherein the executing of the select boot select code is configured to prompt the user to select a disk to boot from within a period of time.
-
6. A method for booting a computer system from a selected disk as recited in claim 5, further comprising:
-
if the user selects the primary disk, the method includes, installing an INT 13 handler without disk mapping to enable booting to the primary disk using the assigned disk number 80h.
-
-
7. A method for booting a computer system from a selected disk as recited in claim 5, further comprising:
-
if the user selects a disk other than the primary disk, the method includes, installing an INT 13 handler that is configured to perform disk number mapping.
-
-
8. A method for booting a computer system from a selected disk as recited in claim 7, wherein when disk number mapping is performed, the 80h disk number assigned to the primary disk is reassigned to the selected disk that is other than the primary disk.
-
9. A method for booting a computer system from a selected disk as recited in claim 8, wherein after the disk number mapping is performed, the computer system can be booted from the selected disk that is other than the primary disk.
-
10. A computer readable media containing program instructions for booting a computer system from a selected disk, where the selected disk is one of two or more disks connected to the computer system, the computer readable media comprising:
-
program instructions for reading into memory a first boot select code;
program instructions for reading into memory master boot record (MBR) sector data from an MBR sector location of a primary disk of the computer system;
program instructions for merging partition table information of the MBR sector data with the first boot select code to produce boot select MBR sector data;
program instructions for writing the boot select MBR sector data into the MBR sector location to replace the MBR sector data;
program instructions for loading a second boot select code; and
program instructions for writing the second boot select code into one or more sectors of the primary disk, the boot select MBR sector data being configured to work with the second boot select code to provide a user the ability to select booting from any one of the disks connected to the computer system. - View Dependent Claims (11, 12, 13, 14, 15, 16)
program instructions for assigning each of the disks connected to the computer system a disk number, starting with the assignment of designating the primary disk with 80h;
program instructions for loading the boot select MBR sector data from the primary disk into memory, the boot select MBR sector data being configured to load the second boot select code into memory; and
program instructions for executing the second boot select code.
-
-
13. A computer readable media containing program instructions for booting a computer system from a selected disk as recited in claim 12, wherein the executing of the select boot select code is configured to prompt the user to select a disk to boot from within a period of time.
-
14. A computer readable media containing program instructions for booting a computer system from a selected disk as recited in claim 13, further comprising:
-
if the user selects the primary disk, the computer readable media further includes, program instructions for installing an INT 13 handler without disk mapping to enable booting to the primary disk using the assigned disk number 80h.
-
-
15. A computer readable media containing program instructions for booting a computer system from a selected disk as recited in claim 13, further comprising:
-
if the user selects a disk other than the primary disk, the computer readable media further includes, program instructions for installing an INT 13 handler that is configured to perform disk number mapping.
-
-
16. A computer readable media containing program instructions for booting a computer system from a selected disk as recited in claim 15, wherein when disk number mapping is performed, the 80h disk number assigned to the primary disk is reassigned to the disk that is other than the primary disk.
Specification