View Full Version : [SOLVED] Where is the swap file?

April 30th, 2018, 08:25 PM
I used a live CD to install Lubuntu 18.04 on a 16-Gb flash drive. I will use it to run Lubuntu independent of any hard drive.

After the installation, Gparted showed there was just one partition spanning the entire flash drive.

Isn't there supposed to be a boot partition and a swap file partition?

April 30th, 2018, 09:07 PM
There is a swap file (not a partition) and it is in the top level of the only partition, /swapfile.

You can see it (location and size) with the command


May 1st, 2018, 06:00 AM
Dear Sudodus,

Many thanks from a grateful newbie.

May 1st, 2018, 06:07 AM
You are welcome :-)

Please click on Thread Tools at the top of the page and mark this thread as SOLVED