Ubuntu Modify Disk allocation space

Source: Internet
Author: User
Tags uuid
(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.


Resources:
Http://askubuntu.com/questions/140731/how-do-i-expand-the-boot-partition
Http://www.linuxidc.com/Linux/2013-06/85747.htm

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.