VMware virtual machines Increase disk space expansion operations in Linux

Source: Internet
Author: User

The Red Hat Enterprise Linux system installed with the Vmwareware virtual machine is running low on the remaining space, causing the software to not install properly. If you reinstall the system, you will need to reconfigure the installation configuration of your development environment and software. Through the online collection of information, combined with their own practice, summed up the following detailed steps to expand the hard disk space, I hope to help you.

(1) Open VMware, select the edit Virtual mache settings,utilities drop-down box to find expand such as </P>

(2) Expand the disk space to 50G, click Expand, then enter a longer expand process, after the completion of this is the new space has increased, but the Linux environment is not visible.

(3) Start Linux operating system in VMware Environment, add new partition, need root account identity.

3.1 "Fdisk-l" the largest partition is/dev/sda3, stating that the newly created partition will be SDA4

3.2 Enter "FDISK/DEV/SDA"

3.2.1 Command line prompt, enter "M"

3.2.2 Enter the command "n" to add a new partition.

3.2.3 Enter the command "P" to create the primary partition.

3.2.4 Input "Enter", select the default size, so that no wasted space

3.2.5 Enter "Return" and select the default start cylinder.

3.2.6 Enter "W" to keep the changes

3.3 Enter "reboot" to restart Linux, must be reboot, otherwise/DEV/SDA4 cannot be formatted.

3.4 At this point in the/dev/directory, you can see the new partition such as/dev/sda4

3.5 "MKFS.EXT2/DEV/SDA4" format

3.6 Creating the Disk4 directory under the root directory

3.7 "mount/dev/sda4/disk4/" mount the partition onto the/disk4/

3.8 in vim Modify/etc/fstab file, add "/dev/sda4/disk4 ext2 defaults 0 0" line, and save, realize boot auto mount.

At this point, the new increase in disk space capacity, can be reflected on the DISK4, and reboot automatically mount the partition, additional disk space to work.

If the current disk is not wide, you can use the method of increasing the disk, in the VMware main interface, select the "VMware" drop-down menu, select "Settings", "add" method to add a disk, followed by a similar operation, no longer repeat.

VMware virtual machines Increase disk space expansion operations in Linux

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.