Linux system fdisk partition

Source: Internet
Author: User

The following operations are all based on a Linux virtual machine (CentOS6.6) on a Win7 64-bit system.

When the hard disk space of the Linux virtual machine is not enough, you can add the hard disk block manually, the process is as follows:

Right-click the virtual machine and tap the "ADD" button:

Select "Hard Disk" and click "Next":

Select "Create a new Virtual disk" and click "Next":

Select "SCSI" and click "Next":

To set the hard disk size, "store disk as a single file", click "Next":

Click "Finish" to add success:

Restart the Linux system.

Using the command fdisk-l, you can view the Linux system hard disk and its partitioning situation.

The new hard drive has no partitions, cannot be used, and requires manual partitioning:

Fdisk/dev/sdb: (assuming that the new drive block is /dev/sdb)

Related Command parameters:

M: Printing parameters Help information

P: Print the current partition table

N: Creating Partitions

E: Extended partition

P: Primary partition

Allocating sectors (memory allocations)

W: Save Exit

Q: Do not save exit

To adjust a partition:

Fdisk/dev/sdb

D: Delete Partition

Linux system fdisk partition

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.