Hello,
I have cloned my OS from HD to SSD and I did not create a swap partition.
I have 8gb Ram and a 60gb SSD, so i probably need no swap. I would like to have more space for OS and apps.
However, on boot it searches 30 secs for swap.
How can I disable this?
There is no entry for swap in fstab and I disabled the only service concerning swap: swap.target or something similar.
Regards d
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Disable search for swap
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Disable search for swap
Maybe the initramfs searches the swap for a resume image. By the way note that no swap = no hibernation.
Check in /etc/initramfs-tools/conf.d/resume. If it contains an identifier of the original swap device, remove it and rebuild the initramfs with
Check in /etc/initramfs-tools/conf.d/resume. If it contains an identifier of the original swap device, remove it and rebuild the initramfs with
Code: Select all
update-initramfs -u