Discover Disks and Create a GPT Partition

A new disk was attached. Prove which one it is, prove the root disk is not it, then lay down a GPT table and one aligned partition on exactly that disk and nothing else.

Skill labintermediate~30 minFree

What you'll do

  • ✓Identify disks by size, signatures and mount state rather than by assumed names
  • ✓Read a trusted inventory and refuse to act on a mismatch
  • ✓Create a GPT label and one aligned partition with parted
  • ✓Rescan and inspect a partition without formatting it

Lab outline

  1. 01Which disk
  2. 02Partition

Before you start

  • Permissions, umask, and Sticky Directories
  • Inspect IPv4, IPv6, Routes, and Sockets

Every lab runs on a real machine of your own in the browser — no installs, nothing to clean up — and checks your work automatically as you go.

← All Linux System Administration labs

Your first machine is
8 seconds away.

Learn by doing on real machines — and give every AI agent one of its own.

Free forever · No credit card · Cancel anytime

Discover Disks and Create a GPT Partition — Linux lab | Kube Labs