Ask Your Question

How can I safely hibernate my dual-booting computer with a shared partition?

asked 2015-05-13 12:31:42 -0500

lintamacar gravatar image

I am dual booting Windows 7 and Fedora 21. There is a big fat NTFS partition that is shared by both of them, which contains dropbox and everything. Fedora and Windows are both set to automatically mount this partition, mainly so that dropbox can sync and so that I can mostly access the same data no matter which OS I'm on.

I really like to hibernate my computer because you can save power over an extended period of time, you don't have to wait for everything to load up again, and you can just keep your programs open just the way they are. However, I learned the hard way that this can be risky business when you're dual booting with a shared partition.

When you tell an OS to hibernate, it saves the current session to disk and expects everything to be exactly the same the next time it wakes up. If I hibernate with one OS and then forget that I did that and boot into the other, the next time the hibernating OS wakes up it will read the shared data partition as corrupted because it has been modified.

How can I make it so that when I tell my laptop to hibernate from either Windows or Fedora, it will automatically boot into that OS then next time I turn it on? Or at least, how can I set a reminder or a flag of some kind when I've turned on my computer that one of my OSes is currently hibernating? Thanks ahead of time.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-05-13 14:25:48 -0500

florian gravatar image

You will have to unmount the shared drive before you go into hibernation (from Linux). No idea what to do when you want to hibernate from Windows. If it is about energy saving, maybe a stand-by instead of suspend to disk is fine (?).

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-05-13 12:31:42 -0500

Seen: 748 times

Last updated: May 13 '15