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 modify partition id by linux

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

Share

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

Editor to share with you how to modify the linux partition id, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to understand it!

LVM partition under linux is a content that must be mastered in learning linux, in which the ID type of partition is modified before lvm partition, and the common 83 ordinary partition is changed to 8e LVM logo. How should it be done?

Methods:

1. Enter fdisk / dev/dhb

Fdisk followed by device name (IDE hard drive is HD SICI\ STA hard drive is SD)

You can use fldisk-l to check the partitions of the current system.

2. View the partition type

Type P to print the disk partition information, for example, the ID type is 83

3. Modify the partition id

Enter the command t to modify the partition type, enter the partition to be modified and the zone type code to be modified. Lvm is 8e, as shown below.

4. Enter P to check the partition type information again to confirm

5. After confirming that there is no problem, enter W to save. (if an error occurs, select D to delete and repartition)

6. The modified partition needs to be formatted for normal use.

Common disk id serial number table, enter l to view.

7. Format partition

After modification, format the partition before mounting it. As shown in the picture

The above is all the contents of the article "how to modify the partition id by linux". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

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