This question already has an answer here:
- How to resize partitions? 4 answers
- OS: Ubuntu 16.04 LTS,
- Platform: 64bit,
- Root partition(/) size: 153.6 GB,
- Free space in root partition(/): 140.2 GB,
- Swap partition size: 6 gb,
- Any free/Unallocated space in disk: No,
- Dual Boot/Other OS: Yes, Windows 10,
- Main objective: To be able to hibernate ubuntu
I tried to hibernate my system but it failed. I read in some articles that I must allocate swap space equal to the size of RAM installed on my system to perform hibernate. I have no space left in my hard disk other than Ubuntu root partition so how can I shrink it and add 2 GB to swap to make it 8 GB.
Will it hibernate then? Is there any other way?