Reboot

In computing, rebooting is the process by which a running computer system is restarted, either intentionally or unintentionally. Reboots can be either a cold reboot (alternatively known as a hard reboot) in which the power to the system is physically turned off and back on again (causing an initial boot of the machine); or a warm reboot (or soft reboot) in which the system restarts while still powered up. The term restart (as a system command) is used to refer to a reboot when the operating system closes all programs and finalizes all pending input and output operations before initiating a soft reboot.

## Contents

* 1 Terminology
* 1.1 Etymology
* 1.2 Cold versus warm reboot
* 1.3 Hard reboot
* 1.4 Restart
* 2 Causes
* 2.1 Deliberate
* 2.2 Power failure
* 2.3 Random reboot
* 3 Hibernation
* 4 Simulated reboot
* 5 Windows deviations and labeling criticism
* 6 See also
* 7 References

## Terminology

On some systems, IBM uses the term re-IPL for reboot and the term restart has a different meaning.

### Etymology

Early electronic computers (like the IBM 1401) had no operating system and little internal memory. The input was often a stack of punch cards or via a switch register. On systems with cards, the computer was initiated by pressing a start button that performed a single command - "read a card". This first card then instructed the machine to read more cards that eventually loaded a user program. This process was likened to an old saying, "picking yourself up by the bootstraps", referring to a horseman who lifts himself off the ground by pulling on the straps of his boots. This set of initiating punch cards was called "bootstrap cards".[citation needed] Thus a cold start was called booting the computer up. If the computer crashed, it was rebooted. The boot reference carried over to all subsequent types of computers.

### Cold versus warm reboot

"Cold boot" redirects here. For the attack, see Cold boot attack.

This article's factual accuracy may be compromised due to out-of-date information. The reason given is: The described differences between a cold and a warm reboot aren't universally applicable. Also, "BIOS" is not the firmware of a PC, it is just a long-obsolete API for such a firmware, and this API is usually no longer involved in the boot process.. Please update this article to reflect recent events or newly available information. (December 2023)

|

For IBM PC compatible computers, a cold boot is a boot process in which the computer starts from a powerless state, in which the system performs a complete power-on self-test (POST).[1][2][3][4] Both the operating system and third-party software can initiate a cold boot; the restart command in Windows 9x initiates a cold reboot, unless the Shift key is held.[1]: 509

A warm boot is initiated by the BIOS, either as a result of the Control-Alt-Delete key combination[1][2][3][4] or directly through BIOS interrupt INT 19h.[5] It may not perform a complete POST - for example, it may skip the memory test - and may not perform a POST at all.[1][2][4] Malware may prevent or subvert a warm boot by intercepting the Ctrl + Alt + Delete key combination and prevent it from reaching BIOS.[6] The Windows NT family of operating systems also does the same and reserves the key combination for its own use.[7][8]

Outside the domain of IBM PC compatible computers, the types of boot may not be as clear. According to Sue Loh of Windows CE Base Team, Windows CE devices support three types of boots: Warm, cold and clean.[9] A warm boot discards program memory. A cold boot additionally discards storage memory (also known as the "object store"), while a clean boot erases all forms of memory storage from the device. However, since these areas do not exist on all Windows CE devices, users are only concerned with two forms of reboot: one that resets the volatile memory and one that wipes the device clean and restores factory settings. For example, for a Windows Mobile 5.0 device, the former is a cold boot and the latter is a clean boot.[9]

### Hard reboot

A hard reboot means that the system is not shut down in an orderly manner, skipping file system synchronisation and other activities that would occur on an orderly shutdown. This can be achieved by either applying a reset, by cycling power, by issuing the `halt -q` command in most Unix-like systems, or by triggering a kernel panic.

Hard reboots are used in the cold boot attack.

### Restart

The term "restart" is used by the Microsoft Windows and Linux families of operating systems to denote an operating system-assisted reboot. In a restart, the operating system ensures that all pending I/O operations are gracefully ended before commencing a reboot.

## Causes

### Deliberate

Redundant power supplies in a computer system reduce the risk of an unexpected loss of power.

Users may deliberately initiate a reboot. Rationale for such action may include:

* Troubleshooting: Rebooting may be used by users, support staff or system administrators as a technique to work around bugs in software,[10] for example memory leaks or processes that hog resources to the detriment of the overall system, or to terminate malware. While this approach does not address the root cause of the issue, resetting a system back to a good, known state may allow it to be used again for some period until the issue next occurs.
* Switching operating systems: On a multi-boot system without a hypervisor, a reboot is required to switch between installed operating systems.
* Offensive: As stated earlier, components lose power during a cold reboot; therefore, components such as RAM that require power lose the data they hold. However, in a cold boot attack, special configurations may allow for part of the system state, like a RAM disk, to be preserved through the reboot.[11]

The means of performing a deliberate reboot also vary and may include:

* Manual, hardware-based: A power switch or reset button can cause the system to reboot.[2] Doing so, however, may cause the loss of all unsaved data.[12]
* Manual, software-based: Computer software and operating system can trigger a reboot as well; both Microsoft Windows and several Unix-like operating systems can be shut down from the command line[1]: 509 [13] or through the GUI.
* Automated: Software can be scheduled to run at a certain time and date; therefore, it is possible to schedule a reboot.[14]

### Power failure

Unexpected loss of power for any reason (including power outage, power supply failure or depletion of battery on a mobile device) forces the system user to perform a cold boot once the power is restored. Some BIOSes have an option to automatically boot the system after a power failure.[15][16] An uninterruptible power supply (UPS), backup battery or redundant power supply can prevent such circumstances.

### Random reboot

"Random reboot" is a non-technical term referring to an unintended (and often undesired) reboot following a system crash, whose root cause may not immediately be evident to the user. Such crashes may occur due to a multitude of software and hardware problems, such as triple faults. They are generally symptomatic of an error in ring 0 that is not trapped by an error handler in an operating system or a hardware-triggered non-maskable interrupt.

Systems may be configured to reboot automatically after a power failure, or a fatal system error or kernel panic. The method by which this is done varies depending on whether the reboot can be handled via software or must be handled at the firmware or hardware level. Operating systems in the Windows NT family (from Windows NT 3.1 through Windows 11) have an option to modify the behavior of the error handler so that a computer immediately restarts rather than displaying a Blue Screen of Death (BSOD) error message. This option is enabled by default in some editions.

## Hibernation

Main article: Hibernation (computing)

The introduction of advanced power management allowed operating systems greater control of hardware power management features. With Advanced Configuration and Power Interface (ACPI), newer operating systems are able to manage different power states and thereby sleep and/or hibernate. While hibernation also involves turning a system off then subsequently back on again, the operating system does not start from scratch, thereby differentiating this process from rebooting.

## Simulated reboot

A reboot may be simulated by software running on an operating system. For example: the Sysinternals BlueScreen utility, which is used for pranking; or some modes of the bsod XScreenSaver "hack", for entertainment (albeit possibly concerning at first glance). Malware may also simulate a reboot, and thereby deceive a computer user for some nefarious purpose.[6]

Microsoft App-V sequencing tool captures all the file system operations of an installer in order to create a virtualized software package for users. As part of the sequencing process, it will detect when an installer requires a reboot, interrupt the triggered reboot, and instead simulate the required reboot by restarting services and loading/unloading libraries.[17]

## Windows deviations and labeling criticism

Windows 8 to Windows 11 enable (by default) a hibernation-like "Fast Startup" (a.k.a. "Fast Boot") which can cause problems (including confusion) for users accustomed to turning off computers to (cold) reboot them.[18][19][20][21]

## See also

* Booting
* Cold start (computing)
* Local reboot
* Power cycling
* Reset (computing)

## References

1. ↑ 1.0 1.1 1.2 1.3 1.4 Jones, James G.; Landes, Craig; Tittel, Ed (2002). A+ Exam Cram 2 (Exam Cram 220-221, Exam Cram 220-222). Que Publishing. pp. 379–380, 509. ISBN 9780789728678. https://books.google.com/books?id=WtE9GN1hhvAC.
2. ↑ 2.0 2.1 2.2 2.3 Cooper, Jim (2002). Using MS-DOS 6.22. Que Publishing. pp. 24, 960, 964. ISBN 9780789725738. https://books.google.com/books?id=u7oN-5y7nGsC.
3. ↑ 3.0 3.1 Tulloch, Mitch; Tulloch, Ingrid (2002). Microsoft Encyclopedia of Networking (2nd ed.). Microsoft Press. p. 172. ISBN 0-7356-1378-8.
4. ↑ 4.0 4.1 4.2 Soper, Mark Edward (2004). Absolute Beginner's Guide to A+ Certification. Que Publishing. p. 188. ISBN 9780789730626. https://books.google.com/books?id=KHCRkX5d-gAC.
5. ↑ "Hardware Troubleshooting: Cold Booting Versus Warm Booting". Support. Microsoft. 7 July 2005. http://support.microsoft.com/kb/102228.
6. ↑ 6.0 6.1 Grimes, Roger (1 June 2001). "2". Malicious Mobile Code: Virus Protection for Windows. O'Reilly Media. p. 50. ISBN 9781565926820. https://books.google.com/books?id=GKDtVYJ0wesC&pg=PA50.
7. ↑ "Using CTRL+ALT+DEL key combination to open Windows Security opens Task Manager". Microsoft Support. Microsoft. 15 January 2006. http://support.microsoft.com/kb/281980.
8. ↑ Osterman, Larry (24 January 2005). "Why is Control-Alt-Delete the secure attention sequence (SAS)?". Larry Osterman's WebLog. Microsoft Learn. https://learn.microsoft.com/en-us/archive/blogs/larryosterman/why-is-control-alt-delete-the-secure-attention-sequence-sas.
9. ↑ 9.0 9.1 Loh, Sue (22 June 2005). "Boot Persistence Terminology". Windows CE Base Team Blog. Microsoft. http://blogs.msdn.com/b/ce_base/archive/2005/06/22/431699.aspx.
10. ↑ Debogue, Jean. "Did you reboot". WeDebugYou. http://www.wedebugyou.com/2012/07/did-you-reboot/.
11. ↑ Ken Freeze (28 October 1985), "Jram-3 Rivals Persyst Stretch In RAM Race of Add-On Boards", InfoWorld, https://books.google.com/books?id=fS8EAAAAMBAJ&pg=PA48
12. ↑ Shelly, Gary B.; Vermaat, Misty E. (2012). Enhanced Discovering Computers, Complete: Your Interactive Guide to the Digital World, 2013 Edition. Cengage Learning. p. 400. ISBN 9781133598312. https://books.google.com/books?id=GDwIOT1FiwkC.
13. ↑

* For Windows Command Line prompt: "shutdown". 2023-10-05. https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/shutdown.
* For PowerShell: "Stop-Computer". https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/stop-computer?view=powershell-7.4.
* For Darwin: `shutdown(8)` – Darwin and macOS System Manager's Manual
* For DragonFly BSD: `shutdown(8)` – DragonFly BSD System Maintenance and Operation Commands Manual
* For FreeBSD: `shutdown(8)` – FreeBSD System Manager's Manual
* For Linux: `shutdown(8)` – Linux Programmer's Manual – Administration and Privileged Commands
* For NetBSD: `shutdown(8)` – NetBSD System Manager's Manual
* For OpenBSD: `shutdown(8)` – OpenBSD System Manager's Manual
* For Solaris: `shutdown(8)` – Solaris 10 Reference Manual

14. ↑ Gary A. Donahue, Gary A. (2011). Network Warrior (2nd ed.). Sebastopol: O'Reilly Media. p. 698. ISBN 9781449309350.
15. ↑ "AsRock 775i65G User Manual". FTP server. p. 32. ftp://europe.asrock.com/manual/775i65G R3.0.pdf. [dead ftp link] (To view documents see Help:FTP)
16. ↑ "Supermicro C7Q67 User's Manual". FTP server. p. 69. ftp://ftp.supermicro.com/CDR-C7_1.02_for_Intel_C7_platform/MANUALS/C7Q67.pdf. [dead ftp link] (To view documents see Help:FTP)
17. ↑ "Microsoft App-V 4.6 SP1 Sequencing Guide". http://download.microsoft.com/download/f/7/8/f784a197-73be-48ff-83da-4102c05a6d44/app-v/app-v 4.6 service pack 1 sequencing guide.docx.
18. ↑ Walter Glenn (3 March 2016). "The Pros and Cons of Windows 10's "Fast Startup" Mode". https://www.howtogeek.com/243901/the-pros-and-cons-of-windows-10s-fast-startup-mode/.
19. ↑ Oliver Niehus (14 December 2012). "Windows 8: Fast Boot". https://learn.microsoft.com/en-us/archive/blogs/olivnie/windows-8-fast-boot.
20. ↑ "Distinguishing Fast Startup from Wake-from-Hibernation". 15 December 2021. https://learn.microsoft.com/en-us/windows-hardware/drivers/kernel/distinguishing-fast-startup-from-wake-from-hibernation.
21. ↑ "Delivering a great startup and shutdown experience". https://learn.microsoft.com/en-us/windows-hardware/test/weg/delivering-a-great-startup-and-shutdown-experience.

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Reboot. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Reboot&oldid=4299224"