Ubuntu hard disk space is insufficient when the VM is used: solution.

Source: Internet
Author: User
I learned about online materials and made an article on my own. 1. Close the VM and perform the following operations: Right-click the VM and select this.altsrcuploadsallimg1107220u21015b-0.jpg. 2. Click Add. Click Add --

I learned about online materials and made an article on my own.

1. In the virtual machine off status, perform the following operations:

Right-click-Virtual Machine-set an interface that appears

2. Click --Dd-- Gradually click -- next -- note that you need to click (2 GB) to remind that button. Click finish.

3. The software performs some operations. To enable the Virtual Machine and partition it, perform the following operations:

(A) root User Login (B) terminal input:Fdisk-L (c) fdisk/dev/sdb. After a while, you will be prompted with the input option: input m -- n --- p --- l --- w to save the input.

4. format the disk.

Enter at the terminal:Mkfs-TExT3/dev/sdb3

4. Mount the partition:

 

Manual mounting:

On the terminal, type mount/dev/sdb1/m.EdIa usually mounts the disk to media.

If you want to enable automatic mounting

Modify the/etc/fstab file and add the following lines:

/Dev/sdb1/media ext3 defaults, 0 1

Storage path and parameters after ext3 format

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.