Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to create disk Partition with Command in linux

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

How to use the command to create a disk partition in linux? In view of this problem, this article gives the corresponding analysis and answers, hoping to help more friends who want to solve this problem to find a more simple and feasible way.

The command to create a disk partition in linux is:

Fdisk disk

Disk partitioning method:

1. Enter root

2. Enter (this command will show all disks that are not partitioned)

Fdisk-l

3. Partition the sdb and enter the command:

Fdisk / dev/sdc

Means to partition the sdc disk, then type m to view help, and finally type p to see the partition of the disk.

Enter n to create a new partition.

5. According to the above figure prompt, enter p to create the primary partition, which will prompt you to create the ID number of the primary partition. Create up to 4 primary partitions per disk.

6. Enter 1 according to the prompt. Will help you create a / dev/sdc1 partition directory. At this point, you will be prompted for the start and end position of the partition. First cylinder represents the start position and last cylinder represents the cut-off position.

7. Finally, you can enter p to view the partition:

8. Enter w to save the changes and exit.

Linux on how to use the command to create disk partitions to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report