A rebooting method carried out by a computer system including a multi-function printer, the multi-function printer including a main body and an operation panel, the main body including a processing apparatus including a timer, first processing circuitry, and first power supply control circuitry, and the operation panel including second power supply control circuitry, the rebooting method comprising:
- in the first power supply control circuitry, starting the timer for a first desired period of time in response to receipt of a communication error signal indicating a communication error between the operation panel and the processing apparatus;
- in the first processing circuitry, requesting the timer to extend the first desired period of time by an extension period of time, the extension period of time set based on a time to be taken for processing performed by the processing apparatus and an initial time set by the timer;
- and
- in the first power supply control circuitry, in response to the extended first desired period of time expiring before the receipt of a first power-off signal for starting a rebooting operation from the second power supply control circuitry, forcibly powering off the processing apparatus, wherein
- in the first power supply control circuitry, setting as the extended first desired period of time, a sum of at least the initial time set by the timer, a time to be taken by the processing apparatus to store log information, and a time to be taken by the processing apparatus to unmount a hard disk drive, in the timer.