Manage disk partitions

Manage disk partitions in Linux — with the four heights of help laid out: do it now, make it easier for the next person to accept, work out the right move when you are stuck, and learn the pattern so it stops coming back.

4prompt heights
Open it in the interactive atlas →

The four heights

The same task, four distances: today's deadline, the next reviewer, the stuck moment, the pattern.

Execute — do the immediate task

+
I have a replacement disk to install this afternoon. Create a new partition table on /dev/sdb with…
I have a replacement disk to install this afternoon. Create a new partition table on /dev/sdb with a single primary ext4 partition using the whole disk, set it bootable if the host uses BIOS, format it, add it to LVM as pv if requested, update /etc/crypttab and /etc/fstab if the disk holds encrypted volumes, and verify the device shows correct size and filesystem UUIDs before handing back to ops. Do not touch /dev/sda.

Improve — make it easier to accept

+
Before I partition multiple machines, make the layout reviewer-friendly. Show the partition sizes…
Before I partition multiple machines, make the layout reviewer-friendly. Show the partition sizes and labels you propose for /dev/sdb, explain why each partition exists (boot, root, swap, data), surface any alignment or RAID considerations, and flag anything that could break existing backups or monitoring. Recommend the one change that minimizes risk during mass rollout.

Decide — diagnose the stuck moment

+
While prepping servers for a storage upgrade I mistakenly wrote a new partition table to the…

I accidentally wrote a new partition table to the wrong disk.

While prepping servers for a storage upgrade I mistakenly wrote a new partition table to the production boot disk instead of the spare. The machine still boots for now, but I fear I’ve corrupted metadata and could lose the install on the next reboot. I don’t know if the previous table is recoverable or if I should power off and image the disk. What is the most likely extent of damage, what reads can I do safely to assess recoverability, and what immediate actions preserve the option to recover the old table?

Become — change the pattern

+
We keep having one-off partitioning errors during maintenance windows that end up requiring…

Partitioning mistakes repeatedly force restores during maintenance.

We keep having one-off partitioning errors during maintenance windows that end up requiring restores and long outages. I want fewer human slips. Which three process changes or tools would most reduce accidental writes to wrong disks — such as standard device naming, preflashing disk labels, or mandatory peer checks — and which should I implement first to get the most protection fast?

Next to this one

Other operating system work people do in Linux.

Every task here came from the work, not from a feature list — which is why the prompts name what you want done and never the button that does it. The tool changes; the work does not.
Copyright © LLOS.ai · 2026 — original pedagogy, voice, and design — all rights reserved.

The rest of the map

Same library, five ways in.