Edit 2: Guide to hibernation dual boot I made: https://ubuntuforums.org/showthread.php?t=2334278&p=13532592#post13532592
I'm aware that similar questions have been asked here, but there seems to be mixed consensus on whether it is dangerous or not (for a shared partition), so I would like some insights in my current situation.
I mostly use Windows 7 as my primary system, but everything programming related I prefer Ubuntu (16.04 currently). Since I have many windows open for my programming related tasks, it is a bother to always open everything again, hence my interest in hibernating. My primary concern is about "Hibernating Ubuntu 16.04 --> Start up W7 --> Shutdown W7 --> resume Ubuntu".
- BIOS (not UEFI)
- SSD NTFS with Windows 7 (primary disk to boot)
- SSD ext4 with Ubuntu 16.04 (have to start Ubuntu through "boot options" in BIOS)
- HDD NTFS for file storage (access for both W7 and Ubuntu)
I didn't create a SWAP file for Ubuntu on install, so I followed this guide to make one: https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-16-04
I have 16GB of RAM and I only want to use this swap partition for Hibernation, so I created an 18 GB SWAP file in the root of my SSD ext4 and I put
EDIT 1: Swap file seems to not work for hibernation, so you'll need a swap partition: https://help.ubuntu.com/community/SwapFaq
I made a swap partition, see edit 2 at the top
- Is my HDD NTFS a shared partition? and my SSD NTFS? (since both can be accessed from Ubuntu)
- Do I risk any data corruption for "Hibernating Ubuntu 16.04 --> Start up W7 --> Shutdown W7 --> resume Ubuntu"?
- Do I risk any data corruption / boot problems if I hibernate W7 and Ubuntu in any combination? (W7 can't read the ext4 file system, so it should be safe right?)