Windows diskmgmt.msc equivalent in Linux
Provides a graphical interface for viewing disks, creating partitions, formatting volumes and managing mounts.
diskmgmt.msc
gparted
gparted
gparted
Overview
What this command does
Provides a graphical interface for viewing disks, creating partitions, formatting volumes and managing mounts.
GNOME Disks is convenient for routine drive tasks. GParted is stronger for partition resizing and offline maintenance.Practical tasks
Common use cases
Manage disks graphically
Provides a graphical interface for viewing disks, creating partitions, formatting volumes and managing mounts.
gnome-disks
Open GNOME Disks
sudo gparted
Open GParted with administrator privileges
lsblk -f
Inspect disks before making changes
Ready to run
Copyable Linux commands
Review paths, device names, package names and permissions before running any command.
gnome-disks
sudo gparted
lsblk -f
Walkthrough
Examples with explanations
gnome-disks # open the disk utility
sudo gparted # open the partition editor
lsblk -f # list disks and filesystems first
Reference
Common options and variations
| Command or option | Use |
|---|---|
gnome-disks | Open GNOME Disks |
sudo gparted | Open GParted with administrator privileges |
lsblk -f | Inspect disks before making changes |
Distro differences
Debian/Ubuntu vs Fedora vs Arch
This command is the same on Debian/Ubuntu, Fedora and Arch Linux when the relevant tool is installed.
| Distribution | Package manager / base | Equivalent command | Difference to notice |
|---|---|---|---|
| Debian/Ubuntu | same command | gparted |
Same command on this distribution. |
| Fedora | same command | gparted |
Same command on this distribution. |
| Arch | same command | gparted |
Same command on this distribution. |
Important
What to watch out for
Keep learning