I have this in my mind:
Hibernate to swap (once) and resume from hibernate (every time) by means of a new entry in bootloader config (resume=). The same data in swap (partition or compressed file) would be used (the same machine) for fast always fresh mode. Furthermore there aren't needed base modules (if copy2ram is used), but maybe should be used physical write protected pendrive with swap and nohd, noauto cheatcodes. Some settings (guest and root folders or desktop files) could be saved in other place (no pendrive) and loaded by paths.xzm (links) module after mounting disk.
Well, my questions:
1. Is this good way for fast booting (ca. 2 times faster for older machines)?
2. If yes can I do it more liberally (without physically protected pendrive) - how can I load data from disk and prevent at the same time swap (and partition with base modules) from changes (noswap doesn't work with resume cheatcode)?
Faster booting
-
- Contributor
- Posts: 669
- Joined: 26 Jun 2013, 14:03
- Distribution: x64 Openbox
- Location: against russian attacks
- Contact:
Faster booting
You have mind and feelings. Be wise and clever.
- fanthom
- Moderator Team
- Posts: 5618
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: Faster booting
interesting idea but i see one big disadvantage:
- you wont be able to run hibernated porteus on different PC as hardware differs and kernel is never initialized when waking up.
if you want to use this method on the same PC then it should work.
http://en.wikipedia.org/wiki/Swappiness
- you wont be able to run hibernated porteus on different PC as hardware differs and kernel is never initialized when waking up.
if you want to use this method on the same PC then it should work.
i think this is not possible although you could change 'swappiness' to reduce swap usage:how can I load data from disk and prevent at the same time swap (and partition with base modules) from changes (noswap doesn't work with resume cheatcode)?
http://en.wikipedia.org/wiki/Swappiness
Please add [Solved] to your thread title if the solution was found.