Use LPVM to modify the hard disk size allocated by Ubuntu Installation

Source: Internet
Author: User
Tags wubi
Many people may encounter this problem: it is convenient and safe to install Ubuntu with wubi. When I used ubuntu for the first time, I had no idea about the space allocation required by him. I gave him 5, 6 GB, and thought it should be enough. Result After several software upgrades, the allocated space was quickly used up. However, the space allocated by Wubi is actually a large file and cannot be expanded directly. This section describes how to easily reallocate the Ubuntu space installed by Wubi. Download the deb package of LPVM here.

Many people may encounter this problem: it is convenient and safe to install Ubuntu with wubi. When I used ubuntu for the first time, I had no idea about the space allocation required by him. I gave him 5, 6 GB, and thought it should be enough. Result After several software upgrades, the allocated space was quickly used up. However, the space allocated by Wubi is actually a large file and cannot be expanded directly. This section describes how to easily reallocate the Ubuntu space installed by Wubi.

Download the deb package of LPVM and install it directly in Ubuntu.
This software is mainly used to help Wubi users copy Ubuntu installed in Wubi to the entire hard disk partition or expand the size of Wubi allocation. Here we will mainly introduce the function of reallocation the size.
In fact, the principle of LPVM reallocation is very simple. In the partition where you install Wubi, he generates a new. disk file as required by the user, and then copies all the. disk Files used by the user's current Ubuntu to the new file.
Based on this, we can easily find several important notes:

  • The allocated space must be larger than the original Wubi space. Otherwise, the replication cannot be completed correctly.
  • You must have enough space in the partition where you install Wubi.
LPVM cannot be expanded directly on the original. disk file, but must be generated separately. If the original Wubi space is 5 GB, You Want To allocate it to 10 Gb, note that the partition where Wubi is installed must have more than 15 GB space to ensure the normal operation of LPVM.

The reason for focusing on the above points is that it seems that LPVM will not check these problems by itself. If it cannot meet these conditions, LPVM will still work, but the claimed. disk File is often faulty.


Next we will introduce the basic operations:

  • Download the deb package of LPVM and run and install it in Ubuntu. You can find it in the System Menu> System Tool> LPVM.
  • Run LPVM. The following window is displayed:



  • We need to re-allocate the size and select resize.
  • Enter the new size you want.
  • Then, wait for LPVM to generate and copy the file by itself.
  • Note that this process takes a long time... and his progress bar will not go forward normally, so you need a little patience.
  • The complete screen will pop up and you will be told to manually overwrite the original one with the new. disk File.
  • Restart to enter your Windows and find the directory where Wubi is installed. I am under D:/ubuntu.

A disks folder is found in the folder. There should be new. disk, swap. disk, and a new. disk. Cut the root. disk and back it up. Rename new. disk as root. disk. Restart Ubuntu.

Copyright Disclaimer: During reprinting, please use hyperlinks to indicate the original source and author information of the article and this statement
Http://apit.blogbus.com/logs/26934027.html

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.