Score:0

How to remove msdos parition table label completely on Rocky Linux 8.7

hk flag

How to remove msdos partitions on Rocky Linux 8.7, while the command fdisk -l provides no partition table label, the command partprobe shows msdos label, which I want to remove

# fdisk -l /dev/nvme0n1
Disk /dev/nvme0n1: 477 GiB, 512110190592 bytes, 1000215216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

# partprobe -s /dev/nvme0n1
/dev/nvme0n1: msdos partitions
in flag
Why do you want to do this? there is nothing wrong with msdos partition table on a disk of this size.
Nikita Kipriyanov avatar
za flag
If this is not a boot disk and there is no data (or all data was backed up somewhere else), just create another partition table over it. Or `dd if=/dev/zero of=/dev/nvme0n1 bs=512 count=1` will zero first sector which contains MBR partition table and therefore it will be removed with nothing to replace it. Yet unclear why would you want to do that.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.