Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Extended VMware Ubuntu root partition size     - Apache POI Excel Document Processing (Linux)

- Linux tmux tcpdump summary (Linux)

- TNS-03505 name could not be resolved (Database)

- Linux compiler installation Redis (Database)

- MySQL monitoring tool -Innotop (Database)

- Docker study notes (Server)

- How to use Monit to deploy a server to monitor the system (Server)

- Yii2 Advanced Version Copy New Project Problem Solved (Programming)

- Applications Linux leap second problem caused (Linux)

- OpenGL Programming Guide (8th edition of the original book) - compute shader (Programming)

- Linux Network Programming - raw socket Example: sending a UDP packet (Programming)

- Smack 4.1.x Upgrade Guide (Linux)

- HomeKit User Interface Guidelines (Linux)

- Apache2.4.7 make an error [exports.lo] Error 1 Solution (Server)

- Linux shell string interception and stitching (Linux)

- Ubuntu install Vendetta Online 14.04 (Linux)

- Three binary tree traversal (recursive, non-recursive traversal and Morris) (Programming)

- 10 important Linux ps command combat (Linux)

- Linux environment variable settings and save places (Linux)

- How to use SHA256 checksum files download (Linux)

 
         
  Extended VMware Ubuntu root partition size
     
  Add Date : 2018-11-21      
         
         
         
  Worry about creating a virtual machine hard disk capacity is too real disk space occupied by the General Assembly, the hard disk capacity is set very small, but to wait until the virtual machine installed system and then install other software, only to find the hard disk capacity is not enough. This need to find ways to expand Ubuntu root partition, Here I introduce such a method.

1. Modify the size of the hard disk

In WMware installation directory executable file named vmware-vdiskmanager.exe, open the console in the windows and into the WMware installation directory, use the following command (assuming my virtual machine files in E: \ VMware \ Ubuntu \ Ubuntu.vmdk):

vmware-vdiskmanager.exe -x 16Gb e: \ VMware \ Ubuntu \ Ubuntu.vmdk

Where: -x 16Gb hard disk represents the expansion tie to 16Gb, behind e: \ VMware \ Ubuntu \ Ubuntu.vmdk virtual machine files.

After this process is complete, open vmware, virtual machine running again, this time the size of the hard disk on the virtual machine display has changed.

The following information is displayed correctly when you run:

note:

1. If there are spaces in the path exists, use double quotation marks to enclose path.

2. The above process is carried out under the windows console.

3. The above process is required in the case of vmware closed.

2. Hard Disk

Use fdisk -l command to check the hard drive:

In this case the size of the hard disk has become 16GB (17.2GB), due to the new hard drive and no partitions, so the following does not appear in the following sda1, sda2, sda5 is possible to use a hard disk, or the total amount of the original 6G, now need to do is to partition the new hard disk. There is a software called gparted, can operate like Linux partition in Windows partitionmagic as we can at the official website to download the gparted-live-0.8.0-5.iso (http://nchc.dl.sourceforge.net/project/gparted /gparted-live-stable/0.8.0-5/gparted-live-0.8.0-5.iso) this file, and then load the CD-ROM drive and restart the VMware virtual machine, open the virtual machine in an instant press the ESC key so that VM BIOS boot from CD-ROM

Then select GParted Live (Default settings) In the following screen, click Enter:

 Then you can enter the following interface to partition:

Finally, in relation to partition the hard drive. We want to expand the size of the Ubuntu root partition, so you can transfer large will sda1. But swap partition behind sda1, sda1 tune does not move, you can delete the first swap, the large sda1 tune, to swap left with the memory space as large, then put this into such a big space swap partition. Finally, click Apply to restart a success. Then use fdisk -l command, you can see the Ubuntu root partition bigger
     
         
         
         
  More:      
 
- Swift notes - let you two hours to learn Swift (Programming)
- Some problems and countermeasures Linux system calls exist (Linux)
- Hibernate4 The Hello World (basic environmental structures) (Programming)
- HA-Federation-HDFS + Yarn cluster deployment (Server)
- How to build Mono 3.4.0 / 3.4.1 on Windows (Linux)
- PostgreSQL procedural language learning (Database)
- Install Xshell on Mac OS X (Linux)
- Linux system on a virtual machine to access the Internet (Linux)
- Python object-oriented programming (Programming)
- Linux automatically install service components and optimize the kernel parameters (Linux)
- RabbitMQ tutorial examples: the Hello RabbitMQ World Java realization (Linux)
- Java string intern constant pool resolution Introduction (Programming)
- Oracle data files deleted recover after physical (Database)
- B-tree - ideas and implementation of C language code (Programming)
- C ++ casts New Standard Comments (Programming)
- Configuring Proxy on a Unix terminal, accelerate Android Studio Construction (Linux)
- Justniffer installed on Ubuntu 15.04 (Linux)
- Ubuntu and derivatives installation Atom 0.104.0 (Linux)
- Install Git on CentOS (Linux)
- How to configure MariaDB replication in CentOS Linux (Database)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.