You are not logged in.
Pages: 1
Is it possible to make ArchLinux always boot from hibernation image? Considering so many services starting up during boot, I think that could boost my boot time a lot.
Offline
The gain is actually not that great, since many of the time consuming processes like loading modules still need to be done from hibernation. I think compiling a static kernel with built-in modules will be more effective than always resuming from hibernation.
Having said that, for what you want you could check out Tuxonice, it features stuff like a kiosk-mode, which means that you always boot from a preset hibernation image. Tuxonice requires a custom kernel, but here are prebuilt kernels like kernel26-pf available in private repos.
ᶘ ᵒᴥᵒᶅ
Offline
Nice, thanks. Talking about built-in modules, I don't really need them, since the lag is not about the modules, but more about daemons like samba, cups, etc.
Offline
Nice, thanks. Talking about built-in modules, I don't really need them, since the lag is not about the modules, but more about daemons like samba, cups, etc.
Right, but those also need to be loaded into memory like with a normal boot. Suspending to ram would help more here, so you could also consider using that instead.
ᶘ ᵒᴥᵒᶅ
Offline
I don't know how it is implemented but I imagine that reading the hibernate image could be sequential instead of random reads like starting different daemons which requires loading different libs all at once so on magnetic disks it is possible that it is much faster.
฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz
Offline
Pages: 1