(1) using the command
Df-h
View disk space usage
(2) Use the Usbinstaller when installing Ubuntu. Choose Try Ubuntu
Open GParted Partition Editor
First, shrink down some disk space from a larger disk.
Then expand the partition you want to add space to.
After determining the disk allocation situation
Edit--Apply all operations
See the partition of swap space, this is/DEV/SDA8
Restart your computer
If a swap partition is lost, you can see whether the swap partition is active (capacity is displayed) by using the "free-m" command in the terminal.
If not activated, the sudo mkswap/dev/sdax command (x is the number of the swap partition) can be activated.
The active UUID code is replaced with the UUID code of the original swap in the "/etc/fstab" file (which requires administrator privileges), and the mount can be activated automatically after rebooting.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.