Thanks Tony!tony37 wrote: Sun Sep 27, 2020 1:17 pm If you don't want a swap partition (making a swap file later on should also be possible) then you simply remove the last line from fstab (that UUID doesn't exist anymore anyway).
More Gparted problems. [SOLVED]
Re: More Gparted problems. [SOLVED]
MX Linux Asus F552, 12GB RAM, 500GB WD SSD MX19.2
Dell Inspiron 7559 16GB RAM 1X 256GB SSD & 1TB SSD MX KDE 21.1 & Windows 11
Mini Tower PC 2X 256GB SSD MX KDE21.1
Dell Inspiron 7559 16GB RAM 1X 256GB SSD & 1TB SSD MX KDE 21.1 & Windows 11
Mini Tower PC 2X 256GB SSD MX KDE21.1
Re: More Gparted problems. [SOLVED]
It's possible that your system will still try to resume from swap, is there somewhere a "RESUME" variable in your /etc/default/grub file?
Re: More Gparted problems. [SOLVED]
No resume:
Code: Select all
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(unset PRETTY_NAME; (. /etc/lsb-release; echo ${PRETTY_NAME:?}) 2>/dev/null || echo Debian)"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
MX Linux Asus F552, 12GB RAM, 500GB WD SSD MX19.2
Dell Inspiron 7559 16GB RAM 1X 256GB SSD & 1TB SSD MX KDE 21.1 & Windows 11
Mini Tower PC 2X 256GB SSD MX KDE21.1
Dell Inspiron 7559 16GB RAM 1X 256GB SSD & 1TB SSD MX KDE 21.1 & Windows 11
Mini Tower PC 2X 256GB SSD MX KDE21.1
Re: More Gparted problems. [SOLVED]
Ok, then I think things should go fine. Let me know if booting does take a lot longer than expected, or if you'd get an error.
Re: More Gparted problems. [SOLVED]
Will do, thanks!
MX Linux Asus F552, 12GB RAM, 500GB WD SSD MX19.2
Dell Inspiron 7559 16GB RAM 1X 256GB SSD & 1TB SSD MX KDE 21.1 & Windows 11
Mini Tower PC 2X 256GB SSD MX KDE21.1
Dell Inspiron 7559 16GB RAM 1X 256GB SSD & 1TB SSD MX KDE 21.1 & Windows 11
Mini Tower PC 2X 256GB SSD MX KDE21.1
Re: More Gparted problems. [SOLVED]
Do you ever get close to using 12GB RAM? In that case it's best to make a swap file, following this guide worked for me. You can always remove it afterwards, there also isn't this gparted hassle involved.
Last edited by tony37 on Sun Sep 27, 2020 4:42 pm, edited 1 time in total.
Re: More Gparted problems. [SOLVED]
The link points back to this thread.
MX Linux Asus F552, 12GB RAM, 500GB WD SSD MX19.2
Dell Inspiron 7559 16GB RAM 1X 256GB SSD & 1TB SSD MX KDE 21.1 & Windows 11
Mini Tower PC 2X 256GB SSD MX KDE21.1
Dell Inspiron 7559 16GB RAM 1X 256GB SSD & 1TB SSD MX KDE 21.1 & Windows 11
Mini Tower PC 2X 256GB SSD MX KDE21.1
Re: More Gparted problems. [SOLVED]
oops, corrected
There's a lot of explanation there, if you just want instructions to create a 2GB swapfile:
and then add the following to /etc/fstab if you want to boot with it:
If you want, say a 4GB swapfile, then change count=2000000 in the first command to count=4000000
And to remove the swapfile: remove the entry from /etc/fstab (or put a '#' in front of it) and:
There's a lot of explanation there, if you just want instructions to create a 2GB swapfile:
Code: Select all
sudo dd if=/dev/zero of=/swapfile bs=1024 count=2000000
sudo mkswap /swapfile
sudo chmod 600 /swapfile
sudo swapon /swapfile
Code: Select all
/swapfile none swap sw 0 0
And to remove the swapfile: remove the entry from /etc/fstab (or put a '#' in front of it) and:
Code: Select all
sudo swapoff /swapfile
sudo rm /swapfile
Re: More Gparted problems. [SOLVED]
Thanks Tony, I really appreciate your help!
I find myself running out of RAM when I use VirtualBox, which wasn't as apparent before, so I'll add the 4GB swap.
I find myself running out of RAM when I use VirtualBox, which wasn't as apparent before, so I'll add the 4GB swap.
MX Linux Asus F552, 12GB RAM, 500GB WD SSD MX19.2
Dell Inspiron 7559 16GB RAM 1X 256GB SSD & 1TB SSD MX KDE 21.1 & Windows 11
Mini Tower PC 2X 256GB SSD MX KDE21.1
Dell Inspiron 7559 16GB RAM 1X 256GB SSD & 1TB SSD MX KDE 21.1 & Windows 11
Mini Tower PC 2X 256GB SSD MX KDE21.1
Re: More Gparted problems. [SOLVED]
Did it!
Code: Select all
$ swapon --show
NAME TYPE SIZE USED PRIO
/swapfile file 3.8G 0B -2
MX Linux Asus F552, 12GB RAM, 500GB WD SSD MX19.2
Dell Inspiron 7559 16GB RAM 1X 256GB SSD & 1TB SSD MX KDE 21.1 & Windows 11
Mini Tower PC 2X 256GB SSD MX KDE21.1
Dell Inspiron 7559 16GB RAM 1X 256GB SSD & 1TB SSD MX KDE 21.1 & Windows 11
Mini Tower PC 2X 256GB SSD MX KDE21.1