My laptop is equipped with dual systems, WIN7 and Ubuntu11.04. Previously, Ubuntu only gave 25 GB. Now it is basically used up. When new software is installed or the system is updated, it is often prompted that the disk space is insufficient and the system is thoroughly cleaned up, for more information about how to clean up Ubuntu systems, see http://www.linuxidc.com/linux/2012-10/72813.htm. So I thought if I could draw a picture from Windows.
My laptop is equipped with dual systems, WIN7 and Ubuntu 11.04.
Previously, Ubuntu only gave 25 GB. Now it is basically used up. When new software is installed or the system is updated, it is often prompted that the disk space is insufficient and the system is thoroughly cleaned up, refer to my blog post "Ubuntu system more comprehensive cleaning" see http://www.linuxidc.com/Linux/2012-10/72813.htm, there is still no fundamental solution to the problem. So I figured out if I could add some space from Windows to Ubuntu, but Google did.
The idea is as follows: Create a partition from Windows, mount the new partition to/home/open, and restart. I tried it and it was easy to use.
1 df command to view the current disk usage
2. Back up the disk used in Windows 7, and format it for ubuntu.
3 mkfs Command Format Disk
My disk is/dev/sda8 in ubuntu and formatted as the linux ext4 file system, that is, the disk space device to be converted from win7 to ubuntu.
4. edit/etc/fstab to automatically mount the new device.
Mount/dev/sda8 to/home/open and add:
[Cpp] view plaincopyprint?
/Dev/sda8/home/open ext4 defaults 0 1
/Dev/sda8/home/open ext4 defaults 0 1
OK. You can restart it. It will be automatically mounted to/home/open.