This post will cover how to add a new disk, format it and then mount it under Linux.
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.
You may see like that:
That shows the
/dev/sdb is the disk i added before.
Then check the new disk.
You may see:
Add this line in the end of file.
All is done!