VmwareWorkstation increases hard disk space-Linux Enterprise Application-Linux server application information. The following is a detailed description. I installed Fedora9 on the Virtual Machine and allocated 12 GB. I thought it should be enough. I downloaded Qt a few days ago. The version is 4.4. After compiling for two hours, I ended up with an error. At that time, I remembered that I had done a Qt experiment in the Software Institute. At that time, I said that Qt compilation was very time-consuming and took a lot of space. I had to forget to compile the lowest version. If the disk space is sufficient, try to increase the space for the virtual machine. This is a very complex process, and there are also some tutorials at night. At that time, I also drew pictures based on the gourd. Yesterday, a colleague also encountered this problem. I had just done it, but I couldn't remember the specific operation at all. You should take notes on time when you have learned things. Otherwise, you will go back immediately after you have learned things.
1. Power Off the VM first. In the Virtual Machine Setting dialog box, click "Add" in the lower left corner and select "Hard Disk". Then, select "Create a new virtual disk" to allocate capacity, you can use other default configurations.
2. Start the Virtual Machine System, log on to the system as the root user, and use fdisk-l on the command line to check whether the new hard disk is identified. If the new hard disk is added with an IDE hard disk, you should see hdb, if it is a SCSI hard disk, it should be sdb.
Disk/dev/sdc: 1073 MB, 1073741824 bytes
255 heads, 63 sectors/track, 130 cylinders
Units = cylinders of 16065*512 = 8225280 bytes
Disk identifier: 0x00000000
Disk/dev/sdc doesn' t contain a valid partition table
Because I have already attached a hard disk, sdc is displayed here.
3. Use fdisk/dev/sdc and select "w" in the option that appears to write the Partition Table to the hard disk and exit. Then, use fdisk-l to view it and you will find:
Disk/dev/sdc: 1073 MB, 1073741824 bytes
255 heads, 63 sectors/track, 130 cylinders
Units = cylinders of 16065*512 = 8225280 bytes
Disk identifier: 0x5404b953
Device Boot Start End Blocks Id System
4. format it with The mkfs command, mkfs/dev/sdc
5. Run the mount command to mount it. mount-t ext2/dev/sdb/media
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