Linux parted disk partition implementation steps analysis

Linux parted disk partition implementation steps analysis

Compared with fdisk, parted is less used and is mainly used for partitions larger than 2T.

1. Start partitioning

help is to view help information.

2. View disk information

You can see that the current disk has no partitions. You need to change the partition table type to gpt.

3. Change the partition table type to gpt

4. Create the first primary partition

Note: Because the disk is not big enough, we simulate it here. The unit of 480 is MB

5. Create logical partitions

Note: The logical partition here does not need to be created on the extended partition.

In the external partition command

parted /dev/sdb mklabel gpt

parted /dev/sdb mkpart primary 0 480

parted /dev/sdb mkpart logic 480 580

The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM.

You may also be interested in:
  • Analysis of the Principle and Method of Implementing Linux Disk Partition
  • An article to understand Linux disks and disk partitions
  • How to implement Linux disk mounting, partitioning, and capacity expansion operations
  • Linux system disk formatting and manually adding swap partition
  • Detailed explanation of Linux virtual machine root partition disk expansion space record
  • Linux disk partitioning practical examples (must read)
  • Detailed process of LINUX disk partitioning, formatting, mounting and uninstalling
  • How to use GPT partitioning on Linux disks larger than 2T

<<:  How to use fdisk to partition disk in Linux

>>:  5 MySQL GUI tools recommended to help you with database management

Recommend

Detailed explanation of how to write mysql not equal to null and equal to null

1. Table structure 2. Table data 3. The query tea...

JavaScript implements Tab bar switching effects

Here is a case that front-end developers must kno...

Common repair methods for MySQL master-slave replication disconnection

Table of contents 01 Problem Description 02 Solut...

How to transfer files between Docker container and local machine

To transfer files between the host and the contai...

How to create a stored procedure in MySQL and add records in a loop

This article uses an example to describe how to c...

Detailed explanation of the use of MySQL paradigm

1. Paradigm The English name of the paradigm is N...

How to view MySQL links and kill abnormal links

Preface: During database operation and maintenanc...

Overview of the definition of HTC components after IE5.0

Before the release of Microsoft IE 5.0, the bigges...

Understanding render in Vue scaffolding

In the vue scaffolding, we can see that in the ne...

Detailed explanation of MLSQL compile-time permission control example

Preface The simple understanding of MySQL permiss...