Ask Your Question

How set one partition as sawp (standar partition, no lvm)

asked 2018-04-01 17:23:36 -0500

christianbueno gravatar image

updated 2018-04-01 17:27:01 -0500

Hello pals . I had to delete the swap partition to resize my root partition /dev/sda5 , now I created a new swap partition, but How do I tell fedora that use it as swap?

/dev/sda6 is my new sawp partition

image description

image description

image description

edit retag flag offensive close merge delete


24GB swap, wow! Don't you think that's waste of space, especially since you have a lot of ram (16) and a not so large SSD. Did you consider using a swap file instead?

florian gravatar imageflorian ( 2018-04-01 20:52:40 -0500 )edit

Actually I will delete it and create another one on the sdb(1.8T hard drive)

christianbueno gravatar imagechristianbueno ( 2018-04-01 22:00:56 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-04-01 18:09:08 -0500

sideburns gravatar image

It's actually very simple. First, you need to edit /etc/fstab to replace the UUID of your old swap partition with that of the new one. After saving and exiting, sudo swapon -a will activate it.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-04-01 17:23:36 -0500

Seen: 53 times

Last updated: Apr 01 '18