On Wed, 2025-02-26 at 16:17 -0500, Robert Moskowitz wrote:
> Arg.  the Install did not default a swap partition so I forgot to work 
> it in when I divided the drive as I wanted...
> 
> I am using EXT4 for my / /boot /home partitions.  Just plain 
> partitioning.  Been doing it this way for lots of builds.
> 
> But this time, I missed setting aside 16Gb as a physical swap partition, 
> added to the memory swap.  This system only has 16Gb memory, so the 
> virtual swap starts out at 8Gb.
> 
> Since /dev/sdb4, /home is the last 800Gb with 500Gb unused, is there any 
> way to safely shrink this partition 16Gb and then allocate that as swap?

You don't need a swap partition. It's simple to create a swap file
('man mkswap'). In fact before I upgraded my RAM to 32GB I got by with
just zram (which is compressed and much faster than a hard drive), but
YMMV of course. If zram is enough, the only time you actually need swap
on secondary storage is if you want to hibernate (not suspend) your
system.

poc
-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to