This question is similar to the one about resuming from hibernate in a dual boot PC, but i do not assume here that the two systems share the swap. Even though answers to these questions would probably be very similar, I think my question is a bit different.
As follow from this answer to my other question, and according to this document on kernel.org, between a hibernation and the subsequent resume of a system, no mounted partition should be modified.
This looks to me like a rather strict requirement for a dual boot configuration: if I want to have a partition writable by both systems (for example, for /home
), I should probably disable hibernation...
Has anybody found any workaround yet? For example, allowing the machine to only boot into the hibernated system after hibernation would be a perfect solution IMO.
mount -o remount,ro
your/home
before hibernation, andremount,rw
after I believe. This requires that no processes will actually have any files open for writing on it though. – Jun 05 '16 at 13:06