A brief tutorial on lossless Linux partition capacity adjustment

Source: Internet
Author: User
Tags gparted
Non-destructive adjustment of Linux partition capacity the simple tutorial is only to make the partition adjustment in Linux easier. if it involves partition adjustment in dual systems, especially the addition/deletion of partitions, it is a little more complicated. Gparted-LiveCD is recommended for www.2cto.com. I. Preparation 1 ,... non-destructive adjustment of Linux partition capacity the simple tutorial is only to make the partition adjustment in Linux easier. if it involves partition adjustment in dual systems, especially the addition/deletion of partitions, it is a little more complicated. Gparted-LiveCD is recommended for www.2cto.com. I. Preparation 1. download the latest gparted image file. 2. burn the gparted image file into a CD or press it on a USB flash drive to form LiveUSB. 3. lossless adjustment, but to ensure security (in case of power outages ?), It is recommended to back up important data to the mobile hard disk 4, in the BIOS, set the boot sequence to first drive boot (if LiveUSB is used, should be set to USB-HDD) II. adjust partition 1. Place the disc into the optical drive (if LiveUSB is used, plug in the USB flash disk), restart the computer 2. enter the gparted startup interface, directly select Defalt settings 3. press enter on the second page 4. then select the language, enter "26" and press enter (simplified Chinese, though incomplete in Chinese) 5. Next, you will be prompted to enter the X-Windows interface. press enter 6. when you enter gparted, you will find a similar interface similar to PQ, and the actual operation is the same, it also supports adjusting dead partitions. 7. click the partitions to free up space, right-click the menu and select "Resize/Move" 8. adjust the space to be released with a mouse hold or a number, to release the control bar on the left side of the partition header (enter the value of the first line), to release the control bar on the right side at the end of the partition (enter the value of the third line ), after the adjustment, click "Change size/Move" button 9. click the partition to expand the capacity. right-click the partition and choose "Resize/Move" 10 from the shortcut menu. follow the steps in step 1, now it's just about expanding the partition capacity. 11. click the "Edit" menu, select "Apply All Operations" 12. confirm again that you want to adjust the partition capacity, and gparted starts to adjust the partition, click "Close", click "gparted", and select "Quit" to Close the gparted window, double-click "Exit" in the upper left corner to Exit the gparted System 14. in the displayed window, select "Reboot" to restart the computer, when you exit, the system will prompt you to remove the disc. 3. possible problems may cause loss of swap partitions, you can run the "free-m" command on the terminal to check whether the swap partition is activated (whether to display the capacity). If not, activate the "sudo mkswap/dev/sdaX" command (X is the number of the swap partition, replace the activated UUID with the UUID code of the original swap partition in the "/etc/fstab" file (administrator privilege required). after restart, the system automatically activates the mount operation, please refer to the Ubuntu official forum for help. please refer to the following link for more information: Exercise caution when activating swap partitions and modifying fstab files. you must carefully check the modified values.
Related Article

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.