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 Partition in CentOS

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

Share

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

It is believed that many inexperienced people have no idea about how to create partition in CentOS. Therefore, this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

1. Disk partition

Basics:

Hard disk classification, MBR, disk partition, disk sector, track, sector

Create Partition under 2.Linux

Fdisk-l

Fdisk/dev/sda

Press m to view help

Press p to view partition information

Press n to create a new partition

Press e to select a new extended partition

Press p to create a new primary partition

Press w to write the changes to disk

Press Q to exit

Create an extended partition for the remaining space. The screenshot is as follows:

Create a new 5G logical partition. The screenshot is as follows:

After the modification is completed, use the ls / dev/sda* command to view the disk device and find that the changes have not been displayed. You need to click partprobe/dev/sda to notify the system to probe the kernel. The screenshot is as follows:

After reading the above, have you mastered how to create partitions in CentOS? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

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