This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2012-106235, filed on May 7, 2012, the entire contents of which are incorporated herein by reference.
The embodiments discussed herein are related to a method of starting performed by a computer and a computer apparatus.
When a computer is started, initialization such as an inspection and a setup of a device is performed by a basic input/output system (BIOS) to ensure normal operation of the computer. Moreover, the BIOS prepares a procedure for switching to a maintenance program for diagnosis and recovery of a device in anticipation of a malfunction in the computer. Processing performed by the BIOS, the processing including the initialization and the procedure for switching to the maintenance program, is performed in a similar manner at each start-up.
On the other hand, processing that may be omitted in a normal computer and processing that may be performed as posterior handling are also included in the initialization. Furthermore, switching to the maintenance program is not actually performed in most cases when the computer is started.
Moreover, the details of the initialization performed by the BIOS and the processing time differ depending on the type and the number of devices provided in the computer.
Japanese Laid-open Patent Publication No. 04-23036, International Publication Pamphlet No. WO 2009/016708, Japanese Laid-open Patent Publication No. 2006-277472, and Japanese Laid-open Patent Publication No. 2011-164847 are examples of related art.
According to an aspect of the invention, a method of starting performed by a computer is provided. The computer judges whether a start-up mode of the computer is a first mode or a second mode in accordance with a previous operating status of the computer when the computer is turned on. The computer performs first initializing one device or a plurality of devices included in the computer when the start-up mode is the first mode, and second initializing the one device or all or some of the plurality of devices in such a way that the second initializing is completed in a shorter amount of time than the time for the first initializing when the start-up mode is the second mode.
The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention, as claimed.
First Embodiment
A removable disk 121 may be inserted into the CD/DVD drive 119. Moreover, the USB port 125 may be connected to various kinds of devices (for example, a USB memory 127) having a USB terminal. Furthermore, the communication control section 123 connects to a network.
A program of an operating system (OS) is stored in the HDD 117. The program of the operating system is sometimes stored in, in addition to the HDD 117, the removable disk 121 that is inserted into the CD/DVD drive 119, the USB memory 127 that is connected to the USB port 125, or another system on a network that is connected via the communication control section 123. Moreover, each device also stores a program of a boot strap loader for loading a program of the operating system of the device into the RAM 111. The boot strap loader is sometimes formed of a primary loader and a secondary loader. In such a case, the primary loader loads the secondary loader and the secondary loader loads the operating system.
In this embodiment, start-up of the computer will be described.
When the computer is turned on, the BIOS stored in the flash ROM 109 of a mother board is started. That is, the CPU 103 sequentially reads the code of the BIOS from the flash ROM 109 and executes the code.
The configuration of the BIOS related to start-up of the computer will be described. In
The start-up mode storing section 203 stores a start-up mode. Specifically, the start-up mode storing section 203 is provided in a nonvolatile write area in the flash ROM 109. Therefore, the start-up mode stored in the start-up mode storing section 203 at the end of operation is held until next start-up. As a start-up mode, a normal mode corresponding to normal start-up or a high-speed mode in which start-up is completed in a shorter amount of time than the time for start-up in the normal mode is set.
The setting section 205 sets the start-up mode in the start-up mode storing section 203 to the normal mode in anticipation of an interruption of the operation of the computer.
The judging section 207 obtains the start-up mode stored in the start-up mode storing section 203 and judges whether start-up is performed in the normal mode or the high-speed mode.
The initializing section 209 initializes devices such as the display control section 105, the flash ROM 109, the RAM 111, the mouse 113, the keyboard 115, the HDD 117, the CD/DVD drive 119, the communication control section 123, and the USB port 125 which are included in the computer. Initialization includes operations such as an inspection and a setup of each hardware device and each driver. Moreover, setup operations include processing operation by software such as setting of an initial value and electrical or mechanical operation of the hardware device.
In normal initialization, common inspection and setup for ensuring normal operation of the device are performed. On the other hand, in high-speed initialization, an operation in which normal initialization is simplified by omitting part of the inspection and the setup of each hardware device and each driver or replacing part of the inspection and the setup of each hardware device and each driver with an alternative operation is performed. For example, in the high-speed initialization, the setup is ended when only an interface becomes operable without waiting for an electrical or mechanical setup of the hardware device. Alternatively, the setup may be regarded as being completed during an electrical or mechanical setup of the hardware device.
The high-speed initialization is implemented by, for example, a method by which the initializing section 209 omits part of a command for a hardware device or a driver or a method by which a hardware device or a driver prepares a command from which part of operation is omitted and the initializing section 209 issues the command to the hardware device or the driver.
The switching section 211 accepts a switching instruction for switching to a recovery utility program, the switching instruction given by the user's operation, at the time of start-up in the normal mode.
The maintenance section 213 performs maintenance processing. The maintenance processing includes setup processing, hardware diagnostic processing, recovery utility processing, and the like. The setup processing accepts a condition or the like related to the operation of the BIOS. For example, the setup processing accepts the priority of a device from which an operating system to be started is retrieved. The hardware diagnostic processing conducts a detailed inspection of each device. The recovery utility processing corrects a malfunction. A program of the maintenance processing, such as the recovery utility program, is stored in the HDD 117 and is allowed to be loaded into the RAM 111 when the program is executed.
The priority storing section 215 stores the priority of the above-described device set by the maintenance section 213.
The determining section 217 retrieves a boot strap loader that loads the operating system of a device in accordance with the priority of the above-described device, the priority stored in the priority storing section 215, and determines a device from which the operating system is to be loaded, that is, a boot device.
The loading section 219 loads, from the boot device, a boot strap loader for loading the operating system from the device determined by the determining section 217.
Next, in accordance with an example of
In accordance with an example of
In
Back in
If it is determined that there is no switching instruction in S405, the determining section 217 determines a boot device (S407). The determining section 217 searches each device for an operating system in accordance with the priority of the device stored in the priority storing section 215. When the determining section 217 finds an operating system in a device with a higher priority, the determining section 217 determines the device as a boot device.
The loading section 219 loads a boot strap loader from the boot device (S409). When the loading section 219 loads the boot strap loader, the BIOS 201 transfers control to the boot strap loader, goes back to
The boot strap loader loads a program of the operating system from the boot device and transfers control to the operating system. This completes the start-up of the computer.
On the other hand, if it is determined that there is a switching instruction in S405, the maintenance section 213 performs the above-described maintenance processing (S411). When the maintenance processing (S411) is ended, the BIOS 201 goes back to
This is the end of the description of the normal start-up processing (
Back in
If it is judged that the start-up mode is the high-speed mode, the setting section 205 sets the start-up mode to the normal mode (S307). By doing so, when the operation of the computer is interrupted before the operation is ended normally, the next start-up is performed in the normal mode.
Next, the BIOS 201 performs high-speed start-up processing (S309). In the high-speed start-up processing (S309), processing assuming that no malfunction has occurred in the computer is performed.
In
In
In
As described earlier, the high-speed initialization makes it possible to perform processing in a shorter amount of time by omitting part of the processing which is performed in the normal initialization. For example, even in a state in which the initialization of the hardware device is not completed, processing is performed by considering that the initialization is completed when the interface becomes operable. The high-speed initialization may be performed in the following manner: the hardware device or the driver prepares an initialization command in the high-speed mode in which part of initialization operation is omitted and the initializing section 209 issues the initialization command in the high-speed mode. Moreover, the initialization operation may be replaced with an alternative operation.
Back in
Next, an operation to set the start-up mode to the high-speed mode when the operation of the computer is ended normally will be described.
In
In
As described above, by setting the start-up mode to the high-speed mode when the operation is ended normally, start-up is performed at high speed when next operation is started.
Second Embodiment
In the embodiment described above, an example in which start-up is sped up by providing the high-speed mode has been described. In this embodiment, an example in which start-up is further sped up by providing a high-speed start-up mode in which a boot device is specified will be described.
In this embodiment, in addition to a normal mode, an HDD high-speed start-up mode, a CD/DVD high-speed start-up mode, a USB memory high-speed start-up mode, a network high-speed start-up mode, and a recovery utility high-speed start-up mode are provided.
The HDD high-speed start-up mode is a mode in which the HDD 117 is started at high speed as a boot device. The CD/DVD high-speed start-up mode is a mode in which the CD/DVD drive 119 is started at high speed as a boot device. The USB memory high-speed start-up mode is a mode in which the USB memory 127 is started at high speed as a boot device. The network high-speed start-up mode is a mode in which start-up is performed at high speed from an operating system image stored in another system on the network. The recovery utility high-speed start-up mode is a mode in which a program of recovery utility processing, the program stored in the HDD 117, is started at high speed.
In this embodiment, when the operation of the computer is ended, in place of the high-speed mode in the first embodiment, any one of the normal mode, the HDD high-speed start-up mode, the CD/DVD high-speed start-up mode, the USB memory high-speed start-up mode, the network high-speed start-up mode, and the recovery utility high-speed start-up mode, which is specified by the user, is set in the start-up mode storing section 203. As in the first embodiment, when the operation is interrupted, the start-up mode is the normal mode.
In
The mode setting program 1101 allows the user to select any one of the normal mode, the HDD high-speed start-up mode, the CD/DVD high-speed start-up mode, the USB memory high-speed start-up mode, the network high-speed start-up mode, and the recovery utility high-speed start-up mode as a start-up mode which is set when the operation is ended normally.
The set mode file 1103 stores the start-up mode selected by the user. The set mode file 1103 is provided in the HDD 117, for example.
The mode setting program 1101 makes the display device 107 display a screen that prompts setting of a start-up mode. In
When “START-UP IN HIGH-SPEED START-UP MODE” is not checked, this means that the user selects the normal mode.
When “START-UP IN HIGH-SPEED START-UP MODE” is checked, the user is then allowed to check any one of “START OS OF HDD AT HIGH SPEED”, “START OS OF CD/DVD AT HIGH SPEED”, “START OS OF USB MEMORY AT HIGH SPEED”, “PERFORM HIGH-SPEED START-UP FROM OS IMAGE ON NETWORK”, and “START RECOVERY UTILITY AT HIGH SPEED”.
When the user checks “START OS OF HDD AT HIGH SPEED”, this means that the user selects the HDD high-speed start-up mode. When the user checks “START OS OF CD/DVD AT HIGH SPEED”, this means that the user selects the CD/DVD high-speed start-up mode. When the user checks “START OS OF USB MEMORY AT HIGH SPEED”, this means that the user selects the USB memory high-speed start-up mode. When the user checks “PERFORM HIGH-SPEED START-UP FROM OS IMAGE ON NETWORK”, this means that the user selects the network high-speed start-up mode. When the user checks “START RECOVERY UTILITY AT HIGH SPEED”, this means that the user selects the recovery utility high-speed start-up mode. Then, the mode setting program 1101 makes the set mode file 1103 store the selected start-up mode.
The start-up mode change program 903 in this embodiment writes the start-up mode stored in the set mode file 1103 into the start-up mode storing section 203 when the operation of the computer is ended normally.
Upon receiving a shutdown notification from the operating system 901, the start-up mode change program 903 rewrites the start-up mode in the start-up mode storing section 203. In
The start-up mode change program 903 waits in the same manner as described earlier to receive a shutdown notification from the operating system 901 (S1001). Upon receiving a shutdown notification from the operating system 901, the start-up mode change program 903 reads the set mode file 1103 and obtains the start-up mode specified by the user (S1301). Then, the start-up mode change program 903 writes the obtained start-up mode into the start-up mode storing section 203 (S1303). In this way, the start-up mode change program 903 changes the start-up mode.
Next, an operation which is performed when the computer is started will be described. In
Furthermore, the judging section 207 judges whether or not the start-up mode is an HDD high-speed start-up mode (S1501). If the judging section 207 judges that the start-up mode is the HDD high-speed start-up mode, the setting section 205 sets the start-up mode to the normal mode (S1503), and the BIOS 201 performs HDD high-speed start-up processing (S1505). The reason why the start-up mode is set to the normal mode is the same as that of the first embodiment. The HDD high-speed start-up processing (S1505) will be described later by using
In addition, if the judging section 207 judges that the start-up mode is not the HDD high-speed start-up mode, the judging section 207 judges whether or not the start-up mode is a CD/DVD high-speed start-up mode (S1507). If the judging section 207 judges that the start-up mode is the CD/DVD high-speed start-up mode, the setting section 205 sets the start-up mode to the normal mode (S1509), and the BIOS 201 performs CD/DVD high-speed start-up processing (S1511). The CD/DVD high-speed start-up processing (S1511) will be described later by using
Furthermore, if the judging section 207 judges that the start-up mode is not the CD/DVD high-speed start-up mode, the judging section 207 judges whether or not the start-up mode is a USB memory high-speed start-up mode (S1513). If the judging section 207 judges that the start-up mode is the USB memory high-speed start-up mode, the setting section 205 sets the start-up mode to the normal mode (S1515), and the BIOS 201 performs USB memory high-speed start-up processing (S1517). The USB memory high-speed start-up processing (S1517) will be described later by using
In addition, if the judging section 207 judges that the start-up mode is not the USB memory high-speed start-up mode, the judging section 207 judges whether the start-up mode is a network high-speed start-up mode or a recovery utility high-speed start-up mode (S1519). If the judging section 207 judges that the start-up mode is the network high-speed start-up mode, the setting section 205 sets the start-up mode to the normal mode (S1521), and the BIOS 201 performs network high-speed start-up processing (S1523). The network high-speed start-up processing (S1523) will be described later by using
If the judging section 207 judges that the start-up mode is the recovery utility high-speed start-up mode, the setting section 205 sets the start-up mode to the normal mode (S1525), and the BIOS 201 performs recovery utility high-speed start-up processing (S1527). The recovery utility high-speed start-up processing (S1527) will be described later by using
The HDD high-speed start-up processing (S1505) will be described in detail. In
The initializing section 209 initializes the display control section 105 (S501), checks the memory (S503), and performs normal initialization of the HDD 117 (S509). Then, the loading section 219 loads a boot strap loader from the HDD 117 (S409) and transfers control to the boot strap loader. The boot strap loader loads a program of the operating system from the HDD 117.
The CD/DVD high-speed start-up processing (S1511) will be described in detail. In
The initializing section 209 initializes the display control section 105 (S501), checks the memory (S503), and performs normal initialization of the CD/DVD drive 119 (S511). Then, the loading section 219 loads a boot strap loader from the removable disk 121 inserted in the CD/DVD drive 119 (S409) and transfers control to the boot strap loader. The boot strap loader loads a program of the operating system from the removable disk 121 inserted in the CD/DVD drive 119.
The USB memory high-speed start-up processing (S1517) will be described in detail. In
The initializing section 209 initializes the display control section 105 (S501), checks the memory (S503), performs normal initialization of the USB port 125 (S513), and performs, when the USB memory 127 is connected to the USB port 125, normal initialization for accessing the USB memory 127 (S515). The loading section 219 loads a boot strap loader from the USB memory 127 connected to the USB port 125 (S409) and transfers control to the boot strap loader. The boot strap loader loads a program of the operating system from the USB memory 127 connected to the USB port 125.
The network high-speed start-up processing (S1523) will be described in detail. In
The initializing section 209 initializes the display control section 105 (S501), checks the memory (S503), and performs normal initialization of the communication control section 123 (S517). Then, the loading section 219 loads a boot strap loader from another system on the network (S409) and transfers control to the boot strap loader. The boot strap loader loads a program of the operating system from the operating system image.
The recovery utility high-speed start-up processing (S1527) will be described in detail. In
The initializing section 209 initializes the display control section 105 (S501) and checks the memory (S503), and the initializing section 209 performs normal initialization of the HDD 117 (S509). The maintenance section 213 loads a recovery utility program of the HDD 117. The recovery utility program thus loaded performs recovery utility processing (S2001). When the recovery utility processing is ended, the setting section 205 obtains the start-up mode from the set mode file 1103 (S1301) and changes the start-up mode in the start-up mode storing section 203 to the obtained start-up mode (S1303). Then, the BIOS 201 shuts down the computer (S2003).
Third Embodiment
In the second embodiment, the example in which initialization of some devices is omitted has been described. In this embodiment, an example in which initialization of some devices is simplified will be described.
In
The initializing section 209 initializes the display control section 105 (S501) and checks the memory (S503). Then, the initializing section 209 performs high-speed initialization of the mouse 113 (S801) and performs high-speed initialization of the keyboard 115 (S803). Furthermore, the initializing section 209 performs normal initialization of the HDD 117 (S509), performs high-speed initialization of the CD/DVD drive 119 (S805), performs high-speed initialization of the USB port 125 (S807), and performs, when the USB memory 127 is connected to the USB port 125, high-speed initialization for accessing the USB memory 127 (S809). In addition, the initializing section 209 also performs high-speed initialization of the communication control section 123 (S811). Then, the loading section 219 loads a boot strap loader from the HDD 117 (S409) and transfers control to the boot strap loader. The boot strap loader loads a program of the operating system from the HDD 117.
The initializing section 209 initializes the display control section 105 (S501) and checks the memory (S503). Then, the initializing section 209 performs high-speed initialization of the mouse 113 (S801) and performs high-speed initialization of the keyboard 115 (S803). Furthermore, the initializing section 209 performs high-speed initialization of the HDD 117 (S2201), performs normal initialization of the CD/DVD drive 119 (S511), performs high-speed initialization of the USB port 125 (S807), and performs, when the USB memory 127 is connected to the USB port 125, high-speed initialization for accessing the USB memory 127 (S809). In addition, the initializing section 209 also performs high-speed initialization of the communication control section 123 (S811). Then, the loading section 219 loads a boot strap loader from the removable disk 121 inserted in the CD/DVD drive 119 (S409) and transfers control to the boot strap loader. The boot strap loader loads a program of the operating system from the removable disk 121 inserted in the CD/DVD drive 119.
The initializing section 209 initializes the display control section 105 (S501) and checks the memory (S503). Then, the initializing section 209 performs high-speed initialization of the mouse 113 (S801) and performs high-speed initialization of the keyboard 115 (S803). Furthermore, the initializing section 209 performs high-speed initialization of the HDD 117 (S2201) and also performs high-speed initialization of the CD/DVD drive 119 (S805). The initializing section 209 performs normal initialization of the USB port 125 (S513) and performs, when the USB memory 127 is connected to the USB port 125, normal initialization for accessing the USB memory 127 (S515). In addition, the initializing section 209 also performs high-speed initialization of the communication control section 123 (S811). Then, the loading section 219 loads a boot strap loader from the USB memory 127 connected to the USB port 125 (S409) and transfers control to the boot strap loader. The boot strap loader loads a program of the operating system from the USB memory 127 connected to the USB port 125.
The initializing section 209 initializes the display control section 105 (S501) and checks the memory (S503). Then, the initializing section 209 performs high-speed initialization of the mouse 113 (S801) and performs high-speed initialization of the keyboard 115 (S803). Furthermore, the initializing section 209 performs high-speed initialization of the HDD 117 (S2201) and also performs high-speed initialization of the CD/DVD drive 119 (S805). The initializing section 209 performs high-speed initialization of the USB port 125 (S807) and performs, when the USB memory 127 is connected to the USB port 125, high-speed initialization for accessing the USB memory 127 (S809). The initializing section 209 performs normal initialization of the communication control section 123 (S517). Then, the loading section 219 loads a boot strap loader from another system on the network (S409) and transfers control to the boot strap loader. The boot strap loader loads a program of the operating system from the operating system image of the other system on the network.
The initializing section 209 initializes the display control section 105 (S501) and checks the memory (S503). Then, the initializing section 209 performs high-speed initialization of the mouse 113 (S801) and performs high-speed initialization of the keyboard 115 (S803). Furthermore, the initializing section 209 performs normal initialization of the HDD 117 (S509), performs high-speed initialization of the CD/DVD drive 119 (S805), performs high-speed initialization of the USB port 125 (S807), and performs, when the USB memory 127 is connected to the USB port 125, high-speed initialization for accessing the USB memory 127 (S809). In addition, the initializing section 209 also performs high-speed initialization of the communication control section 123 (S811). The maintenance section 213 loads a recovery utility program of the HDD 117. The loaded recovery utility program performs recovery utility processing (S2001). When the recovery utility processing is ended, the setting section 205 obtains the start-up mode from the set mode file 1103 (S1301) and changes the start-up mode in the start-up mode storing section 203 to the start-up mode thus obtained (S1303). Then, the BIOS 201 shuts down the computer (S2003).
Selection of a device whose initialization is to be omitted is not limited to the above-described example. Moreover, selection of a device whose simplified high-speed initialization is to be performed is also not limited to the above-described example. Furthermore, a combination of an omission of initialization and simplified high-speed initialization is also not limited to a particular combination.
Although the embodiments of the present technique have been described, the present technique is not limited to these embodiments. For example, the above-described functional block configuration does not necessarily correspond to an actual program module configuration.
Moreover, the configuration of each storage area described above is a mere example and each storage area does not necessarily have to have the above-described configuration. Furthermore, it is possible to change the order of processing in the processing method if this does not change the processing results. In addition, the processing may be performed in parallel.
A brief account of the embodiments described above is as follows.
The method of starting according to the first embodiment includes judging processing that judges whether the start-up mode of the computer is a first mode or a second mode in accordance with the previous operation status of the computer when the computer is turned on, first initialization processing that initializes one device or a plurality of devices included in the computer when the start-up mode is the first mode, and second initialization processing that initializes the one device or all or some of the plurality of devices in such a way that initialization is completed in a shorter amount of time than the time for the first initialization processing when the start-up mode is the second mode.
As a result, when the computer is turned on, the start-up mode is judged automatically before a mode switching operation is performed and first or second initialization is performed promptly. Moreover, the second mode makes it possible to perform high-speed start-up, and the first mode makes it possible to perform sufficient inspection and setup of the device.
Moreover, in the above-described judging processing, when the previous operation of the computer was ended normally, a judgment is made that the start-up mode is the second mode, and, when the previous operation of the computer was not ended normally, a judgment is made that the start-up mode is the first mode.
This makes it possible to perform high-speed start-up when the previous operation of the computer was ended normally. Since there is little likelihood of a malfunction in the computer when the previous operation was ended normally, it is assumed that an omission of the inspection and the setup of the device does not cause any inconvenience. On the other hand, since there is a likelihood of a malfunction in the computer when the previous operation of the computer was not ended normally, it is preferable to perform sufficient inspection and setup of the device.
Moreover, in the first initialization processing described above, a switching instruction for switching to the maintenance program may be accepted, and, in the second initialization processing, an acceptance of a switching instruction for switching to the maintenance program may be omitted.
This makes it possible to perform start-up at higher speed by omitting the time for waiting for a switching instruction for switching to the maintenance program in the second initialization processing while ensuring a switching procedure for switching to the maintenance program in the first initialization processing. In particular, when the device is broken down, the operation of the computer is often interrupted. Moreover, when the operation of the computer is unexpectedly interrupted due to a power failure or a lightning strike, the device is sometimes broken down due to the influence of voltage fluctuations or the like. In anticipation of a breakdown of the device when the previous operation of the computer is interrupted, providing a procedure for transition to the maintenance program that performs diagnosis and recovery is effective.
Moreover, in the second initialization processing described above, initialization of the one device that is initialized in the first initialization processing or some of the plurality of devices that are initialized in the first initialization processing may be omitted.
This makes it possible to perform start-up at higher speed by omitting initialization processing of some devices. In particular, in the second initialization processing when the previous operation was ended normally, it is possible to omit an inspection and a setup which are less important in the normal computer.
Furthermore, in the second initialization processing described above, initialization of at least one device of all or some of the devices may be completed in a shorter amount of time than the time for initialization of the at least one device in the first initialization processing.
This makes it possible to perform start-up at higher speed by simplifying the initialization processing of at least one device. In particular, in the second initialization processing when the previous operation was ended normally, it is possible to simplify an inspection and a setup which are less important in the normal computer.
A method of starting according to the second embodiment includes judging processing that judges whether the start-up mode of the computer is a first mode that starts a first operating system stored in a first device included in the computer or a second mode that starts a second operating system stored in a second device included in the computer, first initialization processing that initializes the first device when the start-up mode is the first mode, and second initialization processing that initializes the second device and omits initialization of the first device when the start-up mode is the second mode.
This makes it possible to perform start-up at higher speed by omitting initialization of the first device when an operating system is started from the second device in the second mode. That is, it is possible to start the computer more quickly by specifying a boot device based on the start-up mode and omitting initialization of a device other than the boot device.
A method of starting according to the third embodiment includes judging processing that judges whether the start-up mode of the computer is a first mode that starts a first operating system stored in a first device included in the computer or a second mode that starts a second operating system stored in a second device included in the computer, first initialization processing that initializes the first device when the start-up mode is the first mode, and second initialization processing that initializes the second device and initializes the first device in such a way that initialization is completed in a shorter amount of time than the time for initialization of the first device in the first initialization processing when the start-up mode is the second mode.
This makes it possible to perform start-up at higher speed by simplifying initialization of the first device when an operating system is started from the second device in the second mode. That is, it is possible to start the computer more quickly by specifying a boot device based on the start-up mode and simplifying initialization of a device other than the boot device.
Furthermore, loading processing that omits retrieval of a second loader program stored in the second device for loading the second operating system and loads a first loader program stored in the first device for loading the first operating system when the start-up mode is the first mode and omits retrieval of the first loader program and loads the second loader program when the start-up mode is the second mode may be included.
This makes it possible to perform start-up at much higher speed by omitting retrieval operation for a device other than the boot device.
Incidentally, a program for making the computer perform the processing by the methods described above is stored in a computer-readable storage medium or a storage device, such as the flash ROM 109. The start-up mode is stored in a nonvolatile storage area such as the flash ROM 109. It is to be noted that the intermediate processing results may be temporarily stored in a storage device such as the RAM 111.
All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although the embodiments of the present invention have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2012-106235 | May 2012 | JP | national |