Extended Virtual Machine hard drive-linux environment: VMWare Workstation 8.0 and Linux system requirements: extended 20 GB size hard drive to 40 Gb size 1, Power Off Virtual Machine System and delete all Snapshot, (because the disk size can be expanded only after the unique node ). 2. Expand the Hard Disk size of the linux system under the Virtual Machine: Choose VM> Settings> Hard Disk> Utilities> Expand... -> set Maxmum disk size to the size of the extended hard disk (for example, change the size of the original 20 GB to 40 GB ). 3. Enable the Virtual Machine System and install the gparted tool (a hard disk management tool on a graphical interface): (1) install sudo apt-get install gparted directly (2) manually download the deb file and install: dpkg-I gparted_0.5.1-1ubuntu3_i386.deb, 4. Start the gparted tool and create and format the New Hard Disk: format as ext4: (1) sudo gparted enter the tool (2) select the hard disk space that is not used in gray (that is, the row marked by Unallocated and the size is about 20) (3) Select Pattion-> new. In the pop-up window, select file system Select EXT4, and click Add to Add. (4) Click the check mark on the gparted interface to perform all operations. A new hard disk (such as/dev/sda3) is added. 5. Mount the new hard disk to the specified directory. (1) create a directory such as/Disk2: sudo mkdir/Disk2 (2) mount the newly created hard disk to this directory: sudo mount/dev/sda3/Disk2 now you can access this directory for operations, you can use fd-h to check whether the disk size and mounting are successful. 6. Modify/etc/profile to mount the machine each time it is started: run gedit/etc/fstab to add the following command to the end of the file: # new disk was on/dev/sda3/dev/sda3/Disk2 ext4 defaults 0 0 restart the machine to check whether the hard disk is automatically mounted. Note: dpkg command details 1. "dpkg-I" <installation package name>: Install a "Debian" software package, such as the file you downloaded manually. 2. "dpkg-c" <installation package name>: lists the content of <installation package name>. 3. "dpkg-I" <installation package name>: extract package information from <installation package name>. 4. "dpkg-r" <installation package name>: remove an installed deb package. 5. "dpkg-P" <installation package name>: completely clear an installed package. Unlike "remove", "purge" also deletes all preparation files. 6. "dpkg-L" <installation package name>: lists all the files installed by <installation package name>. Also, check "dpkg-c" to check the content of A. deb file.