This post will cover how to add a new disk, format it and then mount it under Linux.

## Cause

I met the problem “no enough disk space” when compiling the Linux kernel at the first time, as the VMware says the recmmended size of Linux is 20GiB, and the real size which compiling needs is about 15GiB (Linux 4.4.0).

This step is quite easy. Just change the settings of the VMware machine.

## Check

You may see like that:

That shows the /dev/sdb is the disk i added before.

Then type:

## Mount

Then check the new disk.

You may see:

## Auto Mount when Boot

Add this line in the end of file.

All is done!