4 ms·
I think most of the boot process is initializing hardware, so I don't see how you avoid it.
by icebraining 9y ago
I think most of the boot process is initializing hardware, so I don't see how you avoid it.
- amelius 9y agoHow come recovering from hibernation is much faster then? My (perhaps overly simple) conclusion is that the boot process is doing stuff it doesn't need to do.
- shandor 9y agoBecause a hibernated machine is still powered on. So you're correct in a way, the "boot process" from hibernation does skip a lot of things. Problem is, you can't utilize those shortcuts when doing a completely cold boot. Like another commenter said, in that case most of the boot time is preparing hardware.
- mseebach 9y agoNo, a hibernated machine is powered off, you're thinking of standby. Hibernation dumps a memory image to disk which is then loaded on next boot. As laptop standby power modes has gotten much better, and memory sizes bigger, hibernation seems to have fallen out of fashion. Parent seems to confuse two different kinds of boot. The one discussed in the article concerns itself with getting the OS loaded and beginning to execute that. Traditionally, this is where booting ends. But you OS still needs to do a lot of work, starting services, loading widgets and helpers and Bonzi Buddy etc. It's perhaps debatable if this can still be considered part of the boot process, since the OS is loaded and executing user space code, but it's certainly part of the startup process. I believe this is the process parent is referring to.
- icebraining 9y agorecovering from hibernation is much faster then? Is it? Not in my experience running Debian. Although, hibernation does have the advantage for magnetic disks of being a single file that can be read sequentially, rather than a bunch of files scattered throughout the disk. But I believe certain tools can help with that, by profiling and optimizing those accesses at boot time.
- lkurusa 9y agoThis could be related to that the applications on the OS left running when you hibernated do not need to start from scratch.
- userbinator 9y agoThe boot process does hardware detection and configuration, while resuming from hibernate basically involves nothing more than writing the last-saved configuration back to the hardware. It's relying on the assumption that the hardware hasn't changed since it was last hibernated.
- amelius 9y ago> It's relying on the assumption that the hardware hasn't changed since it was last hibernated. Which is also true in 99% of cases when I boot.