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

Promise encapsulation wx.request method

The previous article introduced the implementatio...

Use of MySQL truncate table statement

The Truncate table statement is used to delete/tr...

Solve the cross-domain problem of get and post requests of vue $http

Vue $http get and post request cross-domain probl...

React Native scaffolding basic usage detailed explanation

Build the project Execute the command line in the...

Tutorial on installing jdk1.8 on ubuntu14.04

1. Download jdk download address我下載的是jdk-8u221-li...

HTML form tag tutorial (1):

Forms are a major external form for implementing ...

JavaScript plugin encapsulation for table switching

This article shares the encapsulation code of Jav...

Implementing a table scrolling carousel effect through CSS animation

An application of CSS animation, with the same co...

js object to achieve data paging effect

This article example shares the specific code of ...

In-depth analysis of nginx+php-fpm service HTTP status code 502

One of our web projects has seen an increase in t...

WeChat applet canvas implements signature function

In the WeChat applet project, the development mod...

Ubuntu 19.10 enables ssh service (detailed process)

It took me more than an hour to open ssh in Ubunt...