First, open the setting inside the VM inside VMware. Such as:
Enter the Setup screen:
Select Hard Disk and click Add below:
Click Next: Select Create a new virtual disk
Then select Next and choose SCSI for the hard drive type.
Continue next to set the hard disk size:
Continue: Specify hard disk files
This is the first to create a 20G hard drive, but Ubuntu does not recognize it. You have to format the hard disk, and then hang it on Ubuntu to tell him to launch the new partition on Mount.
Choose System/administration/disk Utility in Ubuntu
Go to the following interface, select the newly created hard drive, select the following create Partition (creating partition)
Take a name for your hard drive, click Create:
Finally, mount to the system:
Inside the command line:
Mount/dev/sdb1/home/android-t Ext4 where home/android is replaced with an empty folder you want to mount. So we find the Android folder, we will find that it has nearly 20G of space, mounted successfully.
At last:
Download android4.1 Source code:
1. Install, initialize, and configure repo (ensure that git and curl are installed successfully):
$ Curl Https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
$ chmod +x ~/bin/repo
2. Second, establish a branch
$ repo init-u https://android.googlesource.com/platform/manifest-b ANDROID-4.1.1_R1
3, fill in the user name and email
4. Synchronization:
$ repo Sync
[Virtual Machine Vmware_ubuntu] VMware Virtual machine Ubuntu increases hard disk space and Android4.1 source code download