Peppermint OS Community Forum

Support => New Users => Topic started by: khbthphh on June 14, 2019, 06:57:16 am

Title: why swap so large when try peppermint os on live usb?(SOLVED)
Post by: khbthphh on June 14, 2019, 06:57:16 am
I try peppermint os (a distro bases on Lubuntu) on live usb. Check ram by the command

Code: [Select]
free -h

and the result is

(https://i.stack.imgur.com/TWwx2.png)

My usb is 4G, my ram is 4G.

Why swap is 5.7G? And does this happen in any other ubuntu based distros?

As I understand, trying ubuntu distros on live usb does not create swap on hard disk, so I think to 3 cases:

1. I already created a swap of 4G before (when I created dual boot), and this swap is used, but here swap is 5.7G

2. Another swap is created on the usb, but my usb only has 4G; so why swap is 5.7G?

3. a swap of 1.7 G is created on usb, and 5.7G is the result of combining he two swaps. But I check my usb is 2.5G free and the linux iso in it is about 1.3G, so cannot have a swap of 1.7G on my usb

UPDATE:: The answer is at https://unix.stackexchange.com/questions/524859/why-is-swap-so-large-when-i-try-peppermint-os-on-live-usb-the-usbs-size-is-sm (https://unix.stackexchange.com/questions/524859/why-is-swap-so-large-when-i-try-peppermint-os-on-live-usb-the-usbs-size-is-sm)
Title: Re: why swap so large when try peppermint os on live usb? (The usb's size is smaller
Post by: PCNetSpec on June 14, 2019, 08:17:11 am
The LiveUSB will be using a pre-existing swap partition (if one exists it will use it) .. a Live session makes ZERO changes to your hard drive unless you choose to install.
Code: [Select]
sudo fdisk -l
and
Code: [Select]
blkid
should tell you what you what your current partition scheme is