User Tools

Site Tools


home:computing:linux:os_management:disk_management:tool_overview

[up]

tool overview

command line tools

looking up partition info

(sudo) fdisk /dev/sdb

opens a prompt:

m: help
p: print partition table
i: print info on a partition

manipulating partition table

(sudo) fdisk /dev/sdb

opens a prompt:

d: delete partition
n: add partition

creating file system (formatting)

First, create partition. That will create device, e.g. /dev/sdb1

Then use mkfs.TYPE, e.g.:

(sudo) mkfs.ext4 /dev/sdb1

graphical tools

  • gparted
  • Gnome Disks
    • menu: Applications > System Tools > Preferences > Disks
    • apt install gnome-disk-utility cryptsetup
home/computing/linux/os_management/disk_management/tool_overview.txt · Last modified: 16:44 02/02/2025 by acz

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki