Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

why ubuntu takes too long to startup after removing swap partition?

yesterday i decided to remove SWAP partition of my ubuntu 21.10 (which is dual booted with windows 11).

using GParted i removed swap partition.
now, ubuntu takes too long to boot.
it is installed on a ssd and before this operation it used to start in just some seconds but now it takes near one minutes to startup.

how can i find the reason and solve that?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Your system may desperately be looking for the swap partition. Edit /etc/fstab and remove (or comment out, i.e., place a # in front of) the line that does announce your swap partition.

Deleting swap space may not have been the smartest move. You may want to create a swapfile instead. Currently, default Ubuntu installations set up a swap file instead of a dedicated swap partition.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading