fdisk-parted

Manage MBR and GPT partition tables with fdisk, parted, and gdisk.

6|1|Updated Feb 16, 2026
One-click install
npx skills add https://github.com/L3DigitalNet/Claude-Code-Plugins --skill fdisk-parted
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fdisk-parted
Source: https://github.com/L3DigitalNet/Claude-Code-Plugins/tree/main/plugins/linux-sysadmin/skills/fdisk-parted
Command: npx skills add https://github.com/L3DigitalNet/Claude-Code-Plugins --skill fdisk-parted

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the complex and error-prone task of managing disk partition tables (MBR and GPT), ensuring data integrity and optimal disk utilization.

Core Features & Use Cases

  • Partition Table Management: Create, modify, and delete partitions using fdisk, parted, and gdisk.
  • Disk Layout Inspection: Analyze existing partition schemes for MBR and GPT.
  • Use Case: You need to set up a new 4TB drive for a server. Use this Skill to create a GPT partition table, then create a primary partition spanning the entire disk, ensuring it's properly aligned for SSD performance.

Quick Start

Use the fdisk-parted skill to list all partitions on the disk /dev/sda.

Frequently Asked Questions about fdisk-parted

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a GPT partition table on a new 4TB Linux drive?

To create a GPT partition table on a new 4TB Linux drive, you can use command-line utilities like fdisk, parted, or gdisk to initialize the disk and create partitions spanning the entire disk.

When do I need to use gdisk instead of fdisk for disk partitioning?

You need to use gdisk instead of fdisk for disk partitioning when managing GPT partition tables, as fdisk is traditionally associated with MBR and gdisk provides specific support for GPT layouts.

What's the best way to resize an existing Linux disk partition?

The best way to resize an existing Linux disk partition is by using parted or fdisk to manipulate the partition table, followed by executing filesystem resizing commands to adjust the storage boundaries.

How do I inspect an existing MBR or GPT disk layout in Linux?

To inspect an existing MBR or GPT disk layout in Linux, use command-line utilities like fdisk or parted to analyze and list the current partition schemes on the target block device.

Does parted support aligning partitions for SSD performance?

Yes, parted supports aligning partitions for SSD performance during the creation process, ensuring optimal disk utilization and preventing performance degradation from misaligned partition boundaries.