VMWARE adds a hard disk to Ubuntu-general Linux technology-Linux technology and application information. The following is a detailed description. Day, we found that Ubuntu only allocated 4 GB space, even QT is not enough space to install.
Select the Ubuntu properties page, click the virtual machine in the menu, and set
Select Add and add a hard disk according to the wizard.
Start Ubuntu, open the terminal, and enter sudo mkfs. ext3/dev/sdb.
Create a directory named mkdir harddisk2 in the root directory.
Attach a hard drive sudo mount-t ext3/dev/sdb/harddisk2
After the installation is successful, double-click harddisk2 to enter the Directory and you will find that the remaining space is the space of the first 2nd hard disks mounted.
OK, continue to do my stuff.
On the Internet, edit/etc/fstab to automatically load data at startup.
I added this line as shown in the previous figure. After I quit and saved it, the top menu was missing.
/Dev/sdb ext3 defaults, errors = remount-ro 0 0
However, it will be normal after force restart .. If the heart is bad, don't try this.
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