Article Title: Introduction to Linux File System Command Fdisk. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Purpose: Observe the physical usage of the hard disk and separate the hard disk.
Usage:
1. Enter fdisk-l/dev/sda on the console to observe the physical usage of the hard disk.
2. Enter fdisk/dev/sda on the console to enter the split hard disk mode.
1. Enter m to display all commands listed.
2. Enter p to display hard disk segmentation.
3. Enter a to set the hard disk boot zone.
4. Enter n to set the new hard disk partition.
4.1. Enter the "e" hard drive as the [extended] partition (extend ).
4.2. Enter p hard drive as the [primary] partition (primary ).
5. Input t to change the partition property of the hard disk.
6. Enter d to delete the partition property of the hard disk.
7. Input q to the end and do not store it into the hard disk partition.
8. Enter w and write it to the hard disk partition.
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