10-10-2019, 02:42 AM
Well, using Gparted, I see that I have no swap partition.
And I also have no swap file, because
when I do a 'sudo swapon --show', it returns nothing,
and when I do a 'sudo free -h', it shows swap: 0B
So, after thinking about it, I believe that I know what happened.
I originally installed Peppermint on this drive and before installing
Peppermint, I created a swap partition of 12GB (I have 12GB of ram).
Then later, I installed MX Linux along side of Peppermint.
Then even later, I installed Linux Lite 4.4 along side of both of them.
Well, after using Linux Lite for a while, I decided to make it my daily
driver, so I deleted the MX Linux and Peppermint partitions and I also
deleted the swap partition.
The reason that I deleted the swap partition is because I had later read that Ubuntu 18.04 and
its derivatives (such as Peppermint & Lite) automatically create a swap file upon
installation.
But, I'm guessing that when I originally installed Peppermint,
that no swap file was created because
I had already created a swap partition. (I'm guessing here)
So, when I deleted the Peppermint, MX Linux, and the swap partitions
and added their space to the Linux Lite partition, that is why I now have
no swap file.
In fact, after I did that, Lite took several minutes to boot up. I found out
that the reason why is that it was looking for the swap partition that it
was using before I deleted it. And after I edited a file (don't remember which just now),
to stop Lite from trying to find that swap partition, it then booted normally.
So, I said all that to say this:
With 12GB of ram, do I even really need a swap file or partition ?
(I have never seen my ram usage even come close to 4GB)
If I should make a swap file, what commands do I need to do to
create it and what size should I make it ?
(I have 12GB ram and my drive is a 120GB SSD)
Thanks for any and all replies.
And I also have no swap file, because
when I do a 'sudo swapon --show', it returns nothing,
and when I do a 'sudo free -h', it shows swap: 0B
So, after thinking about it, I believe that I know what happened.
I originally installed Peppermint on this drive and before installing
Peppermint, I created a swap partition of 12GB (I have 12GB of ram).
Then later, I installed MX Linux along side of Peppermint.
Then even later, I installed Linux Lite 4.4 along side of both of them.
Well, after using Linux Lite for a while, I decided to make it my daily
driver, so I deleted the MX Linux and Peppermint partitions and I also
deleted the swap partition.
The reason that I deleted the swap partition is because I had later read that Ubuntu 18.04 and
its derivatives (such as Peppermint & Lite) automatically create a swap file upon
installation.
But, I'm guessing that when I originally installed Peppermint,
that no swap file was created because
I had already created a swap partition. (I'm guessing here)
So, when I deleted the Peppermint, MX Linux, and the swap partitions
and added their space to the Linux Lite partition, that is why I now have
no swap file.
In fact, after I did that, Lite took several minutes to boot up. I found out
that the reason why is that it was looking for the swap partition that it
was using before I deleted it. And after I edited a file (don't remember which just now),
to stop Lite from trying to find that swap partition, it then booted normally.
So, I said all that to say this:
With 12GB of ram, do I even really need a swap file or partition ?
(I have never seen my ram usage even come close to 4GB)
If I should make a swap file, what commands do I need to do to
create it and what size should I make it ?
(I have 12GB ram and my drive is a 120GB SSD)
Thanks for any and all replies.