Failed to recognize swap partition repair in Ubuntu

Source: Internet
Author: User
Q: After Ubuntu is installed, the partition is correctly configured. However, swap (swap partition) cannot be identified by the system, and swap partition cannot be used. As a result, the system performance cannot be realized. A: The solution is as follows #1. Install GPartedsudoapt-getinstallgparted #2. Open GParted and find the swap partition (the swap partition is usually very small, depending on the size you have divided ), then format the partition (right-click and format it as-& gt; linux-swap Q: After Ubuntu is installed, the partition is correctly configured. However, swap (swap partition) cannot be identified by the system and cannot be used. As a result, the system performance cannot be realized.



A: The solution is as follows:

#1. Install GParted

Sudo apt-get install gparted

#2. Open GParted, find the swap partition (the swap partition is usually very small, depending on the partition size), and format the partition.

(Right-click and choose format> linux-swap)

Then, click "Appley All Operations ".

#3. After completing the preceding operations, right-click the new swap partition, View "Information", and copy the UUID number.

#4. Enter the following command in the terminal:

Sudo gedit/etc/fstab

Copy the copied serial number to the end of UUID =,

Save the file changes.

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.