You are not logged in.

#1 2022-12-12 06:58

Kevin
Member
Registered: 2019-07-12
Posts: 9

Q4OS 4.10 no swappfile

Hello,

after installing Q4OS 4.10, i don't have a swappfile, not present in fstab.  I do have a swap partition.
Desktop is trinity.

In q4os 3.15 it workt perfectly.

thanks

Kevin

Offline

#2 2022-12-12 07:22

bin
Member
From: U.K.
Registered: 2016-01-28
Posts: 1,301

Re: Q4OS 4.10 no swappfile

During installation the Calamares partition tool allows you to define the file system for each partition. Your swap ptn could be sda2, 3, 4, 5 or whatever. If you told it to set that ptn as SWAP file system then that's all you need.

If the swap ptn is from a previous install it will not just be automatically picked up on a new install.

There's a world of difference between a swap file and swap partition.

Please run

inxi -SMCGxP

and copy/paste output here.

Offline

#3 2022-12-12 08:45

Kevin
Member
Registered: 2019-07-12
Posts: 9

Re: Q4OS 4.10 no swappfile

Hello,

results of  inxi -SMCGxP

quicky@quicky-pr111:~$ inxi -SMCGxP
System:
  Host: quicky-pr111 Kernel: 5.10.0-19-amd64 x86_64 bits: 64 compiler: gcc
  v: 10.2.1 Desktop: Trinity R14.0.12 Distro: Q4OS 4.10.2-n1
  base: Debian GNU/Linux 11 (bullseye)
Machine:
  Type: Desktop Mobo: Intel model: PR111 v: 1.0
  serial: <superuser required> BIOS: American Megatrends v: L1.03
  date: 10/21/2010
CPU:
  Info: Quad Core model: Intel Core2 Quad Q8200 bits: 64 type: MCP
  arch: Penryn rev: 7 L2 cache: 2 MiB
  flags: lm nx pae sse sse2 sse3 sse4_1 ssse3 bogomips: 18663
  Speed: 2000 MHz min/max: 2003/2336 MHz Core speeds (MHz): 1: 2000 2: 2000
  3: 2000 4: 2000
Graphics:
  Device-1: AMD Cedar [Radeon HD 5000/6000/7350/8350 Series]
  vendor: Micro-Star MSI driver: radeon v: kernel bus ID: 01:00.0
  Display: x11 server: X.Org 1.20.11 driver: loaded: ati,radeon
  unloaded: fbdev,modesetting,vesa resolution: 1280x1024~60Hz
  OpenGL: renderer: AMD CEDAR (DRM 2.50.0 / 5.10.0-19-amd64 LLVM 11.0.1)
  v: 3.3 Mesa 20.3.5 direct render: Yes
Partition:
  ID-1: / size: 31.21 GiB used: 8.5 GiB (27.3%) fs: ext4 dev: /dev/sda9
quicky@quicky-pr111:~$

grts,
Kevin

Offline

#4 2022-12-12 12:03

bin
Member
From: U.K.
Registered: 2016-01-28
Posts: 1,301

Re: Q4OS 4.10 no swappfile

So there's no swap partition defined.
Are you expecting to share one with the other OS on your drive?
Do you feel you need swap - haven't bothered with it for years on anything with 4gb ram or more.

Offline

#5 2022-12-12 12:47

Midas
Member
Registered: 2017-12-15
Posts: 168

Re: Q4OS 4.10 no swappfile

A swap partition isn't required anymore, it seems -- and for safety proofing, a swap file can be enough...

E.g., a set of instructions is at linuxize.com/post/how-to-add-swap-space-on-debian-10/, it should still work.

Offline

#6 2022-12-12 13:52

Kevin
Member
Registered: 2019-07-12
Posts: 9

Re: Q4OS 4.10 no swappfile

OK, thanks,

i have a swapfile of 4GiB,
the swapfile is used by Linux Mint 18.3 & Linux Mint 20.3 & Maegia 8 end before Q4OS 3.15 on the same HD without problems.

grts,
Kevin

Offline

#7 2022-12-12 17:37

Kevin
Member
Registered: 2019-07-12
Posts: 9

Re: Q4OS 4.10 no swappfile

Solution,

i did a blkid & added to fstab.

UUID=8678ec49-4e91-4074-809a-bf22b2c76b89 none        swap     sw   0   0

Offline

Board footer

Powered by FluxBB