[Virtual Machine Vmware_ubuntu] VMware Virtual machine Ubuntu increases hard disk space and Android4.1 source code download

Source: Internet
Author: User

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

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.