Updated to 18.04 and need help [duplicate]
up vote
0
down vote
favorite
This question already has an answer here:
How to automatically mount swap partition?
1 answer
I ran swapon --show
and its showing
/swapfile 4gb used O
/dev/sda6 partition 3.8gb used 0
My original swap partition was on sda5 and moved it to sda6 a while ago. How do I manage this? Do I remove the both and start over or delete one? Can someone please walk me through this
partitioning 18.04 swap
marked as duplicate by earthmeLon, karel, N0rbert, Eric Carvalho, Fabby yesterday
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
up vote
0
down vote
favorite
This question already has an answer here:
How to automatically mount swap partition?
1 answer
I ran swapon --show
and its showing
/swapfile 4gb used O
/dev/sda6 partition 3.8gb used 0
My original swap partition was on sda5 and moved it to sda6 a while ago. How do I manage this? Do I remove the both and start over or delete one? Can someone please walk me through this
partitioning 18.04 swap
marked as duplicate by earthmeLon, karel, N0rbert, Eric Carvalho, Fabby yesterday
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
1
After rebooting, your swap file becomes useless/cleaned automatically. You can create a new one, but you'll want to delete the old one due to security concerns. You need to adjust your/etc/fstab
to point to the new swapfile. You need to mount that partition to access the file. Alternatively, you can create a swap partition.
– earthmeLon
Nov 19 at 22:40
fstab is showing both swapfile and swap partition so its ok to just remove or comment out the first swap partition and then reboot correct?
– Idontknowyougetaway
Nov 19 at 23:05
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
This question already has an answer here:
How to automatically mount swap partition?
1 answer
I ran swapon --show
and its showing
/swapfile 4gb used O
/dev/sda6 partition 3.8gb used 0
My original swap partition was on sda5 and moved it to sda6 a while ago. How do I manage this? Do I remove the both and start over or delete one? Can someone please walk me through this
partitioning 18.04 swap
This question already has an answer here:
How to automatically mount swap partition?
1 answer
I ran swapon --show
and its showing
/swapfile 4gb used O
/dev/sda6 partition 3.8gb used 0
My original swap partition was on sda5 and moved it to sda6 a while ago. How do I manage this? Do I remove the both and start over or delete one? Can someone please walk me through this
This question already has an answer here:
How to automatically mount swap partition?
1 answer
partitioning 18.04 swap
partitioning 18.04 swap
edited Nov 19 at 22:52
waltinator
21.6k74169
21.6k74169
asked Nov 19 at 22:36
Idontknowyougetaway
14
14
marked as duplicate by earthmeLon, karel, N0rbert, Eric Carvalho, Fabby yesterday
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by earthmeLon, karel, N0rbert, Eric Carvalho, Fabby yesterday
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
1
After rebooting, your swap file becomes useless/cleaned automatically. You can create a new one, but you'll want to delete the old one due to security concerns. You need to adjust your/etc/fstab
to point to the new swapfile. You need to mount that partition to access the file. Alternatively, you can create a swap partition.
– earthmeLon
Nov 19 at 22:40
fstab is showing both swapfile and swap partition so its ok to just remove or comment out the first swap partition and then reboot correct?
– Idontknowyougetaway
Nov 19 at 23:05
add a comment |
1
After rebooting, your swap file becomes useless/cleaned automatically. You can create a new one, but you'll want to delete the old one due to security concerns. You need to adjust your/etc/fstab
to point to the new swapfile. You need to mount that partition to access the file. Alternatively, you can create a swap partition.
– earthmeLon
Nov 19 at 22:40
fstab is showing both swapfile and swap partition so its ok to just remove or comment out the first swap partition and then reboot correct?
– Idontknowyougetaway
Nov 19 at 23:05
1
1
After rebooting, your swap file becomes useless/cleaned automatically. You can create a new one, but you'll want to delete the old one due to security concerns. You need to adjust your
/etc/fstab
to point to the new swapfile. You need to mount that partition to access the file. Alternatively, you can create a swap partition.– earthmeLon
Nov 19 at 22:40
After rebooting, your swap file becomes useless/cleaned automatically. You can create a new one, but you'll want to delete the old one due to security concerns. You need to adjust your
/etc/fstab
to point to the new swapfile. You need to mount that partition to access the file. Alternatively, you can create a swap partition.– earthmeLon
Nov 19 at 22:40
fstab is showing both swapfile and swap partition so its ok to just remove or comment out the first swap partition and then reboot correct?
– Idontknowyougetaway
Nov 19 at 23:05
fstab is showing both swapfile and swap partition so its ok to just remove or comment out the first swap partition and then reboot correct?
– Idontknowyougetaway
Nov 19 at 23:05
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
In 18.04 there is no swap partition. It uses a swap file.
So unless you've made changes to the swap file, this is all you need to do.
Use gparted (sudo apt-get install gparted -y) to delete the swap partition and then resize your ext4 partion with the newly freed space.
The swap file doesn't use the partition so you can delete it without it affecting swap.
Then you can open 'System Monitor' to make sure your swap is on.
New contributor
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
In 18.04 there is no swap partition. It uses a swap file.
So unless you've made changes to the swap file, this is all you need to do.
Use gparted (sudo apt-get install gparted -y) to delete the swap partition and then resize your ext4 partion with the newly freed space.
The swap file doesn't use the partition so you can delete it without it affecting swap.
Then you can open 'System Monitor' to make sure your swap is on.
New contributor
add a comment |
up vote
1
down vote
In 18.04 there is no swap partition. It uses a swap file.
So unless you've made changes to the swap file, this is all you need to do.
Use gparted (sudo apt-get install gparted -y) to delete the swap partition and then resize your ext4 partion with the newly freed space.
The swap file doesn't use the partition so you can delete it without it affecting swap.
Then you can open 'System Monitor' to make sure your swap is on.
New contributor
add a comment |
up vote
1
down vote
up vote
1
down vote
In 18.04 there is no swap partition. It uses a swap file.
So unless you've made changes to the swap file, this is all you need to do.
Use gparted (sudo apt-get install gparted -y) to delete the swap partition and then resize your ext4 partion with the newly freed space.
The swap file doesn't use the partition so you can delete it without it affecting swap.
Then you can open 'System Monitor' to make sure your swap is on.
New contributor
In 18.04 there is no swap partition. It uses a swap file.
So unless you've made changes to the swap file, this is all you need to do.
Use gparted (sudo apt-get install gparted -y) to delete the swap partition and then resize your ext4 partion with the newly freed space.
The swap file doesn't use the partition so you can delete it without it affecting swap.
Then you can open 'System Monitor' to make sure your swap is on.
New contributor
New contributor
answered Nov 19 at 23:46
Better Ideas
113
113
New contributor
New contributor
add a comment |
add a comment |
1
After rebooting, your swap file becomes useless/cleaned automatically. You can create a new one, but you'll want to delete the old one due to security concerns. You need to adjust your
/etc/fstab
to point to the new swapfile. You need to mount that partition to access the file. Alternatively, you can create a swap partition.– earthmeLon
Nov 19 at 22:40
fstab is showing both swapfile and swap partition so its ok to just remove or comment out the first swap partition and then reboot correct?
– Idontknowyougetaway
Nov 19 at 23:05