Linux System Expansion Method summary
Believe that many friends have had such an experience, I would like to play a ubantu, did not expect to play for a long time but not accustomed to windows, but began to install the system only allocated a very small space, that should be how to expand our Ubantu it? Here I summarize several methods for you (tested under Ubantu only)
First, through the overall system migration
First: Go to Windows, right-click "This computer (computer)" and "Manage"-Computer Management (local)--storage--Disk Management (local)
--Find a larger partition right-click Compress and so on after the reboot into Ubantu
Second: After entering ubantu, download the partition management software sudo apt-get install gparted--> Open the software after the compressed partition is newly built EXT4
Again: Use the CP command to copy all Ubantu files to the new section sudo cp-ax//new partition path such as (sudo cp-ax//MEDIA/JAKE/60283963283938FC)
Explanation: sudo: Execute with root, CP copy-ax indicates that the file details are copied/is this ubantu root directory "/MEDIA/JAKE/60283963283938FC" Destination partition path
Modify work
After the copy is complete, you need to do some modification work. The system will mount some disks by default at startup, usually based on the UUID. If the system is migrated, the disk's UUID changes, and the configuration file does not change, an error will occur. The following is the modification of disks that are mounted by default at startup. Modify the UUID in/etc/fstab in the target partition, and the UUID View command is sudo blkid. For example, for etc/fstab files under the/mnt/ubuntu directory
Then go to Windows and use Diskgenius to clone the original Ubantu partition Cheng like a file (just in case, you can restore the partition and use it directly), then delete the original Ubantu partition directly. When you enter the system directly, you will
Problems (stuck on grub, there are other solutions on the web but it may not be common for everyone to have a different situation), here we use a common solution
Repair Boot
The first step: ready to start the Ubuntu USB flash drive, this does not have the words to burn one, with a soft disc through UltraISO burning A, a few minutes to fix, preferably with the same version of Ubuntu, I did not try to use other versions.
Soft Disc pass UltraISO v9.5.3.2901 Simplified Chinese version http://www.linuxidc.com/Linux/2012-11/74577.htm
The second step: restart, enter the USB flash drive, the system will ask you to install (installing) or trial (trying), you choose to try, after more than 10 seconds, you will appear familiar with the Ubuntu desktop.
Step three: Connect the network, because you will download the boot repair later.
Fourth step: Open Terminal, terminal shortcut key is Ctrl+alt+t
Input: sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
Enter, the terminal interface will be prompted message, or press ENTER, after the interface will have a lot of information on the interface scroll, wait more than 10 seconds to close the terminal.
Fifth step: Re-entry in terminal: sudo apt-get install-y boot-repair && Boot-repair
Then open Boot-repair.
Re-enter the system and you'll find that the system is as big as the space.
Ii. adoption of the combined zoning method
This method can only merge two adjacent, and only the back of the append to the front, the limitations are relatively large, here is not more introduction
Http://jingyan.baidu.com/article/0f5fb099f414556d8234ea5b.html
(Extended root Capacity method Rollup) migrating Linux systems to another partition or hard disk