So i was following this Gemini prompt (bad idea) to replace my Zram of 4 gigs to a Swap partition of 10 gigs so i could enable hibernation... But after a restart i ended up in good-ol emergency mode. Here are the steps i followed and some images. Would really appreciate some help here.
Gemini Prompt:
Here's how to switch from Zram to a swap partition of 10 GB on your Linux system:
1. Disable Zram (if currently active):
- Check if Zram is active with
swapon -s. If it shows a device like/dev/zram0, proceed to disable it. - Use the following command to disable Zram:
swapoff /dev/zram0
2. Create a Swap Partition:
- Identify a free disk using
fdisk -l. - Warning: Using
fdiskcan potentially damage your data if done incorrectly. Proceed with caution and consider backing up your important data before continuing. - Use
fdiskto create a new partition on the chosen disk. Refer to thefdiskman page (man fdisk) for detailed instructions. During partition creation, ensure you select the type of partition asLinux swap(usually code82). - Once the partition is created, format it for swap usage with the following command (replace
/dev/sdXwith your actual partition device name):
swapon /dev/sdX
: